_returnMessageContext is being set to null

Ivan Furdi <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Hi,

can someone help me figure this one out?

When calling generated client stub, _returnMessageContext is set to 
null, and next command throws null pointer exception.

When executing through debugger, everything works fine.


org.apache.axis2.context.MessageContext _returnMessageContext = 
_operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = 
_returnMessageContext.getEnvelope();


Can someone tell me why is this happening?

Thx,
Ivan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.