cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP TO RFC-how to send data through AE ?

former_member190681
Active Participant
0 Kudos

Dear Experts,

Created Soap to RFC integration, Generated WSDL, while testing through SOAP UI getting 401 Unauthorised.

I am passing through AE, my current version of SAP PI 7.4 dual stack. my requirement is to paas user credencials through Adapter Engine.

Regards,

Kiran Polani

Accepted Solutions (0)

Answers (2)

Answers (2)

ambrish_mishra
Active Contributor
0 Kudos

Hi,

Triggering the message from a web client and passing user credentials at adapter engine level is not possible. If you have the option to use certificates, you can maintain the certificates in PI and map the user name to the certificate in PI.

You can check the authentication mechanism through certs on the forum.

Ambrish

iaki_vila
Active Contributor
0 Kudos

Hi Sri,

Are you sure that you are setting correctly the credentials (user/password) in SOAPui?. I think you are not passing SAP PI authentication.

Check also if the user has the roles appropriated in PI. Check in your ICO object, communication component or sender agreement that you have note set in ACL list and the user that you are using in PI has not in that list, if the list is empty there is not any problem.

Regards.

former_member190681
Active Participant
0 Kudos

hi Inaki Vila,

I am using the above Soap request, by using this url hits I got response, but I want to pass the data through IE like Sender communication channel.

by using this url I am getting 401 unauthorized error.

how to pass user credencial from the Adapter level.

regards,

Kiran polani

former_member186851
Active Contributor
0 Kudos

Hello Sri,

In the SOAP UI Add in user name and password fields.

You can see it in the left side of request.

former_member190681
Active Participant
0 Kudos

hello,

by soap ui while maintaining user id and password it is working fine.

i want to pass the user credencials in soap wsdl. how to pass through Sender Adapter

http://ip:port/XISOAP/...etc.

any clue suggest me.

Regrads,

Kiran Polani

former_member186851
Active Contributor
0 Kudos

Hello Kiran,

That  is not possible,

If you dual stack try calling IE.check the below link

former_member190681
Active Participant
0 Kudos

http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel>&sap-user=<username>&sap-password=<password>

i tried this but got 401 unauthorided error

regards,

Kiran Polani

former_member186851
Active Contributor
0 Kudos

Hello Kiran,

with soap adapter it not possible,it wont work.

single or dual stack installation.

If it is dual try hitting IE.

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Sri,

The credentials have to be passed in the HTTP Header and not in the URL. This blog explains it

The other way of course is to disable the username/password at the adapter (this is not recommended), see

SAP Note 1711121

Regards,

Mark