Himai Minh wrote:In Martin Kalin's Java Web Service Up and Running, p 56, there is a quote
Here are some downsides to the rpc style:
This style with its obvious link to the request/response pattern, encourages high coupling between the service and the client.....
This same point is sometimes made by noting that the rpc style has an inherently synchronous as opposed to asynchronous invocation idiom....
Himai Minh wrote:The key word here is "accept multiple types of requests".
When you build a web service in RPC style, your web method (@Webmethod) can only accept primitive type arguments.
For document style, your web method can accept any object type arguments.
I am not sure if I am right since I am new to web service.