cancel
Showing results for 
Search instead for 
Did you mean: 

REG: SOAP Interface

Former Member
0 Kudos

Hi ,

I have a scenrio where SOAP is the sender and File is the receiver.

I have created the WSDL for the SOAP sender.

Now I need to add User Id and Password to the WSDL.

Can some tell me the syntax , how to add userId and Password to the wsdl.

Thanks,

Siva

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

>

> Hi ,

>

> I have a scenrio where SOAP is the sender and File is the receiver.

>

> I have created the WSDL for the SOAP sender.

>

> Now I need to add User Id and Password to the WSDL.

>

> Can some tell me the syntax , how to add userId and Password to the wsdl.

>

> Thanks,

> Siva

User&Pass in endpoint service, or in SoapHeader tag?

for adding user&pass in endpoint, add &sap-user=<user>&sap-password=<password> to the url

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If you want to send the credentials along the url then the request should be passed to the integration engine rather than to soap aadapter....

As soap adapter url cannot accept the user and password request we need to use the above approach..

check the below blog which talks about the same.

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

HTH

Rajesh

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Can some tell me the syntax , how to add userId and Password to the wsdl.

UserId and Password are part of logon credentials for your webservice. You already created WSDL and I believe provided to the client. Just Pass the service user information of your PI (userId/password) to the client. When they consume your wsdl, they will add it in their client application.

Adding userID and password inside the WSDL is not standard practice. This could cause security problems.