I just finished reading about SOAP through Spring-WS in "Spring in Action," Second Edition, Craig Walls of Manning Publications Co. They write about the contract first, like Spring documents, by creating an XML message and an XML method, and then converting it to XSD, and then again to WSDL, following the sort and maintenance route in Spring.
I have to admit, I'm not sure. Why is this a better way than, say, creating a service interface and creating my service based on this interface? This is pretty close to defining my REST @Controllers in Spring3. Do I have options for navigating this way using SOAP web services with Spring?
Also: I would like to duplicate an existing web service. I have a WSDL and I can host my service instead. Is this recommended at all? If so, what is the recommended approach?
Greetings
Nik
source
share