|
The simplest way to do this would be to build a JCo RFC server that acts as a communication gateway between SAP and the Web service. Essentially, you would create a Java-based registered server program that can be invoked from within an ABAP program. That registered server program would then be responsible for invoking the Web service and translating between the HTTP request/response data and the ABAP import/export parameters.
Check out my article An introduction to the JCo server. You can also find a full sample application in my book Enterprise Java for SAP.
|