I\'m new in web services. I have faced some problem. At the server side i\'m using spring-ws. At the client side i\'m using jax-ws. With wsimport tool i have generated java clas
I just answered a similar question in How can I handle Castor unmarshaling of SOAP messages when the namespace is defined inside the operation tag? - if you're using Spring-WS, you're writing contract-first web services, so make sure you really nail that contract down. Put all your elements in a namespace, make sure your XSD schema expects elements to be qualified, and declare ns-uri and ns-prefixes in your Castor mappings. It's worth the effort.