Re: "call soap" w/ authentication
Re: "call soap" w/ authentication
- Subject: Re: "call soap" w/ authentication
- From: Adam Bell <email@hidden>
- Date: Fri, 13 Jan 2006 20:09:37 -0400
This is a fragment of one that I did so long ago that I cannot recall details. Perhaps it will help to get started:
set mn to "getRate"
set mnsurl to "urn:xmethods-CurrencyExchange"
set exch_rates to {}
try
with timeout of 60 seconds
--repeat with c2 in countryList
tell application "
http://services.xmethods.net:9090/soap/servlet
"
set theResult to ¬
call soap {method name:mn, parameters:{country1:c1, country2:c2}, method namespace uri:mnsurl}
end tell
set end of exch_rates to {(contents of c2), (theResult as number)}
--end repeat
end timeout
on error
display dialog "Exchange Rate Unavailable - Server not Responding"
return
end try
On 1/13/06,
Laurent Humbert <email@hidden> wrote:
Hi everyone,
I searched the list and noticed that this question came up a couple of
times, but got no replies, so I'll post just in case...
Is there any way to do a "call soap" and provide a username/password
for basic authentication ?
I tried http://user:pwd@[URL] to no avail.
Thanks very much
L
_______________________________________________
Do not post admin requests to the list. They will be ignored.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden