cancel
Showing results for 
Search instead for 
Did you mean: 

Include username password in WSDL

Former Member
0 Kudos

Hi,

My scenario is SOAP to RFC , Sender is Java application, I generated the wsdl file in XI , Java webservice is using that wsdl file but it is asking for credentials, how to give credentials in wsdl url

regards,

kalpana

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Add at the end of the URL when you are creating the WSDL file in ID.

&sap-user=<username>&sap-password=<password

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Kalpana,

This is authentication issue which is looking for User ID and Password.If the sender is Java webclient ,then writing a piece of code for authentication in the Serviceclient.java file will solve this issue.

public XXXXServiceClient() {

create0();

service0.setProperty(Channel.USERNAME, "username");

service0.setPropertyChannel.PASSWORD, "password");

Warm Regards

B.Dheepa

former_member192295
Active Contributor
0 Kudos

Hi,

Refer URL it contain userid & pswd. U can give same inputs

former_member183906
Active Contributor
0 Kudos

Try appending the userid and password to your soap url as follows :

url: http://............&sap-user=user id&sap-password=password

Cheers,

ParvathyS_SAP
Product and Topic Expert
Product and Topic Expert
0 Kudos

&sap-user=<username>&sap-password=<password>

--> in the end of url add these details..

go through this link too

Regards,

Parvathy

Edited by: parvathy sriraman on Sep 19, 2008 9:06 AM

Edited by: parvathy sriraman on Sep 19, 2008 9:08 AM