axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmurali <chakravart...@sddc.army.mil>
Subject Axis2 coding to generate response/envelope confirming to the soap version of the request
Date Wed, 28 May 2008 13:38:13 GMT

 Hi,

I am using AXIS2 1.3 and when I generate the MessageReceiverInOut.java using
the wsdl2java, I see that the envelope for the response created is always a
default envelope and I was expecting the envelope to confirm to the soap
version of the request. That is, if I submit a soap11 request, I should get
a soap11 response and for a soap12 request I should get back a soap12
response. But I always get the soap11 response/envelope.

Code from MessageReceiverInOut.java
==============================
envelope = toEnvelope(getSOAPFactory(msgContext), rateRankResponse3, false);

toEnvelope method always returns factory.getDefaultEnvelope()

Could I get some suggestions and code snippets to fix this please?

Thanks,
Muralidaran Chakravarthy
-- 
View this message in context: http://www.nabble.com/Axis2-coding-to-generate-response-envelope-confirming-to-the-soap-version-of-the-request-tp17512875p17512875.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message