cancel
Showing results for 
Search instead for 
Did you mean: 

How to access R/3 Web Services in C# application ?????

Former Member
0 Kudos

Hi ,

I have created a web service in my R/3 system. And I have written a C# application to access that web service.

But the problem is I get a <b>Unauthorized error</b> when i try to access those web services.

I used my R/3 username & pwd in my C# application.Iam able to download the WSDL to my c# application.But the error is thrown only when I try to access.

Can somebody help me ?

Should I route it through XI ? or how do i solve the problem ?

Regards

Sivakumar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sivakumar,

Please refer to the example code in the following documents in order to solve your problem.

This documents describes steps to create a client application in C# which makes use of a web service.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9862e72c-0a01-0010-8b94-949...

Regards,

Vikas

former_member184154
Active Contributor
0 Kudos

Time passed since you wrote this, and probably you already got a solution.

Check that the R/3 user you are using from the C# app has the right profile to execute the business functionalities (BAPI or whatever) inside the ABAP code behind the web service you expose.

Alex