You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Sayers Ken, NY" <Ke...@fja-us.com> on 2006/07/27 14:57:59 UTC
SOAP and Basic Authentication
Hello,
Can someone point me in the right direction on this one?
I need to access a SOAP service that requires Basic Authentication.
Regards,
Ken
Re: SOAP and Basic Authentication
Posted by Thomas Soddemann <Th...@rzg.mpg.de>.
Jason Johnston wrote:
> Sayers Ken, NY wrote:
>> Hello,
>>
>>
>> Can someone point me in the right direction on this one?
>> I need to access a SOAP service that requires Basic Authentication.
>>
>
>
> Not sure, but I think you can include the username and password in the
> service's URL, something like:
>
> http://username:password@domain.tld/path/to/soap/service
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
In principle, the authentication parameters for BASIC AUTH go into the
HTTP header.
E.g. have a look at
http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#AA
The Web Services Proxy Generator supports different style of
authentication, but you can also use Axis directly.
How do you intend to access the WS?
Cheers,
Thomas
--
--------------------------------------------------
Dr. Thomas Soddemann | Boltzmannstrasse 2
Projects Engineer | 85748 Garching
Rechenzentrum der MPG | Germany
am MPI fuer Plasmaphysik |
---------------------------------------------------
phone: +49 89 3299 2694 | fax: +49 89 3299 1301
---------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: SOAP and Basic Authentication
Posted by Jason Johnston <co...@lojjic.net>.
Sayers Ken, NY wrote:
> Hello,
>
>
> Can someone point me in the right direction on this one?
>
> I need to access a SOAP service that requires Basic Authentication.
>
Not sure, but I think you can include the username and password in the
service's URL, something like:
http://username:password@domain.tld/path/to/soap/service
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org