Hi, It seems that the client sends the message with root element OTA_HotelInvCountRQ. However WSDL doesn’t have message with such element: only ping, GetInventory, SetBooking and OTA_HotelInvCountRS are declared. Error message is correct.
Regards, Andrei. From: Bernardo Corrêa [mailto:[email protected]] Sent: Freitag, 30. Januar 2015 16:36 To: [email protected]<mailto:[email protected]> Subject: Message Part is not Recognized Hi, I have an Web service that works fine in SOAP UI but when called from the client throws: 05:20:08,074 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (http--0.0.0.0-8080-1) Interceptor for {http://webservice.mozart.com/}MozartPMSWebService<http://webservice.mozart.com/%7dMozartPMSWebService> has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Message part {http://www.opentravel.org/OTA/2003/05}OTA_HotelInvCountRQ<http://www.opentravel.org/OTA/2003/05%7dOTA_HotelInvCountRQ> was not recognized. (Does it exist in service WSDL?) And Fault: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Client</faultcode> <faultstring>Message part {http://www.opentravel.org/OTA/2003/05}OTA_HotelInvCountRQ<http://www.opentravel.org/OTA/2003/05%7dOTA_HotelInvCountRQ> was not recognized. (Does it exist in service WSDL?)</faultstring> </soap:Fault> </soap:Body> </soap:Envelope> I've attached my WSDL, have no clue of what's going on as it works fine in SOAP UI.. Thanks, -- Bernardo Corrêa
