Hi

I'm using Axis2 1.2 RC1 and I'm trying to use the proxy properties,
but I think there's a bug. Maybe I'm being stupid tho :-)

Here is my code:
PaulsServiceStub stub = new PaulsServiceStub(cc,
"http://localhost:8080/PaulsService/mex";);
                ProxyProperties pp = new ProxyProperties();
                pp.setProxyName("localhost");
                pp.setProxyPort(8000);
                
stub._getServiceClient().getOptions().setProperty(HTTPConstants.PROXY, pp);

etc...

Here is what you see in TCPMON

POST http://localhost/PaulsService/mex HTTP/1.1


As you can see, the port is missing from the URL  - it should be
http://localhost:8080/PaulsService/mex

Paul

--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to