• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "call soap" w/ authentication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: "call soap" w/ authentication
      • From: Laurent Humbert <email@hidden>
References: 
 >"call soap" w/ authentication (From: Laurent Humbert <email@hidden>)

  • Prev by Date: Re: do script takes too long
  • Next by Date: Re: Warning dialog without buttons
  • Previous by thread: "call soap" w/ authentication
  • Next by thread: Re: "call soap" w/ authentication
  • Index(es):
    • Date
    • Thread