Dears I need to access a web service located outside our company.
Therefore I must use our proxy. But it does not seem to work. Each time I get a Transport error: 407 Error: Proxy Authentication Required I tried following in the code HttpTransportProperties.ProxyProperties HTTPProxyProperties = new HttpTransportProperties.ProxyProperties(); HTTPProxyProperties.setProxyName("our proxy"); HTTPProxyProperties.setProxyPort(8080); HTTPProxyProperties.setUserName("my user id"); HTTPProxyProperties.setPassWord(("my password")); HTTPProxyProperties.setDomain(("our proxy")); Options options = client.getOptions(); options.setProperty(MessageContextConstants.HTTP_PROTOCOL_VERSION,HTTPConstants.HEADER_PROTOCOL_10); options.setProperty(HTTPConstants.PROXY,HTTPProxyProperties); I tried below one as well which was worked for one of the user as per this mailing group, but no luck for me ! options.setProperty(HTTPConstants.CHUNKED,false); Following are the Stack trace Exception in thread "main" org.apache.axis2.AxisFault: Transport error: 407 Error: Proxy Authentication Required at org.apache.axis2.transport.http.HTTPSender.handleResponse(* HTTPSender.java:296*) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(* HTTPSender.java:190*) at org.apache.axis2.transport.http.HTTPSender.send(*HTTPSender.java:75 *) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons( *CommonsHTTPTransportSender.java:371*) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(* CommonsHTTPTransportSender.java:209*) at org.apache.axis2.engine.AxisEngine.send(*AxisEngine.java:448*) at org.apache.axis2.description.OutInAxisOperationClient.send(* OutInAxisOperation.java:401*) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(* OutInAxisOperation.java:228*) at org.apache.axis2.client.OperationClient.execute(* OperationClient.java:163*) at org.csapi.www.wsdl.parlayx.sms.send.v2_2.service.SendSmsServiceStub.sendSms( *SendSmsServiceStub.java:1304*) at org.csapi.www.wsdl.parlayx.sms.send.v2_2.service.SPSendClient.main( *SPSendClient.java:132*) Thanks in advance *Fahad*