Re: Axis2 JAX-WS: The service class cannot be found for this AxisService

Dan Corneanu <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Hello,
is this issue solved in the latest Axis2 implementation?
I am using Axis2 1.7.0-SNAPSHOT and I am trying to deploy a JAX-WS web
service and I still get

java.lang.RuntimeException: The service class cannot be found for this
AxisService.
    at
org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:101)

Here is my services.xml file

<serviceGroup name="SavaTest-Service">
    <service name="MyEchoService">
        <description>
            This is the Echo service.
        </description>
        <parameter name="ServiceClass">ro.savatech.ws.impl.EchoService
        </parameter>
        <messageReceivers>
            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-only"
               
class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver" />
            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
               
class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver" />
        </messageReceivers>
    </service>
</serviceGroup>

I have tried to deploy the service both as a .jar file into
WEB-INF/servicejars or as an .aar into WEB-INF/services, with the same
results.

Best regards,
Dan.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.