Hi,

When trying to invoke the 'getPrice' operation of the 'SamplePingService'
(found inside the samples of Axis2) I'm getting the following reply. Please
note that I invoked the service by executing the PingClient.
(axis2\modules\samples\ping\) Basically this is what get printed to the
console when you run the client.

<pingResponse xmlns="http://ws.apache.org/axis2/modules/ping/xsd";>
<operationStatus xmlns:axis2ns17="
http://ws.apache.org/axis2/modules/ping/xsd"; axis2ns17:name="getPrice">
<status>1</status>
</operationStatus>
<operationStatus xmlns:axis2ns18="
http://ws.apache.org/axis2/modules/ping/xsd"; axis2ns18:name="pingService">
<status>1</status>
</operationStatus>
<operationStatus xmlns:axis2ns19="
http://ws.apache.org/axis2/modules/ping/xsd";
axis2ns19:name="CachedOperation">
<status>1</status>
</operationStatus>
<operationStatus xmlns:axis2ns20="
http://ws.apache.org/axis2/modules/ping/xsd"; axis2ns20:name="update">
<status>0</status>
</operationStatus>
</pingResponse>

But I was expecting a reply like the one below (which actually I get when
invoking the same service from SOAPUI),
<ns:getPriceResponse xmlns:ns="http://quickstart.samples/xsd";>
         <ns:return>42</ns:return>
</ns:getPriceResponse>


Can anybody explain me why I'm getting a different response in the first
case?


Thanks,
Amila

Reply via email to