Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We use Talend ESB and Apache Camel to make Soap requests to SAP B1i server.
With SoapUI we get this reply :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<xci:reason xmlns:xci=urn:com.sap.b1i.xcellerator:intdoc"Invoke of: ReadXml ....
Camel detects the soapFault and raise a java exception of class org.apache.cxf.binding.soap.SoapFault
.
We can't get the details of the fault : getReason() and getMessage() return "Server Error"
getNode(),getRole and getDetail() return null
I don't know if this is because the B1i reply does not meet soap standart, whatever, is there a way to get the source of the this soapFault class from Apache ? getSource() does not exist.
Thank you
Hi,
I would test/debug it first in SOAP UI. Then in Talend DI (tESBConsumer). Finally in Talend ESB.
By following this order, you will probably get more information about the problem.
Kind regards,
JVL
There is no problem.
Camel raises an exception when it sees a SoapFault returned by the server, and that's a normal bahavior. I just need the details, not only "Server Error".