Hi guys,

I've been trying to solve this problem for a while, I really appreciate if one of you 
guys would like to give me an idea or hint. 

A client has two IP addr, and by default always sends request through IP addr #1. IP 
addr #1 and #2 are in different subnet. This problem occurs when I try to send a 
request from IP addr #2 instead from IP addr #1, from client (AXIS ver 1.1) to 
server-side (AXIS ver 1.1). 

1. I've tried this line below before invoke the call but had no effect.

        Call  call = (Call) service.createCall();
        Transport tran = call.getTransportForProtocol("http");
        tran.setUrl("xx.xx.xx.2");       //\\ --- set to IP addr #2

2. I've tried to retrieve MessageContext to try to set the address in, but I got null 
pointer from this line.

        MessageContext ctx = AxisEngine.getCurrentMessageContext();


Thank's in advance to any of you guys out there. I'll really appreciate your help.

Regards,

Dwi Tjandra
Software Engineer
Mobile Network - Singapore Telecom
380 Yio Chu Kang Road, #03-00
Singapore 229978
Mobile: (65) 97701799
www.singtel.com


Reply via email to