You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Sanjiva Weerawarana <sa...@opensource.lk> on 2004/06/30 09:00:58 UTC
wsdl2java and soap 1.2
I was looking at WSDL2Java to see how to make it codegen a SOAP 1.2
client .. looks pretty damned hard-coded to 1.1 to me:
>From JavaStubWriter.java:
if (obj instanceof SOAPBinding) {
pw.println(
"
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);")
;
pw.println(
"
_call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC);");
Is the setting to 1.2 possible? If so how?
Thanks,
Sanjiva.
Re: wsdl2java and soap 1.2
Posted by Davanum Srinivas <da...@gmail.com>.
Yep, we need to add switches for SOAP Version as well as JAX-RPC version...
-- dims
On Wed, 30 Jun 2004 13:00:58 +0600, Sanjiva Weerawarana
<sa...@opensource.lk> wrote:
> I was looking at WSDL2Java to see how to make it codegen a SOAP 1.2
> client .. looks pretty damned hard-coded to 1.1 to me:
>
> From JavaStubWriter.java:
>
> if (obj instanceof SOAPBinding) {
> pw.println(
> "
> _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);")
> ;
> pw.println(
> "
> _call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC);");
>
> Is the setting to 1.2 possible? If so how?
>
> Thanks,
>
> Sanjiva.
>
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/