Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Web Service problem? Forbidden 403

Former Member
8,880

Not sure why I'm getting this error when trying to run it in my ASP C# project.

The request failed with HTTP status 403: Forbidden.

Anyone have any insight on this? I'v

1 ACCEPTED SOLUTION
Read only

PeterJonker
Active Contributor
4,167

If it is the first time you call a webservice in or from abap, maybe you need to activate the web service runtime (soap runtime) You can do this in transaction SICF then press F8 and need to activate at least SAP/BC/srt and underlying nodes.

Check note 1088717 and note 1124553

Not sure why I'm getting this error when trying to run it in my ASP C# project.

The request failed with HTTP status 403: Forbidden.

Anyone have any insight on this? I'v

5 REPLIES 5
Read only

brad_bohn
Active Contributor
0 Likes
4,167

Hard to say without more info...Presumably you authenticated and the port is open? Did you try the web service from a testing tool such as WSNavigator or SOAPUI? What about checking the dev trace files on your app server?

Read only

mathias_essenpreis
Product and Topic Expert
Product and Topic Expert
0 Likes
4,167

Do you have an http proxy in the middle that forbids your connection?

Read only

PeterJonker
Active Contributor
4,168

If it is the first time you call a webservice in or from abap, maybe you need to activate the web service runtime (soap runtime) You can do this in transaction SICF then press F8 and need to activate at least SAP/BC/srt and underlying nodes.

Check note 1088717 and note 1124553

Read only

0 Likes
4,167

That seems to be the issues. I forgot to activate it in SCIF after it was created. It works now.

Now, can someone tell me what the difference is in creating a web service and SOAManager like this for a FM to import into say C# application versus just importing the RFC enabled FM into a project?

Reason I'm asking this question is that's how we were doing it before I found out this method to create a "actual" web service.

Before all we did was create the FM then made sure it's RFC enabled (seems like that needs to activated for WS also) then I would use the follow link to import it into my project:

http://******:8000/sap/bc/soap/wsdl?services=<< FM Name >>&sap-client=*

Read only

0 Likes
4,167

it is working for me too after activating the service from TC SICF. Thanks you!