Hello All,


I created a web servcice by adding my cusotm WSDL using the service archiver.

I generated the stubs using Code generator plugin :

When I tried the possitive scenario it is wroking fine but when I tried to get 
the exception back from the servcie it is thrwoing below exception :



org.apache.axis2.AxisFault: java.lang.NullPointerException

at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512)

at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)

at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)

at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)

at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

at ws.example.TestConverterStub.c2FConvertion(TestConverterStub.java:192)

at ws.example.TestClient.main(TestClient.java:19)

java.lang.NullPointerException





Could anyone please let me know why I am having this problem.



P.S. When I left the option for the archiver to generate the WSDL and created 
the stubs from the WSDL, exception scenario is working fine. Any help is very 
much appreciated.





Thanks in advance,

Hari



This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law. If you 
are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited.

v.E.1







Reply via email to