on 06-21-2012 2:11 PM
In ejb project, im consuming brm webservice by following
(http://help.sap.com/saphelp_nwce72/helpdata/en/46/935a636110581de10000000a1553f7/frameset.htm)
When I hardcode the application logical port name and pass it as a parameter to qname its working fine.
I want to get logical port name during runtime.
Please tell me, how to achieve the same in runtime.
Attached application logical port name(nwa) screen shot herewith.
Regards,
Sriram.V
Hi,
From Request you will get these things.
- getLocalAddr()(for the IP), getLocalName() (Spec says: Returns the host name of the Internet Protocol (IP) interface on which the request was received),
- getServerPort() (port to which the request was originally sent),getLocalPort() (port number of the interface in which the request ended up) .
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.