cancel
Showing results for 
Search instead for 
Did you mean: 

Publish Abap Web Service in ICF virtual host

Former Member
0 Kudos

Hello

We have configured our abap aplication server with two virtual host in SICF

one the default_host that listen in http 8080 port and other virtual host that

listen in http 8090 port.

We need define some ABAP web services that listen in default_host:8080 and other virtual host in virtualhost2:8090.

We define de web service with SE80 wizard and then create the configuration end point

with SOAMANAGER.

Our problem is that soamanager ever create the entrie of endpoint in sicf transaction, under default_host:8080 service tree not under virtualhost2 service tree. and so we can not call

the web service like http://virtualhost2:8090/sap/bc. because don't exist, only exist

http://defaul_host:8080/sap/bc.

we try to copy the entry of the tree under virtualhost2 in the proper place of the tree,

but when call the webservice with soaui the system report the error:

No Web service configuration for this access path: ""

i can see that there are entries in the table SRT_CFG_SRV_ASGN that are related with this

problem, because assign the url of the endpoint of the ws to virtual host, but i don't

know how the system generate this entries.

someone know how call ABAP web service with icf virtual host?

thanks

regards

diego

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Diego,

I've also tried this twice, both times (sadly) it failed...

Following this thread with a reply from SAP Support, it looks like this scenario is not supported in the new soap runtime environment:

[;

I'll keep trying though, please let us know if you can get this working. Thanks.

Regards, Trevor

Former Member
0 Kudos

Hi Trevor

For test purpose i can do it works.

The key point is create the proper entry in the table SRT_CFG_SRV_ASGN that refer to the correct VIRTUAL_HOST.

When you genreate the endpoint of the service with soamanager, the system generate an entrty in this table with the fiel VIRTUAL_HOST = 0, you can copy this entry and change only two fields.

VIRTUAL_HOST = <the number of your virtual host>

HASH --> you can calculate this field with the FM CALCULATE_HASH_FOR_CHAR, in the parameter DATA contatenate the content of the fiels VIRTUAL_HOST and URL (be careful with the upercase), this function module return you the hash.

(First you have to replicate the icf tree that soamanager create under your virtual host tree)

With this configuration i can call to my WS over the virtaual host, using soaui.

I hope this can be useful for you.

Regards

diego