You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sam Cheung <sy...@hotmail.com> on 2004/02/09 20:45:06 UTC

[newbie] Serialize JavaBean to a SOAP message

Is there a way to serialize a JavaBean to a SOAPmessage?

Take the DelayedStockQuote as an example, can i create 2 classes: 
QuoteRequest (with an string attribute 'symbol') and QuoteResponse (with an 
float attribute 'result').

And I can use AXIS to serialize the QuoteRequest to a SOAP message and then 
deserialize the response to QuoteResponse?

I look at the BeanSerivce example, but to me that is more for JAX-RPC. What 
I want is closer to the example in DelayedStockQuote.

Thank you for any help.

_________________________________________________________________
Plan your next US getaway to one of the super destinations here. 
http://special.msn.com/local/hotdestinations.armx