Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL - Binding in 1.1 versus 2.0

 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Day,

Looking at Web Services Description Language (WSDL) 1.1 -



Versus the one from Web Services Description Language (WSDL) Version 2.0 SOAP 1.1 Binding -




At least the name is the same - StockQuoteSoapBinding

Anyway, where are the input and output elements in 2.0?

Regards,
Dan
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
In WSDL 2.0 there is the option to leave out operation-specific information in a binding.
In fact, it is possible to omit even the interface to which the binding is to apply to, in order to enable the binding to be used at multiple occasions.
In your example, however, both interface and an operation are supplied, so this is a binding that cannot be reused.

The input and output elements of the "binding component" (as it is called in WSDL 2.0) are optional.
If not defined, the the default options specified in the binding component are to be used. I thus expect all the operations in the example you provided to use SOAP 1.1 over HTTP, as specified in the <wsdl:binding> element.
Best wishes!
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ivan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic