Skip to Content

How to change the WSDL URL for ABAP based Web Services

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/ws_policy/document?sap-client=001

(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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jun 09, 2014 at 03:57 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.