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

how to handle exception in aix:outbound service

by Omar slim :: Rate this Message:

Reply to Author | View in Thread

When i executing the web service using mule axis:outbound it is working fine for success scenarios. But for exception scenario i am getting below error

ERROR 2009-05-19 16:38:05,454 [http://connector.VM.0.dispatcher.1] org.mule.service.DefaultServiceExceptionStrategy:
********************************************************************************
Message : Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:8080/Web/services/webUpdate?method=updateInfo, connector=AxisConnector{this=78dc4c, started=true, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, serviceOverrides=null}, transformer=http://forums.mulesource.org/, name='endpoint.http.localhost.8080.Web.services.webUpdate.method.updateInfo', properties={style=rpc, soapMethods=merged: {qname{updateInfo:{[http://localhost:8080/Web/services/webUpdate]}=--token;string;IN, username;string;IN, alertid;string;IN, action;string;IN, comment;string;IN, return;qname{com.InvalidCredentialException:{[http://schemas.xmlsoap.org/soap/envelope/]}--}, soapAction=methodNamespace, method=updateInfo}, transactionConfig=Transaction{factory=null, action=NONE, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=true, initialState=started, remoteSync=false, remoteSyncTimeout=3000, endpointEncoding=UTF-8}. Message payload is of type: String[--
Type : org.mule.api.transport.DispatchException
Code : MULE_ERROR-42999
Fault Role : null
Fault Reason : com.InvalidCredentialException: Invalid user session/session has expired
Payload : [Ljava.lang.String;@ba8fce
Fault Dump : AxisFault
faultCode: {[http://schemas.xmlsoap.org/soap/envelope/]}Server.userException
faultSubcode:
faultString: com.InvalidCredentialException: Invalid user session/session has expired
faultActor:
faultNode:
faultDetail:
{[http://xml.apache.org/axis/]}hostname:localhost

Fault Node : null
Fault Code : {[http://schemas.xmlsoap.org/soap/envelope/]}Server.userException
JavaDoc : [http://mule.mulesource.org/docs/apidocs/org/mule/api/transport/DispatchException.html]
Fault Actor : null
Fault : com.InvalidCredentialException: Invalid user session/session has expired
********************************************************************************
Exception stack is:
1. com.InvalidCredentialException: Invalid user session/session has expired(Fault Role: null, Fault Reason: com.InvalidCredentialException: Invalid user session/session has expired, Fault Dump: AxisFault
faultCode: {[http://schemas.xmlsoap.org/soap/envelope/]}Server.userException
faultSubcode:
faultString: com.InvalidCredentialException: Invalid user session/session has expired
faultActor:
faultNode:
faultDetail:
{[http://xml.apache.org/axis/]}hostname:localhost
, Fault Node: null, Fault Code: {[http://schemas.xmlsoap.org/soap/envelope/]}Server.userException, Fault Actor: null, Fault: com.InvalidCredentialException: Invalid user session/session has expired, ) (org.apache.axis.AxisFault)
org.apache.axis.message.SOAPFaultBuilder:222 (null)
2. Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:8080/Web/services/webUpdate?method=updateInfo, connector=AxisConnector{this=78dc4c, started=true, initialised=true, name='connector.axis.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=axis, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, axis:http, axis:https, axis:servlet, axis:vm, axis:jms, axis:xmpp, axis:ssl, axis:tcp, axis:smtp, axis:smtps, axis:pop3, axis:pop3s, axis:imap, axis:imaps, serviceOverrides=null}, transformer=http://forums.mulesource.org/, name='endpoint.http.localhost.8080.Web.services.webUpdate.method.updateInfo', properties={style=rpc, soapMethods=merged: {qname{updatePARInfo:{[http://localhost:8080/Web/services/webUpdate]}=--token;string;IN, username;string;IN, alertid;string;IN, action;string;IN, comment;string;IN, return;qname{com.InvalidCredentialException:{[http://schemas.xmlsoap.org/soap/envelope/]}--}, soapAction=methodNamespace, method=updateInfo}, transactionConfig=Transaction{factory=null, action=NONE, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=true, initialState=started, remoteSync=false, remoteSyncTimeout=3000, endpointEncoding=UTF-8}. Message payload is of type: String[-- (org.mule.api.transport.DispatchException)
org.mule.transport.AbstractMessageDispatcher:188 ([http://mule.mulesource.org/docs/apidocs/org/mule/api/transport/DispatchException.html])

when i execute below mule code iam getting the above errors
<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>

can any body suggest the answer, how to handle exception in aix: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