RPC-style is synchronized and message-style is asynchronized. is it correct? or am I missing something?
Tony -----Original Message----- From: C Santosh Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 16, 2001 12:19 AM To: [EMAIL PROTECTED]; David Wall Subject: Re: Doubt on Web Services -SOAP ----- Original Message ----- From: "David Wall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 9:19 PM Subject: Re: Doubt on Web Services -SOAP > > > The first one is rpc-style and the second one(the one which u want) > > > is document style. In the document style, you can send plain xml > > > inside the body of the soap envelope. > > > If you are using Apache soap-2.2, read about writing message > server/clients > > > in the documentation there. > > Maybe I don't understand, but why can't he just use a standard SOAP RPC > request and return a String that contains the XML response? > With proper encoding, I guess this can be done. But it is not recomended. document style is for those systems which take XML and give out XML. and rpc style is for those which take data in the form of some "simple" parameters and give out similar output(a typical procedure does this). So depending on how you modelled your service, you can choose one of the above.
