File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MIME and HTTP GET/POST bindings are not permitted by the Profile.

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

Basic Profile Version 1.0 says -



5.5.1 Use of SOAP Binding

The Profile limits the choice of bindings to the well defined and most commonly used SOAP binding. MIME and HTTP GET/POST bindings are not permitted by the Profile.



What does it mean - "MIME and HTTP GET/POST bindings are not permitted by the Profile." ?

Does it mean that we can bind to HTTP but can’t specify whether it's GET or POST?

Regards,
Dan


 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Take a look at the following two links:
http://www.w3.org/TR/wsdl#_http
http://www.w3.org/TR/wsdl#_Toc492291084

If you look at the text on HTTP GET/POST binding, you see that the in the case of a GET request, there is no payload and in the case of the POST request, the payload is not SOAP. The GET requests look more like they could be requests to a RESTful web service. Perhaps a future version of the Basic Profile will issue some recommendations for RESTful web services, but for now, I guess we have to settle for recommendations regarding SOAP web services.

With SOAP, HTTP GET requests cannot be used to issue a request to a web service, since they do not allow a payload to be enclosed, like the POST and PUT requests do.

I am not sure about the reason for not allowing MIME binding.
I do see that the WS-I Basic Profile 1.1 no longer explicitly mention HTTP GET/POST and MIME bindings as being disallowed:
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS
Best wishes!
 
Dan Drillich
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ivan! You see, I was under the impression that HTTP POST should be used to send a SOAP request. If HTTP GET/POST are not allowed (in Basic Profile Version 1.0), what did they expect us to use?

Regards,
Dan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic