axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Lawrey (JIRA)" <>
Subject [jira] Updated: (AXIS2-1137) If the soap12:header.part name does not match the the code generated fails.
Date Mon, 11 Sep 2006 11:45:25 GMT
     [ ]

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 the code generated
> --------------------------------------------------------------------------------------------------
>                 Key: AXIS2-1137
>                 URL:
>             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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message