cancel
Showing results for 
Search instead for 
Did you mean: 

External Control Authentication for Communication Channel

Former Member
0 Kudos


Hi,

I have a requirement where my PI channels will be controlled externally through a DOT NET application.

I have gone through the links:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/07/17/configuring-external-communicatio...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/05/24/startstop-a-communication-channel...

But when they are accessing the service with the help of the following URL:

http(s)://<host>:<port>/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action

What happens to the authentication? Beacuse I will have a user ID and Password with the following roles

  • xi_af_channel_admin_display
  • xi_af_channel_admin_modify

Where in the code they will use the user & pwd , because they cannot have a pop-up.

Please advice.

Thanks

Ashirbani

Accepted Solutions (0)

Answers (3)

Answers (3)

vadimklimov
Active Contributor
0 Kudos

Hello Ashirbani,

In your caller .NET application, please fill HTTP authorization header fields with appropriate values of PI user and password when preparing the HTTP request for the servlet call - HTTP basic authentication mechanism works finely for the servlet ChannelAdminServlet.

Regards,

Vadim

Former Member
0 Kudos


Hello Vadim,

Thanks. I have communicated it to the team. They are trying it.

Will get back if we face any trouble.

Thanks

Ashirbani

former_member184720
Active Contributor
0 Kudos

Hi Ashirbani -

if i use sap-username&sap-password in the url it didn't work.

But i came across the below thread and may be you can give a try if that helps.

http://forums.asp.net/p/1092704/1647592.aspx#1647592

Former Member
0 Kudos

Hello,

Check William Li's reply where he suggested to put username.password in the URL, may be u can check that?

Thanks

Amit Srivastava