cancel
Showing results for 
Search instead for 
Did you mean: 

Best practice: SOAP Sender authentification

former_member110533
Participant
0 Kudos

Hello,

while providing a web service for several consumers via PI, what is the best practice for authenticating the several consumers?

Is it possible giving a User&Password within the payload or message header?

How must it look like?

Thanks in advance,

André

Accepted Solutions (1)

Accepted Solutions (1)

former_member207622
Contributor
0 Kudos

you generate WSDL from PI and give it to client in case of sender soap scenario the endpoint URL address is present in the WSDL where the client hits

Now as soon as this url is opened in abrowser it will ask for user credentials

create a user in PI having roles of PIAPPLUSER and give it to client

this should solve your purpose

thanks

Ninad

former_member110533
Participant
0 Kudos

Hello Ninad,

many thanks for your replay.

1.)

So, in case the PI Web Service is called automatically / in a backend at the consumer side without a manual action, the consumer is responsible to pass the necessary credentials.

Until now, I have no clear picture how it should looks like...

2.)

In case one of the consumers also uses a PI and a SOAP Receiver Adapter for calling our WebService: Is it possible to store the credentials in SOAP Receiver Adapter directly? So no manual action is required while consuming/authenticating our WebService?

Many thanks for clarification & BR,

André

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

suppose .net system consuming PI web service,in this case .net team will reite program in .net environment to call PI web service,they will ask provide PI credentials in Program it self.

If you PI consuimng any web service using SOAP receiver adapter you go for basic authentication and proivide Web service system user name pasword details in communication channel.

Regards,

Raj

former_member207622
Contributor
0 Kudos

In first case -- Yes you will have to pass the user credential to the customer and the endpoint url to get a hit from them on PI server

even if they do automatically they still have to login through your credentials to enter into PI

In second case -- the consumer will give you a URL which is his address which you need to store in receiver SOAP channel

enter user id password for the target system in receiver soap channel

for more details

http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm

thanks

Ninad

Answers (0)