Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

WSDL - Binding in 1.1 versus 2.0

 
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
 
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.
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic