[ http://issues.apache.org/jira/browse/AXIS2-1137?page=all ]
Peter Lawrey updated AXIS2-1137:
--------------------------------
Attachment: my.wsdl
The is a sample wsdl which show the issue.
> If the soap12:header.part name does not match the wsdl:message.part.name the
> code generated fails.
> --------------------------------------------------------------------------------------------------
>
> Key: AXIS2-1137
> URL: http://issues.apache.org/jira/browse/AXIS2-1137
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.0
> Environment: Java.
> Reporter: Peter Lawrey
> Attachments: my.wsdl
>
>
> If the name of the part is does not match, the code generated either doesn't
> compile or a null pointer exception occurs.
> In the attached example, the name="part1" does not match the
> part="SecurityHeader" in the second part. This is the only message of the
> three where a match is required.
> <wsdl:message name="ListDataSecurityHeader">
> <wsdl:part element="s0:SecurityHeader" name="part1"></wsdl:part>
> </wsdl:message>
> <soap12:header use="literal" part="SecurityHeader"
> message="s0:ListDataSecurityHeader"></soap12:header>
> Changing the first example to the following avoid the problem, but it should
> be more obvious that this is the problem, or it should take whatever is there
> as it does for the request and response generation.
> <wsdl:part element="s0:SecurityHeader"
> name="SecurityHeader"></wsdl:part>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]