web service is running on the proxy? or your SOAP petition pass through a
proxy?
Try to send soap message to your service from soapUI (www.soapui.org).
soapui alow proxy configuration.

2007/10/10, Upul Godage <[EMAIL PROTECTED]>:
>
> Hi,
>
> Have you checked whether the proxy server is running in your machine
> (localhost) at 8090?  I think you should be able to put those values in a
> browser proxy settings page and access something with the browser.
>
>
> Upul
>
>
> On 10/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
> >
> >  Hi,
> >
> >
> >
> > I am getting Read Time out Error when I try to invoke my target
> > webservice from behind a proxy.
> >
> >
> >
> > I have configured the proxy setting in my client. The settings are as
> > follows:
> >
> >
> >
> >         EndpointReference targetEPR = *new* 
> > EndpointReference("http://10.236.28.196:8080/axis2/services/WeatherService
> > ");
> >
> >         /*options.setTimeOutInMilliSeconds(60000);
> >
> >         options.setTo(targetEPR);*/
> >
> >
> >
> >         /* New Bit */
> >
> >
> >
> >         Options opt = * new* Options();
> >
> >         //Options opt = serviceClient.getOptions();
> >
> >         ProxyProperties proxyProperties = *new* ProxyProperties();
> >
> >         proxyProperties.setProxyName("localhost" );
> >
> >         proxyProperties.setProxyPort(8090);
> >
> >         options.setProperty(HTTPConstants.PROXY, proxyProperties);
> >
> >         //opt.setTimeOutInMilliSeconds(120000);
> >
> >         options.setTo(targetEPR);
> >
> >
> >
> >         serviceClient.getOptions().setProperty(HTTPConstants.PROXY,
> > proxyProperties);
> >
> >         //options.setTo(targetEPR);
> >
> >         serviceClient.setOptions(options);
> >
> >
> >
> > But whenever I run the client, the following is the error I get
> >
> >
> >
> > [java] org.apache.axis2.AxisFault: Read timed out
> >
> >
> >
> >      [java] Caused by: org.apache.axis2.AxisFault: Read timed out
> >
> >      [java] Caused by: java.net.SocketTimeoutException: Read timed out
> >
> >
> >
> > Can somebody plz help me ??
> >
> >
> >
> > Thanks,
> >
> > -Subhash-
> >
> >
> >  This e-mail and any files transmitted with it are for the sole use of
> > the intended recipient(s) and may contain confidential and privileged
> > information.
> > If you are not the intended recipient, please contact the sender by
> > reply e-mail and destroy all copies of the original message.
> > Any unauthorized review, use, disclosure, dissemination, forwarding,
> > printing or copying of this email or any action taken in reliance on this
> > e-mail is strictly
> > prohibited and may be unlawful.
> >
>
>

Reply via email to