Hi

Below is my sample request

"<?xml version="1.0" encoding="UTF-8"?> <XpgIntegratedPaymentRequest
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";> <ClientId>RMHP</ClientId>
<InputParameters></InputParameters> </XpgIntegratedPaymentRequest> "


Now when i hit the service it says that gives below fault
"<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Client</faultcode>
            <faultstring>Unexpected element
{http://schemas.xmlsoap.org/soap/envelope/}XpgIntegratedPaymentRequest
found.   Expected
{http://wem-rmhpimpl.demo.hcentive.com:9090/wsx/services/WemXpgPaymentService}XpgIntegratedPaymentRequest.</faultstring>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>"

Below is my WS definition 
@WebService(name = "WsTransactionImlMetroSoap11", targetNamespace =
"http://wem-rmhpimpl.demo.hcentive.com:9090/wsx/services/WemXpgPaymentService";)
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@XmlSeeAlso({
    ObjectFactory.class
})
public interface WsTransactionImlMetroSoap11 {


    /**
     * 
     * @param parameters
     * @return
     *     returns com.hcentive.XpgIntegratedPaymentResponseType
     */
    @WebMethod(action =
"http://wem-rmhpimpl.demo.hcentive.com:9090/wsx/getWemXpgPaymentRequest";)
    @WebResult(name = "XpgIntegratedPaymentResponse", targetNamespace = "",
partName = "parameters")
    public XpgIntegratedPaymentResponseType getWemXpgPaymentRequest(
        @WebParam(name = "XpgIntegratedPaymentRequest", targetNamespace =
"", partName = "parameters")
        XpgIntegratedPaymentRequestType parameters);

}





--
View this message in context: 
http://camel.465427.n5.nabble.com/Document-Style-bare-WSDL-not-working-in-camel-cxf-tp5767867.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to