Welcome Guest, Not a member yet? Register   Sign In
Anyone using WSDL 2.0 with CI?
#1

[eluser]Mr Lazy[/eluser]
Hi,

I have recently created a RESTful web service using CodeIgniter and the Phil Sturgeon's excellent REST library and it works really well. But I have a Java developing colleague who wants me to provide him a WSDL file describing the service, so he can create a Java client for the web service.

So I have looked into how to do this, and the feeling I get is that not many (if anyone) is using WSDL 2.0 which is the version that describes RESTful web services. There are not many tools or validators out there that are not proprietary or only an API (Woden).

Also, there does not seem to be any recent activity on the internet around 2.0, many of the posts on forums are at least 2 years old and I get the feeling there is no current activity...

So I was wondering, has anyone in the CI community been down this road before me? And if so, how did you create the WSDL 2.0 file?

Many Thanks,
L
#2

[eluser]Colin Williams[/eluser]
It's just an XML file. See an example at http://www.w3.org/2003/11/wsdl/

The whole spec is online at http://www.w3.org/TR/wsdl20/

Took me 2 secs to Google that.
#3

[eluser]Mr Lazy[/eluser]
[quote author="Colin Williams" date="1260549720"]Took me 2 secs to Google that.[/quote]
Well done.

I know it is an XML file containing the XML schema for the service response etc....

Try Googling for a decent validator or tool to test the XML. Whatever I hand over to other developers needs to be correct and may have frequent changes that will then need to be validated.

But I am interested to know if anyone actually is using 2.0 or has used a validator/editor? Eclipse (with WTP) only supports 1.1 , which I guess I could convert, but this is not very efficient.

Anyone?

L
#4

[eluser]Colin Williams[/eluser]
http://dev.w3.org/2002/ws/desc/test-suite/index.html
#5

[eluser]Mr Lazy[/eluser]
[quote author="Colin Williams" date="1260551452"]http://dev.w3.org/2002/ws/desc/test-suite/index.html[/quote]

Did you read that page or just post the link?




Theme © iAndrew 2016 - Forum software by © MyBB