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

Re: how to handle exception in aix:outbound service

by antoine.borg :: Rate this Message:

Reply to Author | View in Thread

Ok - Does a service exception strategy work?

http://ricston.com/blog/?p=300

A

dp mallia wrote:

> Hello Antoine,
>
> If i enter wrong input then the axis:outbound-endpoint endpoint is throwing Exception. i tried to put exception handle but not able to catch that exception.
>
> ERROR 2009-05-29 15:40:16,602 [connector.VM.0.dispatcher.1] org.mule.service.DefaultServiceExceptionStrategy:
> ********************************************************************************
> Message               : Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=http://localhost:7030/Web/services/Update?method=updateInfo, connector=AxisConnector{this=14e0e90, 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=[], name='endpoint.http.localhost.7030.Web.services.Update.method.PARInfo', properties={style=rpc, soapMethods=merged: {qname{updateInfo:{http://localhost:7030/Web/services/Update}=[token;string;IN, username;string;IN, alertid;string;IN, action;string;IN, comment;string;IN, updateInfoResponse;string;OUT]}, soapAction=[methodNamespace][method], method=updatePARInfo}, transactionConfig=Transaction{factory=null, action=NONE, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=true, initialState=started, remoteSync=true, 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;@101e081
> 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:loalhost
>
>
> can u please suggest me the answer how i ll handle the exception
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>
>  
--

Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM

See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/

email: _antoine.borg_@... <mailto:antoine.borg@...> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>




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

    http://xircles.codehaus.org/manage_email


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