Hi Merten ,
i tried with a jdk 1.5, with the following

        System.setProperty("http.proxyHost","proxy");
        System.setProperty("http.proxyPort","port");
        System.setProperty("http.proxyUser","domain\\user");
        System.setProperty("http.proxyPassword","passwd");
        System.setProperty("http.auth.ntlm.domain","domain");

and i have the following error (without client-config.wsdd in classpath)
...
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

or 

java.lang.IllegalArgumentException: host parameter is null (with
client-config.wsdd in classpath)




On 5/13/05, Merten Schumann <[EMAIL PROTECTED]> wrote:
> Marco,
> 
> search the archive of this mailing list ... I myself asked this question
> in the past but couldn't find my email. There's some support in the JDK
> starting with 1.4.2 .. I guess your problem is the "domain" for your
> proxy authorisation ... There's a new property, what was it, aehm,
> proxyDomain or proxyNTLM or so ...
>    Merten
> 
> > -----Original Message-----
> > From: Marco Rossi [mailto:[EMAIL PROTECTED]
> > Sent: Friday, May 13, 2005 9:08 AM
> > To: [email protected]
> > Subject: Axis Client & ISA Proxy server
> >
> > Hi,
> > I have to create a axis client to contact a web service behind a ISA
> > proxy, with the NTLM authentication (unfortunatly i can't change this
> > configuration!). I tried with axis 1.2, and with the following
> > configuration:
> >
> > in the client-config.wsdd with the row:
> > <transport name="http"
> > pivot="java:org.apache.axis.transport.http.CommonsHTTPSender" />
> >
> > in the client code:
> > System.setProperty("http.proxyHost","myProxy");
> > System.setProperty("http.proxyPort","proxyPort");
> > System.setProperty("http.proxyUser","NTDomain\\username");
> > System.setProperty("http.proxyPassword","password");
> >
> > String url_address = "https://myServer/test/";;
> > URL endpoint = new URL(url_address);
> > MyWsSoap ws = locator.getMyWsSoap(endpoint);
> >
> > ...
> > ......
> >
> > It does't work. Any suggestion. Where can i find a library or a sample
> > code to use axis with a NTLM authentication system?
> >
> > Thanks in advance,
> > Marco
> >
>

Reply via email to