I've made two web services. One is implemented with CXF(use jaxb as databinding) and the other AXIS2(use xmlbeans as databinding). The two wsdls are almost same except the namespaces of the wsdls and the namespaces of the related types.
If I send below
soap to cxf ws, it's ok.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><xmlns:ns3="http://www.xxx.com/webservices/asi/WS_ManufacturingItems1"><Timestamp>2009-10-21T16:07:32.296+08:00</Timestamp></soap:Body></soap:Envelope>
If I send below soap to axis2 ws, axis2 ws throws an error as if it could not Timestamp. I can understand timestamp is not in the namespace. Is there way like configuration to let it pass?
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><xmlns:ns2="http://www.xxx.com/webservices/asi/WS_ManufacturingItems2"><Timestamp>2009-10-21T16:07:32.296+08:00</Timestamp></soap:Body></soap:Envelope>
Why? I am confused and stuck! Is cxf smarter than axis2? Anyone has been to this situation?