On Sun, 2006-10-01 at 12:05 -0400, Gul Onural wrote: > Thanks Srinath. Is there any example of a service using RPC message > receivers in the standard distribution or elsewhere ? > > I assume if I want to get databinding managed by the Axis2, I need to > use RPC message receivers.
Actually no .. what the RPC message receiver is used for is to auto generate the RPC pattern- which means wrapper elements for the call to wrap all the arguments and similarly for the response. If you data bind just the schema you'll get just the databound classes which you can call on your own. The skeleton that WSDL2Java generates is just what you'd write if you were doing it. So if you want to exchange complex messages and if WSDL2Java doesn't handle the schema, then the easiest way to get started is to hand-tweak the schema to fit and then edit the generated ser/deser code that goes from StAX/AXIOM <-> Java. That's relatively straightforward logic in there so it should be quite doable. Sanjiva. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
