Forums Register Login

WSDL question

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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)
+Pie Number of slices to send: Send
 

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)



That's interesting as Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language doesn't mention RESTful web services at all.

Regards,
Dan
+Pie Number of slices to send: Send
That is not accurate. It defines HTTP binding WSDL 2.0
Also check this out: Describe Restful WS with WSDL 2.0
expectation is the root of all heartache - shakespeare. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1471 times.
Similar Threads
Jaxp beginners question.
Which one first
access to .net web service
Get an OpenID token from a REST call
need clarification (mock question from xyzws)
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:33:59.