on 02-21-2011 12:13 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.