cancel
Showing results for 
Search instead for 
Did you mean: 

How to get logical port name from nwa

former_member207744
Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Sreejith1
Contributor
0 Kudos

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