• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP & dtds & xsds

 
Todd Johnson
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm just getting started with SOAP. We are looking to using SOAP messaging (not RPC) between many devices, platforms, and languages. I know you cannot use DTDs with SOAP, but can you use XML schemas? If not, we'll end up writing a lot of code to verify the messages we send/receive are formed correctly based on the design of our messages.

Thanks!
Todd
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
XML Schema is an integral part of SOAP web services.
However in production you would typically only validate content received from sources outside of your control to minimize the overhead.

3.4.2 Receiving Requests

4.3.3 Validating XML Documents

Patterns and Strategies for Building Document-Based Web Services
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic