The CXF generated client sends the following SOAP request which does not return records from their side:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PersonSearch xmlns="http://tlo.com/">
<genericSearchInput>
....
</genericSearchInput>
</PersonSearch>
</soap:Body>
</soap:Envelope>
The SoapUI request looks like the following and does return records:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tlo="http://tlo.com/">
<soapenv:Header/>
<soapenv:Body>
<tlo:PersonSearch>
<!--Optional:-->
<tlo:genericSearchInput>
...
</tlo:genericSearchInput>
</tlo:PersonSearch>
</soapenv:Body>
</soapenv:Envelope>
The only difference I see is the default namespace declaration on instead of the namespace declaration on the soap envelope and the use of the namespace prefix. I have tried several different ways to get the CXF generated client to create the same kind of soap request. Can anyone give some pointers or do I need to use something else?
I am using org.apache.cxf:cxf-codegen-plugin:2.5.2 on JDK 6.