Hi, I am using Apache Axis2 1.5.
I have to get the IP address of messages, both when I receive when I send one.
I can get the address when arrive SOAP messages, but I can“t to get IP when I
try send a message. This access to IP Address is from Handlers.
I tried with this code:
remoteClientAddress =
messageContext.getProperty(MessageContext.TRANSPORT_ADDR).toString();
That sentence work when I recieve a message, but throws a Null Pointer
Exception with outgoing SOAP messages.
Hope this helps.
Thanks
--------------------------
Roberto E. Koh
Encuentra las mejores recetas en Yahoo! Cocina.
http://mx.mujer.yahoo.com/cocina/