Thilina,

I noticed that there is an error in the POJO guide in code listing 4:
Setting the weather. The code says:

       EndpointReference targetEPR = new EndpointReference(

       options.setTo(targetEPR);

The following text says:

       The most interesting code to note is in bold font. Notice the
targetEPR variable
       you create, setting the endpoint reference to
       http://localhost:8080/axis2/services/WeatherService.

1. there is no bold font.
2. the code that sets the targetEPR is missing.

Anne

On 12/30/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
RPCMessageReceiver is used for simply deploying POJO(plain old java
objects) as services..See here[1] for more details.
RawXMLMR can be used when you want to receive the plain XML message to
your service. This could only handle OMElements as parameters. See
here [2] more details.

You can extend any of the Abstract*in/outMR's [3] depending on your
MEP (Message exchange pattern)... or you can simply extend the
AbstractMessageReceiver..

Thanks,
Thilina

[1] http://ws.apache.org/axis2/1_1/pojoguide.html
[2] http://ws.apache.org/axis2/1_1/xmlbased-server.html
[3]http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/receivers/

On 12/31/06, falom <[EMAIL PROTECTED]> wrote:
> Hi,
>
> What is the fundemental difference between RPCMessageReceiver and
> RawXMLMessageReceiver? How should i choose to use them, and if i want to
> write my own msgreceiver then which one i should derive from?
>
> falom
>
>
>  __________________________________________________
> 赶快注册雅虎超大容量免费邮箱?
> http://cn.mail.yahoo.com


--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

Reply via email to