Hi
I have exposed a soap service using CXF component.
The issue is the Soap Body is like
<soapenv:Body>
<RmhpHop3PaymentEffRequest>
<ClientId>?</ClientId>
<InputParameters>?</InputParameters>
<ReceiverID>?</ReceiverID>
<SecurityKey>?</SecurityKey>
</RmhpHop3PaymentEffRequest>
</soapenv:Body>
Now if my Webservice is like
@WebService(targetNamespace = "")
and it is declared in package
"com.hcentive.wig.wem.soap.provider.rmhp.payment.effectuation.services.effService"
On hitting through soap client it gives follwoing error
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unexpected element RmhpHop3PaymentEffRequest found.
Expected
{http://effService.services.effectuation.payment.rmhp.provider.soap.wem.wig.hcentive.com/}RmhpHop3PaymentEffRequest.</faultstring>
</soap:Fault>
Is there any way I can eliminate the verification of targetnamespace?
--
View this message in context:
http://camel.465427.n5.nabble.com/making-a-web-service-work-without-targetnamespace-tp5767325.html
Sent from the Camel - Users mailing list archive at Nabble.com.