We are working with service provider\'s wsdl which is not discoverable due to security reason and they provide us a bunch of files including wsdl ,xsd etc.We need to access the
After few research, I have found these !
1)For Spring WS, generated client is not working (As like Netbean Generated SOAP client)
2) This link help me a lot to consume a Spring-WS service using Spring STS Consuming a SOAP web service
but few things need to be done before you proceed
a) fix maven-jaxb2-plugin version to lower version (0.12.1)
b) add a binding.xjb file with these contains
other wise xjc will not work
3) Copy wsdl & xsd files to local project directory and pom configuration will be as follows (for scenario where wsdl is not hosted for security reason)
${project.basedir}/src/main/resources/wsdl
*.wsdl
3)It is not recommended to edit the wsdl file