axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meenakshisundaram, Pattabiraman" <>
Subject RE: Issue in WSDL2Java Generation
Date Tue, 04 Nov 2008 13:36:28 GMT
Thank you very much. It worked.

From: Amila Suriarachchi []
Sent: Tuesday, November 04, 2008 7:01 AM
Subject: Re: Issue in WSDL2Java Generation

this is a problem with your wsdl file.

<wsdl:message name="m_Header">
        <wsdl:part name="m_Header" element="s0:MyHeader"/>

the header message should refer to an element not a type. and MyHeader should be an element
not a complex type.

<s:element name="MyHeader">
                        <s:element name="m_SessionID" type="s:string"/>


On Tue, Nov 4, 2008 at 2:26 PM, Amila Suriarachchi <<>>
please log a jira.

On Mon, Nov 3, 2008 at 2:44 PM, Meenakshisundaram, Pattabiraman <<>>


I have problem in using the generated stub as I am getting compilation error (param0 not defined)
as shown below. I also understand that many others have asked but I could not see any solution.
                                       // add the children only if the parameter is not null
                                        if (param0!=null){

I am attaching the wsdl with this mail. Please note that I checked for WS-I compliance using
SoapScope product and it complained only about the header and rest are fine.

Please note that I had to rewrite this wsdl as it was using SOAP-ENC and XmlBeans was not
generating the array elements as expected.

Could anyone provide me the directions to resolve this?


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

Amila Suriarachchi
WSO2 Inc.

Amila Suriarachchi
WSO2 Inc.

View raw message