Hi,
We are trying to develop an ABAP proxy for a web service call on ECC6 (SP14).
The web service (provided by another SAP system) uses basic authentication. The proxy has been created as has the logical endpoint/service (via SOAMANAGER). In the endpoint I have provided the credentials for authentication.
Manually testing the proxy via SE80 works fine.
When I try and call the proxy via a program it prompts for user id/password. If provided the call works.
-
DATA: ZPROXY type REF TO ZMY_PROXY,
INPUT type ZMY_PROXY_REQUEST,
OUTPUT type ZMY_PROXY_RESPONSE.
TRY.
CREATE OBJECT ZPROXY.
CATCH CX_AI_SYSTEM_FAULT.
ENDTRY.
TRY.
CALL METHOD ZPROXY->LIST_USERS
EXPORTING
INPUT = INPUT
IMPORTING
OUTPUT = OUTPUT.
CATCH CX_AI_SYSTEM_FAULT .
CATCH CX_AI_APPLICATION_FAULT .
ENDTRY.
-
My expectation is that the proxy would derive the credentials from the logical endpoint.
Am I missing something?
Thanks in advance.