Ok looking in the mailing list, it looks that this is not yet
implemented (I mean for retrieving the wsdl)
Dan,what would be the effort for adding this ? If you guide me,I might
consider working on this as I did for the proxy auth in XFire.
In order to avoit the problem,I retrieved the wsdl using wget.Once it
is local and the AuthorizationPolicy has been set up,the subsequent
calls are working fine

Guillaume

On Dec 9, 2007 5:22 PM, tog <[EMAIL PROTECTED]> wrote:
> Hum I can believe this ...
> What I am looking for is a way to set up the Authorization header in
> the HTTP request (prior to get the wsdl).
> I know how to set-up the Proxy-Authorization header and I found
> AuthorizationPolicy
>
>                 AuthorizationPolicy auth = conduit.getAuthorization();
>                 auth.setUserName(username);
>                 auth.setPassword(password);
>
> Will that do the job ?
> Then the problem is to do this prior to the creation of the client ...
> which is the first thing I do !
>
> Any thought ?
>
> Guillaume
>
>
>
> On Dec 9, 2007 3:34 AM, Glen Mazza <[EMAIL PROTECTED]> wrote:
> > I'm not sure the Java artifacts would have a defined place for such
> > information.
> >
> > Glen
> >
> > Am Sonntag, den 09.12.2007, 01:15 +0800 schrieb tog:
> >
> > > the same question apply for the wsdl2java. I did not see anything for
> > > setting up username/passwd in the options
> > >
> > > On Dec 9, 2007 1:13 AM, tog <[EMAIL PROTECTED]> wrote:
> > > > Hi
> > > >
> > > > I need basic auth to retrieve a wsdl.
> > > > I currently use the dynamic client. All the constructors take directly
> > > > a string for the wsdl url.
> > > > Is there a way to set username/passwd before actually calling the 
> > > > server ?
> > > >
> > > > Thanks
> > > >
> > > > --
> > > >
> > > > Best Regards
> > > > Guillaume
> > > > http://cheztog.blogspot.com
> > > >
> > >
> > >
> > >
> >
> >
>
>
>
> --
>
>
> Best Regards
> Guillaume
> http://cheztog.blogspot.com
>



-- 

Best Regards
Guillaume
http://cheztog.blogspot.com

Reply via email to