« Return to Thread: how to handle exception in aix:outbound service

Re: how to handle exception in aix:outbound service

by portia elizabeth :: Rate this Message:

Reply to Author | View in Thread

i tried must not able to catch the exception. can u help me how to define the exception block for below code.

<service name="expservice">
<inbound>
<stdio:inbound-endpoint system="IN"/>
</inbound>
<outbound>
<forwarding-catch-all-strategy>
 


<vm:outbound-endpoint path="caseCompletionService" />



 


</forwarding-catch-all-strategy>
<static-recipient-list-router>



 


<vm:outbound-endpoint path="errorHandler"></vm:outbound-endpoint>



 


<payload-type-filter  expectedType="java.lang.Exception" />



 


</static-recipient-list-router>
</outbound>
<async-reply>
<inbound-endpoint address="vm://ProcessAlert-reply"/>



 


<single-async-reply-router/>        
</async-reply>

</service>

<service name="caseCompletion">
<inbound>



 


<vm:inbound-endpoint path="caseCompletionService" synchronous="true"/>
</inbound>
<outbound>
<outbound-pass-through-router>



 


<outbound-endpoint ref="esbShowCaseProcess"/>
</outbound-pass-through-router>
</outbound>
</service>



 


 



<service name="fromBPM">
<inbound>



 


<inbound-endpoint ref="esbShowCaseProcess"  synchronous="true" />
</inbound>
<outbound>
<outbound-pass-through-router>
<outbound-endpoint address="vm://openServiceCall"/>



 


<reply-to address="vm://ProcessAlert-reply" />
</outbound-pass-through-router>

</outbound>
</service>

<service name="openServiceCall">

<inbound>
<inbound-endpoint address="vm://openServiceCall" transformer-refs="StringToObjectArray"
synchronous="true" />
</inbound>

<outbound>
<outbound-pass-through-router>
<axis:outbound-endpoint address="http://localhost:8080/Web/services/webUpdate?method=updateInfo"
style="RPC" responseTransformer-refs="ToString"
soapAction="methodNamespacemethod" synchronous="true">
<axis:soap-method method="qname{updateInfo:{[http://localhost:8080/Web/services/webUpdate]}">
<axis:soap-parameter parameter="token" type="string" mode="IN"/>
<axis:soap-parameter parameter="username" type="string" mode="IN"/>
<axis:soap-parameter parameter="alertid" type="string" mode="IN"/>
<axis:soap-parameter parameter="action" type="string" mode="IN"/>
<axis:soap-parameter parameter="comment" type="string" mode="IN"/>
<axis:soap-parameter parameter="updateInfoResponse" type="string" mode="OUT"/>
</axis:soap-method>
</axis:outbound-endpoint>
</outbound-pass-through-router>
</outbound>
</service>




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: how to handle exception in aix:outbound service