hi All,
This is the exception that i am getting at the server1
while invoking the service in it from the another
service in another server2.
Exceptions at server1
javax.xml.bind.JAXBException: Validation Error(s)->tag
name "wsa:To" is not allowed. Possible tag names are:
<Security>:Unexpe
cted element
{http://www.w3.org/2005/08/addressing}:To:
at
com.techrx.soap.encoding.JAXBDeserializer.unmarshall(JAXBDeserializer.java:76)
at
com.techrx.soap.handler.SOAPMessageHandler.handleRequest(SOAPMessageHandler.java:61)
at
com.techrx.soap.handler.HandlerChainImpl.handleRequest(HandlerChainImpl.java:64)
at
com.techrx.soap.server.MessageProcessor.processAsServer(MessageProcessor.java:50)
at
com.techrx.soap.server.SoapServlet.doPost(SoapServlet.java:114)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6985)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
--- vittal nangunoori <[EMAIL PROTECTED]> wrote:
> hi All,
> I have developed web service using POJO.
> This web service is calling second web service.
> I created stubs for the second service using axis2
> and
> written a client programme.
> This client is working fine as stand alone
> application. But when the same cleint code is used
> in
> the web service it is not working.
>
> Can any one suggest me how to go ahead with calling
> one service from another.
>
> Thankyou for the help provided.
>
> Regards,
> Vittal
> --- vittal nangunoori <[EMAIL PROTECTED]> wrote:
>
> > hi Joe,
> > Can we use both SAAJ classes of jre for SAAJ
> client
> > and AXIS2 SAAJ related jars in my web service
> > simultaneously.
> >
> > Regards,
> > Vittal
> > --- vittal nangunoori <[EMAIL PROTECTED]>
> wrote:
> >
> > > hi Joe,
> > > I have developed a simple web service using
> > > axis2(POJO).
> > > In this web service i have incorporated code for
> > > invoking another web service using SAAJ.
> > >
> > > As a standalone SAAJ client i am able to invoke
> > the
> > > web service. But when it is included in my web
> > > service
> > > i am getting the exception. Is there any problem
> > > with
> > > SAAJ classes of JRE and Axis2.
> > >
> > > Thanking you,
> > > Vittal
> > >
> > >
> > >
> > > --- Joe Nathan <[EMAIL PROTECTED]> wrote:
> > >
> > > >
> > > > You should make relevant JAR files included in
> > > your
> > > > classpath or
> > > > in container libs. I use JDK1.6 which includes
> > > most
> > > > of the packages
> > > > you use. 1.5 is quite different. You have to
> use
> > > > many of Axis
> > > > provided JAR files.
> > > >
> > > > If you still have problems, please post
> versions
> > > > for;
> > > > - JDK
> > > > - Servlet container
> > > > - Axis
> > > >
> > > > And where you run clients?
> > > >
> > > > Regards.
> > > >
> > > >
> > > >
> > > >
> > > > vittal nangunoori wrote:
> > > > >
> > > > > hi Joe Nathan,
> > > > > I have put the SAAJ code in my web service
> > > > application
> > > > > and I am getting the following exceptions
> > > > >
> > > > > Please provide solution for this too..
> > > > >
> > > > > javax.xml.soap.SOAPException: Unable to
> create
> > > > SOAP
> > > > > Factory: org.apache.axis2.sa
> > > > > aj.SOAPFactoryImpl
> > > > > at
> > > > >
> > > >
> > >
> >
>
javax.xml.soap.SOAPFactory.newInstance()Ljavax.xml.soap.SOAPFactory;(
> > > > > Unknown Source)
> > > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
>
http://www.nabble.com/-Axis2-How-to-invoke-web-service-from-another-tf4055013.html#a11549923
> > > > Sent from the Axis - User mailing list archive
> > at
> > > > Nabble.com.
> > > >
> > > >
> > > >
> > >
> >
>
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> >
>
____________________________________________________________________________________
> > > Now that's room service! Choose from over
> 150,000
> > > hotels
> > > in 45,000 destinations on Yahoo! Travel to find
> > your
> > > fit.
> > >
> http://farechase.yahoo.com/promo-generic-14795097
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Get the free Yahoo! toolbar and rest assured with
> > the added security of spyware protection.
> >
>
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
>
>
>
>
>
____________________________________________________________________________________
> Take the Internet to Go: Yahoo!Go puts the Internet
> in your pocket: mail, news, photos & more.
> http://mobile.yahoo.com/go?refer=1GNXIC
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]