cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a HTTP Handler Class to a Webservice

Former Member
0 Kudos

Hi,

I would like to implement a header-response to implement Cross-origin-ressource-sharing for a websservice (because i have same origin policy problems)

I created the Webservice using the wizard for creation of enterprice services based on a function module.

I understand, that I can modify Webservices in Transaction SICF. I can find my webservice there, but when I try to add a class to the Handler-List, I get an error saying, that I can not change this service using this transaction.

What I would like to do there is, to add an HTTP handler class and implement the following abap code:

call method server->response->set_header_field( name = 'Access-Control-Allow-Origin'

    value = '*' ).

Error Message:

Any Ideas?

Thanks a lot in advance!

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Frederic,

Did you solve this issue?

Best regards,

Nicu

Former Member
0 Kudos

Hello Frederic,

the issue here is apparently due to a problem with certification. Please check your configuration.

Connecting to component: BC-DWB-WS-ABA (Web Service Tools - ABAP)

Br, Andras