You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by László Hornyák <ko...@gmail.com> on 2008/10/01 23:49:12 UTC

Re: wsdl2java and http basic authentication

Hi!

Thank you for the idea! With a small modification, now I use wget and cron
to download the latest wsdls to a non password protected intranet place and
the continuous integration process gets the wsdls from there.
The password protection in this case is just to keep the general public away
from the site, so the cron job is acceptable.

Thanks again,
Laszlo

2008/9/28 Glen Mazza <gl...@gmail.com>

>
> Nothing incorporated with CXF directly, but if you use Ant (see a sample
> script here [1]) for your builds (or, by extension, Maven), you can perhaps
> incorporate the Linux wget command (I suspect other OS's have equivalents)
> in your Ant script to save the wsdl locally, and from that, subsequently
> call wsdl2java.  wget has an ability to provide username and password:
>
> "If you want to encode your own username and password to HTTP or
>  FTP, use the appropriate URL syntax.
>  wget ftp://hniksic:mypassword@unix.server.com/.emacs
>
> Note, however, that this usage is not advisable on multi-user sys�\
> tems because it reveals your password to anyone who looks at the
> output of 'ps'."
>
> HTH,
> Glen
>
> [1] http://www.jroller.com/gmazza/date/20080417#WFstep3
>
>
>
> L��szl�� Horny��k-3 wrote:
> >
> > Hi!
> >
> > I want to use wsdl2java on some web service that is protected with http
> > basic authentication. Of course I can download them manually, but that is
> > no
> > good for the continuous integration process. Is this possible?
> >
> > Thank you,
> > Laszlo
> >
>
> --
> View this message in context:
> http://www.nabble.com/wsdl2java-and-http-basic-authentication-tp19670334p19711924.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>


-- 
L��szl�� Horny��k