axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From satyapriya sahoo <>
Subject Re: Accessing faultstring in Axis2 client
Date Thu, 05 Jun 2014 06:37:03 GMT

Hope bellow points will help you to solve your Problem.

You can process in 3 ways.

1) IN your client code you need an catch block for AxisFault and U need to
retrieve the message from that exception
  //Client code
}catch(AxisFault af){
         String faultMsg =  af.getMessage();
         System.out.println("FaultString :: "+faultMsg  );

2) If it is coming as a string, then you can do some String operation.

3) You can also take the help of dom parser or sax parse to retrieve the
specific value, because it is coming as a xml format.


View raw message