This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL and WebServices

 
Kodo Tan
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
Sorry for asking this dumb question - "Must all web services come with WSDL ?" Are there any web services that work without any WSDL files ?
Thanks in advance.

Cheers
Kodo
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if a web service doesn't have a published WSDL document, how would anyone know how to use it? The WSDL doesn't have to be a physical file, however. Many platforms have such a feature that generates the WSDL document on-the-fly for a web service when invoked with a simple HTTP GET request having "?wsdl" appended to the URL.
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually there is a UDDI API for interrogating the registry directly.
Regards,
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howard, I'm not reading you?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. I think you meant that the client doesn't need a published WSDL because she can interrogate a UDDI registry for the information. Did I get it right? If I did, I'll have to point out that the UDDI registry will still point to a WSDL document for the technical "instructions" to actually invoke the web service.
 
vikasids sharma
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WSDL needs to be made available to any client by webservice provider for interactions with webservices.
Originally posted by Kodo Tan:
Hi all
Sorry for asking this dumb question - "Must all web services come with WSDL ?" Are there any web services that work without any WSDL files ?
Thanks in advance.

Cheers
Kodo
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please allow me to try again
Although the UDDI registry may be backed by references to WSDL, we can discover and bind dynamically (programmatically) to web services. You may want to check out the links below.
The API to which I previously referred:
http://www-124.ibm.com/developerworks/oss/uddi4j/
A more complete set of solutions:
http://www.uddi.org/solutions.html
Have fun!
Regards,
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Interesting. Would you happen to have an example of such an UDDI record? I only remember tModelInstanceInfo having an element "overview document", which is a URL. I looked at the JUDDI/UDDI4J API but I can't see how one would actually invoke a web service using that API.
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you have so correctly pointed out, with our SOA we have to publish, find, and bind. With that in mind, check out the following URL for Apache SOAP.
http://www.apache.org/dist/ws/soap/version-2.3.1/
Are we having fun yet?
Regards,
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Being the lazy person I am, would you please relief me from browsing through a near-dead Apache project...
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you talking about putting only the SOAP endpoint address into a tModel record and then assuming that the client knows what kind of a SOAP envelope she should send into that endpoint? This thing is really bugging me now
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic