Skip to Content
0
Former Member
Nov 21, 2007 at 12:37 PM

Changing user who calls Enterprise Service dynamically

51 Views

Hello all,

I'd like to call Enterprise Service as Portal logon user.

As you know Enterprise Service is implemented on ECC, it always requires ECC's user/password when I access it.

Off the top of my head I may use logon ticket, but it does not work well for Enterprise Service.

I've already done the system configuration to use logon ticket - setting profile parameters of ECC, importing client certification and so on.

What I tried:

1. Create Destination at "Web Services Configuration: WS Destination"with following parameters:

Destination Type: WSDL

URL: http://<hostname>:<port>/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC?sap-client=800&wsdl=1.1

Authentication: HTTP Authentication, Logon Ticket

2. Try to test ES at "WS Navigator"

-> When I search ES in destination which I created, the following error occurred:

Invalid Response Code: (401) Unauthorized. The requested URL was:"http://<hostname>:<port>/sap/bc/srt/xip/sap/ECC_SALESORDERCRTRC?sap-client=800&wsdl=1.1"

When I changed destination's settings as follows, testing ES at "WS Navigator" succeeded.

Authentication: HTTP Authentication, User ID/Password(Basic), apply fixed user

But I'd like to change user who calls ES dynamically, because I want to set the user who creates sales order to Portal logon user.

Could you give me any advice?

Ikue