cancel
Showing results for 
Search instead for 
Did you mean: 

Sender SOAP bypassing the basic authentication

Former Member
0 Kudos

Hi All,

I'm doing a SOAP to RFC scenario. Inorder to remove the basic authentication for SOAP i'm using the

WSDL url like

http://host:port/XISOAPAdapter/MessageServlet?channel=service:channel&sap-client&sap-user=username&s...

but even after trying it this way its asking for the authentication.

I would like to know, if i've to append the username and password with the url while creating the webservice from the ID or is it just that after creating the webservice i've to apeend it when trying to access it.

We are using pi7.0 here . So is there any change while passing the username and password .

I knw tht this can be accomplished by editing the sda file , but thats not wat we want .

Any kind of suggestion will be helpful.

Thanks & Regards,

Rahul.

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

This is not possible. The Java engine does not allow user in URL parameters.

As workaround you can use the ABAP SOAP adapter:

But this should be done only for testing, in production environment the sender should provide user and password as basic authentication.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan ,

Thanks for the reply . We are actually using the JAX RPC Spring framework as the external program . Though we are supplying the username and password it cannot login to the adapter . Is there anything else that has to be supplied other than these two.

Thanks & Regards,

Rahul.

stefan_grube
Active Contributor
0 Kudos

> Thanks for the reply . We are actually using the JAX RPC Spring framework as the external program . Though we are supplying the username and password it cannot login to the adapter .

There is a forum as well:

http://forum.springframework.org/index.php

There should not be a problem in providing user and password for basic authentication, as this is web service standard.

Regards

Stefan

deva_gembali2
Participant
0 Kudos

Hi stefen,

In PI7.3, Sender SOAP adapter, there is no option for Basic Authentication now.

So if partner having this issue, what can i do now ?

vasu

Former Member
0 Kudos

Hi,

This may help you

Check these words in this Blog

Prompt for Login credentials

When the above asp is executed in browser it prompts for User name/Password. We need to give valid username/password for XI. Until the recent patches by Microsoft there was a provision for providing login credentials directly in JavaScript (HTTP Connection).But for security risks this has been disabled in recent fixes. The Credentials need not be re-entered as long as session is not closed.

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1442 [original link is broken]

Regards

Seshagiri

Former Member
0 Kudos

Thats true. There is no need to enter the username or password more than once unless we are on the same session . But the thing is , here i'm having an external program which cimmunicates with pi try to send the request as webservice request. So during that case i'm unabale to supply the user id and password . So i need this thing to get disabled