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:[EMAIL PROTECTED]/.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.

Reply via email to