This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services and the fly likes MIME and HTTP GET/POST bindings are not permitted by the Profile. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "MIME and HTTP GET/POST bindings are not permitted by the Profile. " Watch "MIME and HTTP GET/POST bindings are not permitted by the Profile. " New topic
Author

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

Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1176
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



William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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

Joined: Jul 09, 2001
Posts: 1176
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
 
subject: MIME and HTTP GET/POST bindings are not permitted by the Profile.