You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2004/01/07 11:41:43 UTC

DO NOT REPLY [Bug 25946] New: - WSDL2Java fails to generate code when the message in the headerfault contains element

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25946>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25946

WSDL2Java fails to generate code when the message in the headerfault contains element

           Summary: WSDL2Java fails to generate code when the message in the
                    headerfault contains element
           Product: Axis
           Version: 1.1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: xuliujuan@hotmail.com


WSDL2Java fails to generate code and throws null pointer exception when the 
headerfault message is defined as
	<message name="HeadInfo">
		<part name="sessionId" element="cai3g:SessionId"/>
	</message>
The parts of wsdl file which cause the error
 <soap:header message="cai3g:HeadInfo" part="sessionId" use="literal">
 <soap:headerfault message="cai3g:HeadInfo" part="sessionId" use="literal"/>
 </soap:header>