Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL question

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jim Akmer
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is not accurate. It defines HTTP binding WSDL 2.0
Also check this out: Describe Restful WS with WSDL 2.0
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic