Hi Dominik
please see my in line comments.
SOA Work 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?
>
>
RPCMessageReciver does not mean RPC style in WSDL , it is just Java
reflection based message receiver and which can handler simple types ,
and array of them , ArratList and OMElemnts. RawXML is just to handle OM
in OM out case. Yes if you are not going to your business class then you
have to use RPCMessage receiver or you have to write your own message
receiver.
>2) can I use patterns like: "*" or multiple operations names like "getString
>getInt" to publish a bunch of operations?
>
>
>
In the current impl if you dont specify any of the operation in
services.xml then all the public method will be published , but soon
there will be way to exclude some of them.
>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?
>
>
>
yes you can , and you can do that by adding following entry in services.xml
<messageReceivers>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</messageReceivers>
>4) My resulting wsdl file is literal but I want ther rpc encoded style. How
>can I change this?
>
>
hmmm , the wsdl you are getting is auto generated one , and we only
generate doc-lit wsdl , if you want to use rpc you have to write your
own rpc wsdl and put that into META-INF directory of the service aar.
>thx a lot
>Dominik
>______________________________________________________________
>Verschicken Sie romantische, coole und witzige Bilder per SMS!
>Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~