I don't have explicit access to the header via the command line wadl2java,
nor the maven plugin



On Fri, Aug 25, 2017 at 6:24 AM, Sergey Beryozkin <[email protected]>
wrote:

> Hi
>
> Why can't they be sent as the header ? Otherwise I guess one needs to
> configure the HTTP container somehow for the name and password be extracted
> out of URI and matched against the BasicAuth module...
>
> Sergey
>
> On 25/08/17 01:10, Shan Syed wrote:
>
>> Hey there,
>>
>> I need to generate client code for a WADL, hosted on a remote server I
>> don't control.
>> The WADL has very deep includes, that reference other xml files hosted on
>> the same server.
>> Downloading them all isn't practical, because it's a very deep hierarchy.
>>
>> The WADL is also served off of a webserver that asserts basic auth.
>>
>> I'm trying both the cxf wadl2java download, and the maven plugin; neither
>> seem to work when I provide basic auth details like this:
>>
>> https://whateverusernamer:[email protected]?wadl
>>
>> A 401 error is returned, and the basic auth parameters aren't sent to the
>> server this way.
>>
>> Is there a way to specify user/password for basic auth on a remote WADL?
>>
>> Thanks
>>
>>

Reply via email to