I have a CXF service and a user is sending a Soap message to it like this\ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <getApplication xmlns="http://services.domain.com/"> <arg0 xmlns="http://services.domain.com/">33</arg0> </getApplication> </soapenv:Body> </soapenv:Envelope>
The parameter gets lost in parsing and a null gets passed to the service, but if I remove the xmlns elements from the tags or put it in the header and reference them in the tags, it works fine This works <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <getApplication> <arg0>33</arg0> </getApplication> </soapenv:Body> </soapenv:Envelope> Can anyone give me a clue as to what is happening. I am lost.
