Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Loko
Creator II
Creator II

Get xml source from org.apache.cxf.binding.soap.SoapFault

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

2 Replies
Anonymous
Not applicable

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

Loko
Creator II
Creator II
Author

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".