Olivier Roger wrote:
Here is what I get:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<ns1:submitProposal
xmlns:ns1="http://www.mycompany.com/services">
<SubmitProposalRequest
xmlns="http://www.mycompany.com/service/offer/proposal">
<proposalId>1234</proposalId>
</SubmitProposalRequest>
</ns1:submitProposal>
</soap:Body>
</soap:Envelope>
This is the doc-literal wrapper message and CXF generate this kind of
request by default.
This is the expected result:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<SubmitProposalRequest
xmlns="http://www.mycompany.com/service/offer/proposal">
<proposalId>1234</proposalId>
</SubmitProposalRequest>
</soap:Body>
</soap:Envelope>
You are want to have the doc-literal no-wrapper message, you can change
it by adding this annotation into your SEI
@SOAPBinding.ParameterStyle.BARE
Willem
----------------------------------
Apache Camel, Apache CXF committer
Open SOA http://www.fusesource.com
Blog http://willemjiang.blogspot.com
Tiwtter http://twitter.com/willemjiang