M
muzzybrain
Is there any way to invoke axis handler after web service operation
rises an exception? whenever I invoke web service it goes through the
handler as long as the service does not rise exception. if it does
throw, the handler is omitted.
web service is defined as follows
<service name="zonk" provider="java:RPC">
<parameter name="wsdlServicePort" value="zonk"/>
<parameter name="className"
value="zonk.example.ZonkSoapBindingSkeleton"/>
<parameter name="typeMappingVersion" value="1.2"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="wsdlServiceElement" value="MyServiceService"/>
<parameter name="wsdlTargetNamespace" value="urn:MyService"/>
<parameter name="wsdlPortType" value="MyService"/>
<parameter name="scope" value="Session"/>
<parameter name="schemaUnqualified" value="urn:MyService"/>
<typeMapping
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
qname="ns9MSException"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:zonk.example.DMSException" xmlns:ns9="urn:MyService"/>
<responseFlow>
<handler name="monitorHandler" type="java:monitor.MonitorHandler">
</handler>
</responseFlow>
</service>
rises an exception? whenever I invoke web service it goes through the
handler as long as the service does not rise exception. if it does
throw, the handler is omitted.
web service is defined as follows
<service name="zonk" provider="java:RPC">
<parameter name="wsdlServicePort" value="zonk"/>
<parameter name="className"
value="zonk.example.ZonkSoapBindingSkeleton"/>
<parameter name="typeMappingVersion" value="1.2"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="wsdlServiceElement" value="MyServiceService"/>
<parameter name="wsdlTargetNamespace" value="urn:MyService"/>
<parameter name="wsdlPortType" value="MyService"/>
<parameter name="scope" value="Session"/>
<parameter name="schemaUnqualified" value="urn:MyService"/>
<typeMapping
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
qname="ns9MSException"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:zonk.example.DMSException" xmlns:ns9="urn:MyService"/>
<responseFlow>
<handler name="monitorHandler" type="java:monitor.MonitorHandler">
</handler>
</responseFlow>
</service>