If a webservice is published, i.e. the wsdl is publicly available is it possible to know if the web service is SOAP or REST?
Thanks.
sandy chops
Greenhorn
Joined: Nov 11, 2010
Posts: 8
posted
0
WSDL is an XML-based language for describing a web service.
Soap is specification and REST is a stype.
REST and WSDL are not related.
Jim Akmer
Ranch Hand
Joined: Jul 06, 2010
Posts: 104
posted
0
You can tell by the binding section of WSDL. Check for SOAP binding.
WSDL is not specific to SOAP. It supports non-SOAP web services.
Actually WSDL 2.0 offers better support for RESTful web services since it accepts all HTTP request methods (not only POST and GET)
Dan Drillich
Ranch Hand
Joined: Jul 09, 2001
Posts: 1123
posted
0
Jim Akmer wrote:Actually WSDL 2.0 offers better support for RESTful web services since it accepts all HTTP request methods (not only POST and GET)