Thank you very much. It worked.




________________________________
From: Amila Suriarachchi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 7:01 AM
To: axis-user@ws.apache.org
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"/>
    </wsdl:message>

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:complexType>
                    <s:sequence>
                        <s:element name="m_SessionID" type="s:string"/>
                    </s:sequence>
                </s:complexType>
            </s:element>

thanks,
Amila.

On Tue, Nov 4, 2008 at 2:26 PM, Amila Suriarachchi <[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
please log a jira.

On Mon, Nov 3, 2008 at 2:44 PM, Meenakshisundaram, Pattabiraman <[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:

Hi,




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?

Thanks




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>



--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/



--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to