• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Binding Doubts

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the meaning og binding in terms of web service? What is the difference between HTTP, SOAP and MIME binding?

I have come across the word BINDING in many places in many articles and what is the real meaning of it.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In WSDL the interface is described in the abstract in WSDL 1.1 through the portType element and in WSDL 2.0 through the interface element. However the implementing service has to realize that interface. The type of binding determines how the interface is realized in the service. With an HTTP binding the interface is realized through a simple urlEncoded or urlReplacement HTTP GET or an HTTP POST request. With a SOAP binding the interface is realized with SOAP envelope - the SOAP binding itself declares which transport is used which in most cases is HTTP (transport="http://schemas.xmlsoap.org/soap/http"). With a MIME binding the interface is realized through a MIME envelope.

Things get a bit wobbly with SOAP with attachments (SwA) - the SOAP envelope is actually inside the first slot of a MIME envelope, the remaining slots in the MIME envelope carry the attachments.

WSDL 1.1:
SOAP Binding
HTTP GET & POST Binding
MIME Binding
 
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic