wcstombs
1/7/2003 6:11:00 AM
Normally RPC style is used when there are only very
simple datatyes which need to passed as parameters to
WebMethods. e,g.
[WebMethod]
public string GetCurrentTemperature (string zip)
Like u can see above, RPC is only for such simple
situations.
Incase u want to pass more complex data types, or share
XML messages itself, then you have to use DOCUMENT style.
Personally I would ALWAYS use document style, since we
are talking abt SOAP messages, and they are XML messages
themselves.
Try using the trace utility provided by SOAP toolkit to
see how the structure of the SOAP messages differ in the
two styles.
Hope this helps :-)