WSDL 2 bindings to SOAP 1.2 over HTTP should cause ServiceClient to use SOAP 
1.2 by default
-------------------------------------------------------------------------------------------

                 Key: AXIS2-2463
                 URL: https://issues.apache.org/jira/browse/AXIS2-2463
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: nightly
         Environment: N/A
            Reporter: Steven E. Harris
            Priority: Minor


Per the discussion at

  Getting client stub to use SOAP version 1.2
  http://thread.gmane.org/gmane.comp.apache.webservices.axis.user/54837

when a WSDL 2.0 file specifies a binding to SOAP 1.2 over HTTP with the 
attribute

  wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP";

the AXIS2 WSDL2Java program (or whatever else is involved) should force the 
generate stub's ServiceClient to use SOAP 1.2 by default, rather than SOAP 1.1 
as it does now.

The workaround at present is to call

  stub._getServiceClient().getOptions().
                  setSoapVersionURI( 
org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI );

but that step should not be necessary.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to