• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Doubt on SOAP msg validation

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Liar, liar, pants on fire! refreshing plug:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic