Forums Register Login

Is a WSDL required with Spring-WS Services?

+Pie Number of slices to send: Send
Spring-WS creates a WSDL automatically behind the scenes when you set up a Spinrg-WS Web Service XSD.

My question, however, is "is" the WSDL actually required with Spring WS?

There's no WSDL->>Java in non-JAX-WS services so I'm a bit confused by whether you need the WSDL here.

Appreciate any replies or clarifications on this.

Thanks,

Mike
+Pie Number of slices to send: Send
http://static.springsource.org/spring-ws/sites/1.5/reference/html/tutorial.html

http://stackoverflow.com/questions/1575268/soap-and-spring

Here are some references above, hopefully they explain things a little bit.
If you want my opinion on the matter here it is


If you generating a service contract(a web service- either soap or restful then you need a wsdl. It is required...
The purpose of this is use xml to parse your data model classes.

you can use contract first basically you do this by hand(wsdl)
or you can have this generated by using a wizard
The downside of this approach their is no chance of updating.

In my opinion I would always use the first approach...I hope this helps
+Pie Number of slices to send: Send
 

a web service- either soap or restful then you need a wsdl



not for restful, that was the main reason behind simplicity of REST, though there is something similar called WADL but its not mandatory unlike WSDL for SOAP.

Cheers
-P
+Pie Number of slices to send: Send
 

Praful Thakare wrote:

a web service- either soap or restful then you need a wsdl



not for restful, that was the main reason behind simplicity of REST, though there is something similar called WADL but its not mandatory unlike WSDL for SOAP.

Cheers
-P



Right, but Spring-WS is neither SOAP nor RESTFul as I understand it....hence my question.

- mike
+Pie Number of slices to send: Send
completely missed it..sorry for that..
+Pie Number of slices to send: Send
Mike I am sorry I missed this as well
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 860 times.
Similar Threads
how to consume a webservice using axis2
Regarding Spring-WS
How to generate wsdl with spring ws
How I make a web client except any certificate via https
Axis2 - WSDL to code
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:29:50.