axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shantanu chawla" <shantanuchawl...@gmail.com>
Subject Re: [axis2] stub generated by axis 2 is not compiling but stub generated by axis 1.4 works fine.
Date Tue, 03 Oct 2006 15:47:40 GMT
yes I am using nightly builds.

now I am getting these errors.

org.apache.neethi cannot be resolved to a type

method addHeadersToEnvelope(SOAPEnvelope) is undefined for the _serviceClient

The method getNamespaceURI() is undefined for the type OMNamespace

I cant find class org.apache.neethi in neethi.jar.

Shantanu


On 9/29/06, Anne Thomas Manes <atmanes@gmail.com> wrote:
> Are you using the latest build?
>
> On 9/29/06, shantanu chawla <shantanuchawla74@gmail.com> wrote:
> > 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: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Graduate Student
Department of Computer Science,
San Diego State University

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message