cancel
Showing results for 
Search instead for 
Did you mean: 

Embedding user-id and password in WSDL

Former Member
0 Kudos

Hi Gurus,

I have a SOAP to Proxy synchronous scenario. The request will come through a SOAP message and the response will be given back through a SOAP message. I have created the WSDL from SAP XI - Configuration using the option Define Web Service under Tools. Given below is the SOAP url:

http://<XI Server>:8000/sap/xi/engine?type=entry&amp;sap-user=<user-id>&amp;sap-password=<pasword>&amp;version=3.0&amp;Sender.Service=BS_pub_NonPO_Invoice_DOA_Call&amp;Interface=urn%3A%2F%2FFileNet_SAP%2FNonPO_Invoice_DOA_Call%5EMI_SO_NonPO_DOA_Call_Request

Whenever, I am pasting the url in a browser and trying to access the WSDL, it is prompting me for the user-id and password.

My requirement is that the consumer of the WSDL will not be prompted for the user-id and password.

Can you please help me?

regards

Debansu

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

The issue was resolved. The URL that used is correct. The only issue is that the WSDL needs to be opened in a browser and from there the url has to be copied.

Format provided below for reference.

http://<SAP XI server>:<port number>/sap/xi/engine?type=entry&sap-user=<user-id>&sap-password=<password>&version=3.0&Sender.Service=BS_pub_NonPO_Invoice_DOA_Call&Interface=urn%3A%2F%2FFileNet_SAP%2FNonPO_Invoice_DOA_Call%5EMI_SO_NonPO_DOA_Call_Request

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>My requirement is that the consumer of the WSDL will not be prompted for the user-id and password.

Webservice requires security credentials. So it is prompting basic authentication atleast. You can use anonymous ssl login between your system and sender system by means of sharing certificates between them. This would avoid prompting user and password. Or you can choose http plain adapter for the soap message. http and https without client authentication mode in soap sender channel prompts user/pwd credentials

Former Member
0 Kudos

Baskar/Pranil,

The issue was resolved. The URL that I use is correct. The only issue is that the WSDL needs to be opened in a browser and from there the url has to be copied.

I have provide the format below for reference.

http://<SAP XI server>:<port number>/sap/xi/engine?type=entry&sap-user=<user-id>&sap-password=<password>&version=3.0&Sender.Service=BS_pub_NonPO_Invoice_DOA_Call&Interface=urn%3A%2F%2FFileNet_SAP%2FNonPO_Invoice_DOA_Call%5EMI_SO_NonPO_DOA_Call_Request

Thanks for the help.

regards

Debansu

Pranil1
Participant
0 Kudos

Hi,

Try it using http plain adapter which would not require any authetication

former_member568822
Active Participant
0 Kudos

HI,

Try refer below blog

Also make sure you user have the authorization. .Better take SAP_ALL or refer PIAPPLUSER user authorization in this id.