0

a java client send SOAP requests to SAP (ABAP). In case a field does not match WSDL, the error looks like this:

org.apache.cxf.binding.soap.SoapFault (UTC-timestamp xxxx; Transaction-ID xxxxxxxxxxxxxxxxxxx)

not containing any useful information. Our SAP experts sent me this ESI: https://userapps.support.sap.com/sap/support/knowledge/en/2488301

which says SAP does not send SOAP validation errors back for security reasons.

But what am I supposed to do? Is there best practice? Actually I expect a meaningful error message from a server, not just "error"

4
  • You'll have to live with it. The SAP team might give you a limited access to the SAP log while you are developing your program, or they will send the log to you manually until your program is done. There might be meaningful messages only via the SOAP faults or output message. Commented Jul 28 at 12:50
  • My Problem is: SoapFault is empty and I cannot ask SAP Team to analyse every error Commented Jul 29 at 19:55
  • 1
    You should be able to detect and not send a request which doesn't match the WSDL/XSD rules. I guess there are some solutions via java. Commented Jul 30 at 13:49
  • Yes thank you this looks like the way to go though I don't like the extra effort. A system should be able to return the error, at least that it didn't like the request format. There cannot be security concerns with this. Commented Jul 31 at 17:14

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.