I have following SOAP request.
When umarshalling is called only the payload is passed to the unmarshaller. So DOM equivalent of following is used
Please note that namespace prefix ns is not defined. Usually this is not a problem since in DOM namespaces are already resolved. There is one exception - attribute value. When XmlBeans try to unmarshall the element, they are not able to resolve the namespace and do not work correctly. I assume that Spring-WS should somehow take this situation into account.
If following request is used (the only difference is position of ns prefix declaration) everything works fine