permaculture playing cards*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes difference between SOAP Binding and HTTP Binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "difference between SOAP Binding and HTTP Binding" Watch "difference between SOAP Binding and HTTP Binding" New topic
Author

difference between SOAP Binding and HTTP Binding

Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1189
    
    1

JAX-WS supports SOAP Binding and HTTP Binding.
I want to know what is the difference between SOAP Binding and HTTP Binding ?
Does Java Rest API based web service support both these binding ?

Oracle Java Web Service Developer (1z0-897), Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I, CIW Certified Ecommerce specialist
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1700
    
  25

Abhay Agarwal wrote:JAX-WS supports SOAP Binding and HTTP Binding.
I want to know what is the difference between SOAP Binding and HTTP Binding ?

The HTTP binding means raw XML over HTTP (no SOAP involved)
Abhay Agarwal wrote: Does Java Rest API based web service support both these binding ?

REST uses HTTP. There is no need of SOAP in combination with REST.

Regards,
Frits
Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1189
    
    1

thanks for the reply
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: difference between SOAP Binding and HTTP Binding