on 10-21-2011 6:58 PM
Anybody know of a good way to fetch the port number of your NW instance purely in BLS? In the past I've used location.port in javascrpt, but in this application I need it to be an all BLS transaction (there's no user intereface)
Ideas?
Hi Doug,
You must create a jsp:
Teste.jsp
<%=request.getServerPort()%>
In the transaction you should use the HTTP_Post_0 and call URL
server://XMII/CM/<<projeto>>/Teste.jsp
Hope this help.
Danilo Santos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't solve the issue, but it would be a good feature request for addition to /XMII/Illuminator?Service=SystemInfo&Mode=HostInfo
(assumption would be using an XMLLoader: server://XMII/Illuminator?Service=SystemInfo&Mode=HostInfo&Content-Type=text/xml)
Edited by: Jeremy Good on Oct 26, 2011 10:59 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try to use get file list actions to find the help shortcut that lives on the sever:
<install drive>:\usr\sap\<system id>\SYS\global\Help\Welcome.url
Once you get there and read the file with a Text Loader you can parse out the host and port.
Its probably kinda chuggy so I would try to cache the result somewhere.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
7 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.