|
|
| Author |
Message |
|
| Guest |
Posted: Thu Jan 25, 2007 2:59 pm |
|
|
|
Guest
|
Hi
How do I make a SOAP request using yaws_soap_lib to a SOAP service that
is protected using digest authentication?
Seems not possible with the current API, and yaws_soap_lib:call/6
setting HttpClientOptions to [].
Thanks (and please excuse me if my terminology regarding SOAP stuff is
wrong)
/Fredrik
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| tobbe |
Posted: Thu Jan 25, 2007 3:26 pm |
|
|
|
User
Joined: 19 Jan 2005
Posts: 274
Location: Stockholm, Sweden
|
Fredrik Thulin wrote:
> Hi
>
> How do I make a SOAP request using yaws_soap_lib to a SOAP service that
> is protected using digest authentication?
Are there a 'standard' defined for this ? (I don't remember)
If so, which RFC is it ?
Can you point to the WSDL in question ?
I have used call/4 on a home-brewed digest scheme where the
digest was carried in the SOAP header. But perhaps the digest
scheme you have in mind need some other kind of support.
Cheers, Tobbe
>
> Seems not possible with the current API, and yaws_soap_lib:call/6
> setting HttpClientOptions to [].
>
> Thanks (and please excuse me if my terminology regarding SOAP stuff is
> wrong)
>
> /Fredrik
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Thu Jan 25, 2007 3:41 pm |
|
|
|
Guest
|
Torbjorn Tornkvist wrote:
> Fredrik Thulin wrote:
>> Hi
>>
>> How do I make a SOAP request using yaws_soap_lib to a SOAP service that
>> is protected using digest authentication?
>
> Are there a 'standard' defined for this ? (I don't remember)
> If so, which RFC is it ?
I have absolutely no idea - I'm just trying to create a SOAP web service
for the simple purpose of fetching currently registered locations from
my SIP servers location database =)
> Can you point to the WSDL in question ?
Sure, although I am sure it is not finished yet. It is finished enough
to fail on the web server hosting the SOAP service not letting you in
though. This is what I did :
Wsdl2 =
yaws_soap_lib:initModel("http://people.su.se/~ft/GetLocations.wsdl").
yaws_soap_lib:call(Wsdl2, "GetLocations", ["user"]).
I'm currently trying to figure out how to define the return value to be
an array of strings in the Eclipse WSDL editor.
/Fredrik
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| tobbe |
Posted: Thu Jan 25, 2007 8:10 pm |
|
|
|
User
Joined: 19 Jan 2005
Posts: 274
Location: Stockholm, Sweden
|
Ok, we are on the case.
I've subbmitted a new version of yaws_soab_lib.erl
which adds a new function (call/7) which makes it
possible to add HTTP headers to the HTTP client
request. The idea is to be able to support www-
digest authentication on top of yaws_soap_lib.
Cheers, Tobbe
Fredrik Thulin wrote:
> Torbjorn Tornkvist wrote:
>> Fredrik Thulin wrote:
>>> Hi
>>>
>>> How do I make a SOAP request using yaws_soap_lib to a SOAP service that
>>> is protected using digest authentication?
>> Are there a 'standard' defined for this ? (I don't remember)
>> If so, which RFC is it ?
>
> I have absolutely no idea - I'm just trying to create a SOAP web service
> for the simple purpose of fetching currently registered locations from
> my SIP servers location database =)
>
>> Can you point to the WSDL in question ?
>
> Sure, although I am sure it is not finished yet. It is finished enough
> to fail on the web server hosting the SOAP service not letting you in
> though. This is what I did :
>
> Wsdl2 =
> yaws_soap_lib:initModel("http://people.su.se/~ft/GetLocations.wsdl").
> yaws_soap_lib:call(Wsdl2, "GetLocations", ["user"]).
>
> I'm currently trying to figure out how to define the return value to be
> an array of strings in the Eclipse WSDL editor.
>
> /Fredrik
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|