Customize web app url
In this blog, I will show how we can use a short url for custom web applications in SAP Process Orchestration.
Normally after developing an J2EE/WebModule DC and deploying it in PO, we need to use a long url to access it. E.g. http://<host>:<port>/demo.sap.com~your~dc~name~full~path/index.html.
The default url is long and hard to remember. Next we are going to generate a short url, like pimon, nwa and etc.
1). generate application.xml
in your NWDS, open your J2EE/Enterprise Application DC in Java EE perspective. Right click on the project and choose “Java EE tools” > “Generate Deployment Descriptor Stub”
Then an application.xml file is created an placed under folder META-INF.
2). edit application.xml
Replace the content-root with any short-cut you want. (e.g. yreport)
3. Deploy the J2EE/Enterprise DC.
Now you can access the web application via the shorter url: http:<host>:<port>/yreport