cancel
Showing results for 
Search instead for 
Did you mean: 

Transporting web services

Former Member
0 Kudos

We have been experimenting with web services and have cases where we need them in production. I created my web services using the wizard and assigned them to a program group. Note: When I go to WSCONFIG, it shows my services under the SAP namespace.

I transported the service to my test environment and tried to change my servuce to use an id for anonymous access. The system forced me to create a modification.

Is there documentation on best practices to transport web services? Do we have to create our own host, namesapce, etc? If yes, how would that work with the wizard? Any valuable information will receive points.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes...I created this service using the wizard. I then selected the service using the external alias wizard as the target.

athavanraja
Active Contributor
0 Kudos

check in WSCONFIG (you can also do that in WSADMIN) to see whether the URL in Call Details box is pointing to the alias and not the actual url of the webservice.

Regards

Raja

Answers (3)

Answers (3)

Former Member
0 Kudos

hi...I created an external alias. When I try to make the call to the alias with the soap request, the request fails. I assume that the target url for the application call would be the alias url. The call to the actual service doees work.

Here's an example..should the target url be http://xxxx.aei.com:1081/z_test?sap-client=030&wsdl=1.1 (this is the alias). I assume it should then redirect request to http://xxxx.aei.com:1081/sap/bc/srt/rfc/sap/ZBOM_WS_EXPLODE_SERVICE?sap-client=030&wsdl=1.1.

How should the call from the external application work?

athavanraja
Active Contributor
0 Kudos

is your alias pointing to (target service) ZBOM_WS_EXPLODE_SERVICE ?

i have used aliases with BSP applications, havent tried with WS applications. i will check it out and let you know.

Regards

Raja

athavanraja
Active Contributor
0 Kudos

is your alias pointing to (target service) ZBOM_WS_EXPLODE_SERVICE ?

i have used aliases with BSP applications, havent tried with WS applications. i will check it out and let you know.

Regards

Raja

athavanraja
Active Contributor
0 Kudos

to manage anonymous access (by maintaining userid and pwd) in SICF you have to create an external alias for your service and maintain the the deatils in that.

check out the following link for maintaing external aliases

http://help.sap.com/saphelp_nw04/helpdata/en/78/9852bdc06b11d4ad310000e83539c3/frameset.htm

check out the following link for transportin the ICF services

http://help.sap.com/saphelp_nw04/helpdata/en/f2/22df3a750f6a02e10000000a11405a/frameset.htm

<u><b>About host and name space:</b></u>

you dont need to create one in your name space. but if you choose to create your own node in ICF for webservices then it has to use the following HTTP handler class

CL_SOAP_HTTP_EXTENSION

Hope this helps.

Regards

Raja