axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven E. Harris (JIRA)" <>
Subject [jira] Commented: (AXIS2-2463) WSDL 2 bindings to SOAP 1.2 over HTTP should cause ServiceClient to use SOAP 1.2 by default
Date Wed, 04 Apr 2007 16:24:32 GMT


Steven E. Harris commented on AXIS2-2463:

I'm confused by your wording. In the first sentence you say AXIS2 uses SOAP 1.2 by default,
then that the Stub class defaults to 1.1, and that WSDL 2.0 defaults to 1.2. At that point,
we've established that the Stub's default is incorrect.

In the next paragraph, you mention a property that can be set to change the SOAP version.
My complaint here relates not to whether such a property exists, but to what the default version
should be for the Stub.

You also mention that my binding is missing a SOAP version specification. In section 5.4.4
of the document you reference (Mapping from XML Representation to Component properties), we
find the following text in table 5-1 (;%20charset=utf-8#tab_SOAP_version_Mapping):

  Property: soap version
  Value: The actual value of the wsoap:version attribute information item if present, otherwise

Note the "if present, otherwise" clause; the version attribute is optional. That is, there's
an component model property that denotes the SOAP version, but it's not required to be denoted
explicitly in a binding, as it has a specified default value. This point is repeated in section

  By default, SOAP 1.2 is used.

Can you please clarify whether AXIS2's generated stub is intended to default to SOAP 1.2?

> WSDL 2 bindings to SOAP 1.2 over HTTP should cause ServiceClient to use SOAP 1.2 by default
> -------------------------------------------------------------------------------------------
>                 Key: AXIS2-2463
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: nightly
>         Environment: N/A
>            Reporter: Steven E. Harris
>         Assigned To: Keith Godwin Chapman
>            Priority: Minor
> Per the discussion at
>   Getting client stub to use SOAP version 1.2
> when a WSDL 2.0 file specifies a binding to SOAP 1.2 over HTTP with the attribute
>   wsoap:protocol=""
> 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:
For additional commands, e-mail:

View raw message