How to generate wsdl using spring-ws application -Part-2
PART_1-- goes here
http://jtechspace.blogspot.in/2012/03/how-to-generate-wsdl-using-spring-ws.html
The xsd should contain
xmlns --xml name space
targetnamespace-- usally same as xmlns--add this to the
xs:schema xmlns="http://echo.com/sample-spring-ws"
targetNamespace="http://echo.com/sample-spring-ws"
example:
2 elements -request and response element
org.springframework.web.servlet.DispatcherServlet -reference to be added to web.xml file
update the dependecies in pom.xml file-- when using a maven web-project
org.springframework
spring-context-support
2.5.6
org.springframework.ws
spring-oxm
1.5.7
org.springframework.ws
spring-oxm-tiger
1.5.7
org.springframework.ws
spring-ws-core-tiger
1.5.7
org.springframework.ws
spring-ws-core
1.5.7
com.sun.xml.messaging.saaj
saaj-impl
1.3
provided
xerces
xercesImpl
2.8.1
provided
org.apache.ws.commons.schema
XmlSchema
1.4.2
javax.xml.bind
jaxb-api
2.2
provided
http://jtechspace.blogspot.in/2012/03/how-to-generate-wsdl-using-spring-ws.html
The xsd should contain
xmlns --xml name space
targetnamespace-- usally same as xmlns--add this to the
xs:schema xmlns="http://echo.com/sample-spring-ws"
targetNamespace="http://echo.com/sample-spring-ws"
example:
2 elements -request and response element
org.springframework.web.servlet.DispatcherServlet -reference to be added to web.xml file
update the dependecies in pom.xml file-- when using a maven web-project
Comments
Post a Comment