I was going thru the excellent thread which discusses differences between RPC and Document style webservices.
Not wanting to club multiple questions in an old thread, I was wondering that not every may use WSDL annotated classes to generate request for any of these style webservices. Who has the responsibility to do WSDL validation of SOAP messages in each case? Perhaps using annotated classes is the best idea in this case as they would take care of generating only valid requests but if someone is using DOM to create request, would it actually wait till the end point tries to make sense of the DOM and fail rather than do any validation??
Also I have an impression that Document style webservices are easier to consume for clients as the endpoints can easily add some option elements (say for Client B) and client A may remain unaffected whereas with RPC user may need to generate jars and may as well need to re-generate classes. RPC style is strictly for one service one structure kind of usage. What do you all think
SCJP 1.4 90%, SCWCD5 94%, Next SCDJWS--> In Naescent stage. Researching abt exam and material itself.
posted 4 years ago
Kamal Tripathi wrote: RPC style is strictly for one service one structure kind of usage.
I agree with you. RPC evolved to be a special case. Originally it was the real thing, but now I think the wrapped document style is the way to go.
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.