Hello Shantanu,

I just had the same problem. But then I realized that in my wsdl the style was 
wrong. After setting it to "document", the stub worked alright.

Regards,
Manuel


-------- Original-Nachricht --------
Datum: Fri, 29 Sep 2006 16:02:26 -0700
Von: "shantanu chawla" <[EMAIL PROTECTED]>
An: [email protected]
Betreff: [axis2] stub generated by axis 2 is not compiling but stub generated 
by axis 1.4 works fine.

> I am testing .net webservice interoperability using axis 1.4 and axis2.
> While I can access the webservice using axis1.4 and my axis1.4 client
> works fine but when I generate the client stubs using axis2 it is not
> compiling. In my client stub generated by axis 2 code generatorI am
> having this error :unreachable code at --> line.
> 
> 
>            //Unknown style!! No code is generated
>             throw new UnsupportedOperationException("Unknown Style");
> 
>             // create message context with that soap envelope
>  -->     org.apache.axis2.context.MessageContext _messageContext = new
> org.apache.axis2.context.MessageContext();
>             _messageContext.setEnvelope(env);
> 
> This webservice is built on .NET 1.1 and WSE 2.0.
> 
> Any pointers wht can be wrong.
> 
> Shantanu
> -- 
> Graduate Student
> Department of Computer Science,
> San Diego State University
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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

Reply via email to