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.invokeBusinessLogi
> >c( RawXMLINOnlyMessageReceiver.java:118) at
> > org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMe
> >ss ageReceiver.java:34) at
> > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:331) at
> > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest
> >(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(Applicat
> >io nFilterChain.java:252) at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte
> >rC hain.java:173) at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
> >.j ava:213) at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve
> >.j ava:178) at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> >12 6) at
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
> >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:868
> >) at
> > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proce
> >ss Connection(Http11BaseProtocol.java:663) at
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.
> >ja va:527) at
> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowe
> >rW orkerThread.java:80) at
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.
> >ja va:684) at java.lang.Thread.run(Thread.java:534)

Reply via email to