Hi,

 The messageReceiver tells that it is an in-out operation. The message
receiver for getPrice is an in-out message receiver
(RawXMLINOutMessageReceiver)

    <operation name="getPrice">
        <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
    </operation>

Regards,
nisheedh


-----Original Message-----
From: Danny Lin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 06, 2006 8:32 PM
To: [email protected]
Subject: RE: Building the Service using AXIOM Sample

Thank you for writing, Michele,

This is what the services.xml looks like. It is downloaded directly from
Axis2 website. How do I tell if it is defined as in-out operation?

<service name="StockQuoteService" scope="application">
    <description>
        Stock Quote Service
    </description>
    <operation name="getPrice">
        <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
    </operation>
    <operation name="update">
        <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
    </operation>
    <parameter
name="ServiceClass">samples.quickstart.service.axiom.StockQuoteService</
parameter>
</service>


-----Original Message-----
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 06, 2006 8:17 AM
To: [email protected]
Subject: Re: Building the Service using AXIOM Sample

http://ws.apache.org/axis2/1_1/quickstartguide.html#axiom

Is getPrice defined in services.xml as in-out operation?

Michele

Danny Lin wrote:
> I am new to Axis2. I am going through the "Axis2 Quick Start Guide". I

> was able to run the Stock Quote using POJO. But when I run the example

> code using AXIOM I got the following error when pointing my browser to

>
http://localhost:8080/axis2/rest/StockQuoteService/getPrice?symbol=IBM.
> I also get the same error when running the AXIOMClient class. Can 
> someone help? Thanks.
>  
> Danny
> 
>  
> soapenv:ClientServiceClass does not implement required method of the 
> form OMElement getPrice(OMElement e); nested exception is:
> org.apache.axis2.AxisFault: ServiceClass does not implement required 
> method of the form OMElement getPrice(OMElement e)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to