Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1
-
None
-
Ubuntu 7.04, Windows XP, jdk 1.5_09, cxf 2.1
Description
We are getting a soap exception
org.apache.cxf.binding.soap.SoapFault: [ISS.0088.9125] SOAP request does not conform to the SOAP message model
that is not being properly propagated up. Instead we are getting a java.lang.NoSuchMethodError: javax.xml.soap.SOAPFactory.createFault()Ljavax/xml/soap/SOAPFault;
Looks like the issue is in the JaxWsClientProxy.invoke(Object, Method, Object[]) line: 193
if (getBinding() instanceof HTTPBinding)
{ HTTPException exception = new HTTPException(HttpURLConnection.HTTP_INTERNAL_ERROR); exception.initCause(ex); throw exception; } else if (getBinding() instanceof SOAPBinding) {
SOAPFault soapFault = ((SOAPBinding)getBinding()).getSOAPFactory().createFault();
^^^^^^^^^^^^^^
Looks like the SoapFactory returned by the binding does not have a createFault method. Does this mean that we have the incorrect version of a jar?
At any rate, the error should be caught so that a the very least a meaningful stack trace will be generated.