This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Doubt on SOAP msg validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Doubt on SOAP msg validation" Watch "Doubt on SOAP msg validation" New topic

Doubt on SOAP msg validation

Kamal Tripathi
Ranch Hand

Joined: Oct 02, 2008
Posts: 86
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

Kamal Tripathi
SCJP 1.4 90%, SCWCD5 94%, Next SCDJWS--> In Naescent stage. Researching abt exam and material itself.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1167
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.
wood burning stoves
subject: Doubt on SOAP msg validation
Similar Threads
Question on Asynchronous web service call using document style.
My personal test review about SCDJWS 5 beta
Question on WSDL
How to generate a correct WSDL for a service with overloaded methods ?
WSDL validation using XSD