I'm still making tests and I can't come to a solution. This same wsdl 
worked perfectly in Axis2-0.93. I attach a simplified version of the WSDL and 
XSD files with which I get the exception explained below. 

   Could somebody please, try the service that my WSDL generates? Thank you in 
advance,

     Rubén.

On Monday 23 January 2006 18:19, Rubén Naranjo Izquierdo wrote:
>    Ok, I tried to call the service directly (not using the stub) and I
> don't get exceptions. The code I use to invoke the service is the
> following:
>
>         try {
>             OMElement payload = null;
>             ServiceClient serviceClient = new ServiceClient();
>
>             Options options = new Options();
>             serviceClient.setOptions(options);
>             options.setTo(new EndpointReference(EPR));
>             options.setAction("myAction");
>
>             serviceClient.fireAndForget(payload);
>
>         } catch (AxisFault axisFault) {
>             axisFault.printStackTrace();
>         }
>
>    May this be a bug in Axis2-0.94 wsdl2java stub generation?
>
> On Monday 23 January 2006 16:54, Rubén Naranjo Izquierdo wrote:
> >    May this have something to deal with the fact that my PortTypes have
> > no output message? As the exception says that XML Provider just support
> > "public OMElement <method-name>(OMElement)", and my methods are like
> > "public void <method-name>(OMElement)"...
> >
> >    Isn't it weird that in exception description appears "&lt;" and "&gt;"
> > instead of "<" and ">".
> >
> >    Any suggestion will be highly apreciated since it's been days without
> > any progress.
> >
> >    Thank you in advance,
> >
> >
> >       Ruben
> >
> > On Friday 20 January 2006 13:05, Rubén Naranjo Izquierdo wrote:
> > >   Hi all,
> > >
> > >   I generated Java code with wsdl2Java, then deployed the service (with
> > > an empty skeleton), and coded a simple client to test the service.
> > >
> > >   When running the client I get the following stack trace (attached at
> > > the end). I don't understand what Axis tries to say with that
> > > exception. Can somebody help me?
> > >
> > >   In tomcat console I just get the following message:
> > >
> > > - Starting to process SOAP 1.1 message
> > >
> > >   Thank you in advance,
> > >
> > >       Rubén.
> > >
> > >
> > > - Deploying module : addressing
> > > - Starting to process SOAP 1.1 message
> > > org.apache.axis2.AxisFault: org.apache.axis2.AxisFault: Raw Xml
> > > provider supports only the methods bearing the signature public
> > > OMElement &lt;method-name&gt;(OMElement) where the method name can be
> > > anything at
> > > org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver.invokeBusinessLo
> > >gi c( RawXMLINOnlyMessageReceiver.java:118) at
> > > org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractIn
> > >Me ss ageReceiver.java:34) at
> > > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:331) at
> > > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReque
> > >st (H TTPTransportUtils.java:274) at
> > > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:150
> > >) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
> > >at io nFilterChain.java:252) at
> > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
> > >te rC hain.java:173) at
> > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
> > >ve .j ava:213) at
> > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> > >ve .j ava:178) at
> > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
> > >a: 12 6) at
> > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
> > >a: 10 5) at
> > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
> > >.j av a:107) at
> > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> > >14 8) at
> > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:8
> > >68 ) at
> > > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.pro
> > >ce ss Connection(Http11BaseProtocol.java:663) at
> > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin
> > >t. ja va:527) at
> > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollo
> > >we rW orkerThread.java:80) at
> > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
> > >l. ja va:684) at java.lang.Thread.run(Thread.java:534)

Attachment: test.xsd
Description: application/xml

Reply via email to