cancel
Showing results for 
Search instead for 
Did you mean: 

WebService Access Forbidden

Former Member
0 Kudos

Gents,

I am testing my webservice. When i try to access it through web url, it is showing " 403 forbidden : You are not authorized to view the requested resources"

I have " SAP_ALL" access in R/3 side and "super admin" role in portal side.

Still ! it is not showing the service.

Could anyone help me on this please.

Regards,

Suresh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try to give the credentials which you gave while configuring the SOAP Receiver Adapter.

Where is the webservice deployed?

Regards,

Gautam Purohit

Former Member
0 Kudos

Hi Gautham,

I am very new to webservice area. I have tested one of the standard existing webservice in BI system " QUERY_VIEW_DATA" . When i test this, it is opening the browser asking me to enter the credentials. If i enter , it shows forbidden and not authorized message.

Regards,

Suresh

Former Member
0 Kudos

Hi,

Do you have the wsdl file?

There will be a url at the end of file which is called webservice endpoint.

Please check here to which system the wsdl is pointing to?

If its BI related query then may be you are posting the question in the wrong forum.

Regards,

Gautam Purohit

Edited by: Gautam Purohit on Oct 31, 2009 2:24 PM

Former Member
0 Kudos

Hi Gautam Purohit ,

It is pointing to portal system and prompting to enter the credentials.

Regards

Suresh

Former Member
0 Kudos

Hi Suresh,

Did you try entering the portal credentials?

Regards,

Gautam Purohit

Former Member
0 Kudos

Hi Gautam Purohit ,

Yes, I did with my super admin previlizes. but ! still shows forbidden. Do we need any perticular role for that ?

Regards,

suresh

Former Member
0 Kudos

Hi Suresh,

I don't think you need any special privileges for this.

I suggest you post this in Portal Forum & check if anybody can help

Regards,

Gautam Purohit

Former Member
0 Kudos

Hi Suresh,

Firstly I don't no if I am suppose to answer this thread as it has been addressed to "Gents"

Anyways I was facing a similar issue when I tried to test my web service through web URL.

Lets try this and see if it works for you:

1. Use the Tcode SOAMANAGER from the ABAP login to test the existing web service "QUERY_VIEW_DATA" in BI system

2. For SOAMANGER to work you need to activate a few Web Service Services in SICF (Only if they are not activated ).

3. Please NOTE : from SPS14 onwards Tcode WSADMIN and WSCONGIF are obsolete and hence testing through them will not help.

4. Try using J2EE_ADMIN log on credentials when askedd.

Also you can refer to the below for futher help :

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20b723f8-a422-2c10-aca5-fe64eeda1ff2&override...

It would be great if you would let me know how exactly are you testing your Web Service. It will be helpful for me to answer the thread.

Cheers

Dhwani