Yes I am getting there - I can invoke the server method OK - the server code executes OK but am having trouble returning the results as a Document.
Maybe I need to chenge my methods to create and return an OMElement instead of Document? trevor -----Original Message----- From: SOA Work [mailto:[EMAIL PROTECTED] Sent: 27 March 2006 15:48 To: [email protected] Subject: Re: [Axis2] Converting 1.x RPC to 2.0 Document style I'm not sure if I understand the question right. But try using your existing service class with axis2 and the RPCMessageReceiver. RPCMessageReceiver is used to map the xml data to java objects. I think this is what you want. The wsdl is generated. RPCMessageReceiver means RPC programming model, not the wsdl style (which can be document). This article descripes the different wsdl styles and the difference to the programming model: http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ I hope this helps. > -----Ursprüngliche Nachricht----- > Von: [email protected] > Gesendet: 27.03.06 14:21:38 > An: <[email protected]> > Betreff: [Axis2] Converting 1.x RPC to 2.0 Document style > I have used java:RPC style SOAP messaging in axis 1.2 and now want to migrate > to axis2 - where as I understand it Document style messaging is preferred. > > > > I can't find any documentation on how to create the wsdl to map to the > methodName(parameterX, parameterY) of my service. > > > > Do I have to write a bespoke receiver that takes the OMElement apart and > calls the service method with the correct parameters - or can this be done > 'automatically' by creating an appropriate service.xml, using either the > RawXMLINOutMessageReceiver or the RPCMessageReceiver? > > > > thanks for any help > > Trevor Paterson > > Roslin Institute > > > > __________________________________________________________________________ Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
