问题
I just created a Function Module, made it Remote-Enabled, and now I want to invoke it via XML-RPC over HTTP. I'm on SAP NetWeaver App Server ABAP v7. What other configuration is required in order to expose my FM over XML-RPC? How do I configure the end-point URL and all that?
Many thanks.
回答1:
There are several explanations on the subject in on SDN, as here and here which describe the generation of a webservice from a function module, and here, which describe the basic webservice configuration (ie SICF).
回答2:
What concerns XML-RPC
No, this is not possible to directly call SAP FM in XML-RPC style. You have two workarounds:
- Use SAP SOAP adapter for calling SOAP-enabled FMs
- Make a SOAP wrapper for your XML-RPC call in whatever programming environment you have. It is rather simple
What concerns SOAP
It is natively supported, there are plenty of manuals how to do it.
来源:https://stackoverflow.com/questions/11461008/how-to-enable-a-sap-fm-or-bapi-for-xml-rpc-or-soap-access