Skip to Content
Former Member
Oct 07, 2011 at 08:50 AM

Error when calling webservice from SAP via htts. Code 403 : Forbidden


Hi Experts!

I called webservices from abap several times. But it is the first time, when I had to call WS with https and SSL.

I find Thomas blog, and I followed his steps:

[Calling WebServices from ABAP via HTTPS|Calling WebServices from ABAP via HTTPS]

I created the proxy class, from a downloaded wsdl (xml). Everything was ok.

I uploaded the SSL certificate, no problem with it.

I create the logical port via SOAMANAGER. It was successfully created.

I set the RFC settings:

Logon/Security: Basic Authentication

SSL: Active

SSL Client certificate: ANONYM SSL (I uploaded the certificate)

Logon: User/password filled

Special options: HTTP 1.1

Compressions: Inactive

1. When I try to test the RFC connection I get an error message:

Status HTTP Response 403

Status Text Forbidden

Duration Test Call 1333 msResponse body: forbidden internetproxy2:wq

2. When I try to test the WS, the error message is:

SOAP:1.007 SRT: Unsupported xstream found:

Code 403 : Forbidden")

I traced it with SOAMANAGER, and the error is:

A SOAP Runtime Core Exception occurred in method get_http_headers of class CL_SOAP_HTTP_TPBND_ROOT at position in 3 with internal error id 1007 and error text SRT: Unsupported xstream found: (u201CHTTP Code 403: Forbiddenu201D) (fault location is 1 ).

I cant find the problems for days.

Thanks for the help.