cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the WSDL URL for ABAP based Web Services

leonardo_pavia
Participant
0 Kudos

Hi friends, I have the following situation:

I have an ABAP Web Service and everything is working fine. The service can be consumed correctly from external applications with the WSDL generated in SOAMANAGER (File and URL).

The generated WSDL URL is something like:

http://was730.dvlopr.com:8000/sap/bc/srt/wsdl/srvc_08002720027F1EE3AEAAFED3B5688C63/wsdl11/allinone/...

(Not security concerns here about publishing the entire URL, this is an internal address)

The external provider is asking me to give them a kind of "short url" for the WSDL, something with the following structure:

<protocol>:<host>:<port>/service1

I have found a lot of documentation about to change the <protocol>:<host>:<port> part, but I still haven't found nothing about to change the remaining part of the URL, I mean the "/sap/bc/srt/wsdl/srvc_08002720027F1EE3AEAAFED3B5688C63/wsdl11/allinone/ws_policy/document?sap-client=001" part.

I have tried with "Exernal Aliases" on SICF transaction, but this aliases can be pointed only until the /sap/bc/srt/wsdl part, i can't replace the remaining part of the url.

Suggestions will be appreciated.

Thank you very much.

Accepted Solutions (1)

Accepted Solutions (1)

leonardo_pavia
Participant
0 Kudos

OK I think that I found a quick workaround for this issue. Creating a redirection URL using the parameter icm/HTTP/redirect_<xx> works for me.

Parameter:

icm/HTTP/redirect_0    (Value '0' may differ for your system)

Value:

PREFIX=/ws1, TO=/sap/bc/srt/wsdl/srvc_08002720027F1EE3AEAAFED3B5688C63/wsdl11/allinone/ws_policy/document?sap-client=001

Now the WSDL URL can be reached at

http://was730.dvlopr.com:8000/ws1

Tested!

Best regards

Answers (0)