Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on SOAP msg validation

 
Kamal Tripathi
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Regards,
Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic