Greetings!

I am having problems with Axis2. Some of the methods in my web
services server API are simply not being called by my test
client.
It seems as if Axis2 does not bother to execute the methods at
all. No error is returned.

When the client called the method:
ConfigStub.TestWS testws = new ConfigStub.TestWS();
testws.setId(id);
ConfigStub.EditTest editTest = new ConfigStub.EditTest();
editVolume.setTestWS(testws);
configStub.editTest(editTest);

The method editTest(..) is just not called at all, despite the
fact that there are other methods that are successfully called
and there is
no significant different in the way the methods are defined.
There is no error returned by Axis2.

Here is my services.xml file:

<serviceGroup>
<service name="Search" scope="soapsession">
    <Description>
         search API
    </Description>
    <messageReceivers>
        <messageReceiver
mep="http://www.w3.org/2004/08/wsdl/in-only";
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"
/>
        <messageReceiver
mep="http://www.w3.org/2004/08/wsdl/in-out";
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
    </messageReceivers>
    <parameter name="ServiceClass"
locked="false">com.webservice.SearchAPI</parameter>
</service>
<service name="Config" scope="soapsession">
    <Description>
         config API
    </Description>
    <messageReceivers>
        <messageReceiver
mep="http://www.w3.org/2004/08/wsdl/in-only";
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"
/>
        <messageReceiver
mep="http://www.w3.org/2004/08/wsdl/in-out";
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
    </messageReceivers>
    <parameter name="ServiceClass"
locked="false">com..webservice.ConfigAPI</parameter>
</service>
<service name="Status" scope="soapsession">
    <Description>
         configure status
    </Description>
    <messageReceivers>
        <messageReceiver
mep="http://www.w3.org/2004/08/wsdl/in-only";
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"
/>
        <messageReceiver
mep="http://www.w3.org/2004/08/wsdl/in-out";
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
    </messageReceivers>
    <parameter name="ServiceClass"
locked="false">com.webservice.StatusAPI</parameter>
</service>
</serviceGroup>

 Any help would be most appreciated

Jamie

Reply via email to