cancel
Showing results for 
Search instead for 
Did you mean: 

How to default authentication details when trying to call web service?

Former Member
0 Kudos

Hello experts,

I've created a consumer proxy based on a WSDL URL provided to me.

I've created a logical port using LPCONFIG.

When I'm trying to call the web service using the proxy class, there's always a prompt appearing for authentication details.

My client wants to default the authentication details, and avoid the prompt each time.

Kindly suggest me on the above issue.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos

Normally the user details are stored in the sending apllication (user configured on XI/ PI server having permission to process message) and if it is not stored then either it will ask you for credentials each and every time you test or will give you an authentication error......so try saving the details in the sending apllication.

Disabling authentication is not a recommended practice as it will disable authentication for the entire protocol and not just for one scenario.

Regards,

Abhishek.

Former Member
0 Kudos

I'm sending the request using a proxy class from SAP to a web service (Not PI or XI), and i'm not able to find a specific location where i can save the authentication details.

Could you please specify where i can do so?

Former Member
0 Kudos

Does the end point URL hit PI or the ECC system?

If it's PI, then there are settings in VA and NWA to disable the authentication