Hello everybody,

I ran into problems when I try to use the EchoAttachment example coming up
with the axis rc1 distribution.
As long as i don't use the squid everything works pretty fine and the jpg I
sent is poperply returned and
compared successfully.

FYI :
192.168.23.2 is my windows 2000 machine and the squid resides on a FreeBSD
5.0 Box ( 192.168.23.1).

I do it like this:
java
samples.attachments.EchoAttachment -lhttp://192.168.23.2:8080/axis/servlet/A
xisServlet Beispiel.jpg
Going to compare the files..
OptionsUrl :http://192.168.23.2:
Going to compare the files..
Attachment sent and received ok!

But when I set the normal java proxy settings in the main method of the
EchoAttachment Example

        System.setProperty( "proxySet", "true" );
       System.setProperty( "http.proxyHost", "192.168.23.1" );
       System.setProperty( "http.proxyPort", "8080" );

I got the following SOAPException :

        javax.xml.soap.SOAPException: (503)Service Unavailable
        javax.xml.soap.SOAPException: (503)Service Unavailable
        at
org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:110)
        at
samples.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:535)
        at samples.attachments.EchoAttachment.main(EchoAttachment.java:367)

Does anybody know why my Service isn't available ? The squid standard proxy
settings are  set to normal, it runs on port 8080
. BTW, I can access the Axis Engine with my local browser which must use the
proxy.

Thanks for your help in advance.
Christian Gruendemann

Reply via email to