cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernardo Corrêa <bernard...@gmail.com>
Subject Re: Message Part is not Recognized
Date Tue, 03 Feb 2015 00:28:01 GMT
The weird thing is that it works when I call it from SoapUI.

I solved it changing @Webmethod operationName and action attributes to
OTA_HotelInvCountRQ.

Thanks.

Bernardo.

On Mon, Feb 2, 2015 at 7:07 PM, Andrei Shakirin <ashakirin@talend.com>
wrote:

> 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:bernardomk@gmail.com]
> Sent: Freitag, 30. Januar 2015 16:36
> To: users@cxf.apache.org<mailto:users@cxf.apache.org>
> 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
>



-- 
*Bernardo Corrêa*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message