axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4554) The AxisService2WSDL11 class sets the wsdl:required attribute of the wsaw:UsingAddressing element to true even if addressing is set as optional
Date Thu, 22 Apr 2010 20:32:53 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-4554.
------------------------------------

    Fix Version/s: 1.6
       Resolution: Fixed

> The AxisService2WSDL11 class sets the wsdl:required attribute of the wsaw:UsingAddressing
element to true even if addressing is set as optional
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4554
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4554
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.5
>            Reporter: Dave Bryant
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.6
>
>         Attachments: AxisService2WSDL11.patch
>
>
> The AxisService2WSDL11 class optionally inserts the wsaw:UsingAddressing element in the
generateSoap11Binding() and generateSoap12Binding() methods if the appropriate parameter is
set on the AxisService indicating that WS-Addressing is in use.  That parameter value supports
values indicating that it is either required (AddressingConstants.ADDRESSING_REQUIRED) or
optional (AddressingConstants.ADDRESSING_OPTIONAL).  However, at present the generated element
in the WSDL always sets the wsdl:required attribute to true, regardless of whether it is marked
as required or not.
> Section 3.1 of the addressing wsdl binding specification (http://www.w3.org/TR/ws-addr-wsdl/)
indicates that the wsdl:required attribute can be set to false if the addressing headers are
optional.
> The problem is trivially resolved by changing the appropriate values in the generate
binding methods from "true" to "false".

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message