Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

error messages of sap based web service provider

Moin,

we have a web service provider generated from a function module. It works, It's synchronous. There is no XI/PI, just the 740 application server.

If the provider is called with a bad request, e.g. a date field is not filled correctly, the system throws CX_SY_CONVERSION_NO_DATE_TIME. So far, so good.

But the response of the web service has

a) http/500 internal server error. I would expect http/400 bad request

b) SRT_UTIL shows a correct error text: "Value ? is not a valid date in accord with the XML format for ABAP". But the response says only "Web service processing error; more details in the web service error log on provider side". Very useless for the consumer to create a correct request.

Is there any way to extend the response with the helpfull error text?

Thanks, Dirk

Tags:
Not what you were looking for? View more on this topic or Ask a question