Hi All:

I'm using CXF 2.5.2 for a web-service client. In certain scenarios I can generate a Fault response from the service I'm accessing, however the actual response cannot be processed as it fails the validation/unmarshal with:

Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://xxx.com/XXX/Service/2009-11-06";, local:"messageHeader"). Expected elements are <{}return>

I believe they are in the wrong, because the actual content is indeed bad.

What they are sending me is the soap:body from _my request_ with their fault element appended.

The response parser is expecting a valid response message as per the wsdl / xml schema.

Is there something wrong with my understanding of how fault's should be handled? Are they on crack?

Thanks,
David Mansfield
Cobite, INC.

Reply via email to