Ok. How and where can I configure the style (rpc/literal f.e)? Sorry I made a mistake. I called the messageReceiver Handler. -> My question: Can I define a messageReceiver for all operations? If I want 20 operations to use the RPCMessageReceiver do I need 20 entries in my service element?
Thx Dominik p.s.: Is there any dtd or xls file around for the service.xml? This would answer all my questions instantly ;-) > -----Ursprüngliche Nachricht----- > Von: axis-user@ws.apache.org > Gesendet: 15.03.06 14:51:21 > An: axis-user@ws.apache.org > Betreff: Re: some axis2 deployment questions You can use rpc / literal. AFAIK rpc / encoded support is planned - not sure about 100% though. > > You can set your handler in your service.xml by: > > <module ref="soapmonitor"/> > > That is _not_ part of the operation - its one element below service, such as: > > <service name="RCService"> > <module ref="soapmonitor"/> > <description> > Execute Radio Commander > </description> > <parameter name="ServiceClass" locked= > "false">com.siemens.swa.plugins.webservices.RCService</parameter> > <operation name="rcExecute"> > <messageReceiver > class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> > </operation> > </service> > > Provided you have a module registed as soapmonitor. The user guide and > migration guide have examples. > > HTH, > Robert > http://www.braziloutsource.com/ > > > On 3/15/06, SOA Work <[EMAIL PROTECTED]> wrote: > > Thx for your reply. > > Is > the only way to set Handlers ínside an operation > element? This would mean I have to write a lot more in my > deployment descriptor. > > I recently read a (german) article about axis2 which said rpc/encoded will > still be supported (for backward compability). > Is it planned? Can I use rpc/literal f.e.? And how to configure this? > > > Thx > Dominik > > > > > -----Ursprüngliche Nachricht----- > > Von: axis-user@ws.apache.org > > Gesendet: 14.03.06 13:58:03 > > An: > axis-user@ws.apache.org > > Betreff: Re: some axis2 deployment questions > > See my responses inline: > > > > > > On 3/14/06, SOA Work <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > I'm going to publish a simple service using axis2 war distribution. > > Now I'm running into some (maybe simple) questions, which I can not solve > > with the user guide: > > > > 1) what's the difference between RawXML and RPC message receivers? > > > > > With > > RawXML the methods signature gets OMElement input and output? If I > > don't want to change my business class I have to use > > RPCMessageReceiver, right? > > > > > > I haven't used RPCMessageReceiver - but the version.aar does and it > > just returns a String - unlike the other recievers that use OMElement. > > RPCCallTest also works with Strings. > > > > 2) > > can I use patterns like: "*" or multiple operations names like > > > "getString getInt" to publish a bunch of operations? > > > > > > I believe just * is supported. > > > > 3) > > If I don't specify any operation inside my <service> element all > > > operations are published. Can I set the messageReceiver to use for all > > operations? > > > > Not sure. > > 4) My resulting wsdl file is literal but I want ther rpc encoded style. > > How can I change this? > > > > > rpc encoded currently is not supported. > > > > thx a lot > > Dominik > > ______________________________________________________________ > > > > Verschicken Sie romantische, coole und witzige Bilder per SMS! > > > Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 > > > > > > > > > __________________________________________________________________________ > > Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! > Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131 > > > ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193