MACSCRPT Archives

March 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Mark J. Reed" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 19 Mar 2009 20:32:42 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
On Thu, Mar 19, 2009 at 8:12 PM, Mark J. Reed <[log in to unmask]> wrote:
> There are also web services, e.g.
> http://www.webservicex.net/uszip.asmx, but my attempts to call those
> using AppleScript's SOAP functionality also failed.

This is what I tried, btw.

tell application "http://www.webserviceX.NET/uszip.asmx"
    call soap {method name: "GetInfoByZIP", ¬
                SOAPAction: "http://www.webserviceX.NET/GetInfoByZIP", ¬
                method namespace uri: "http://www.webserviceX.NET", ¬
                parameters:{USZip:"30062"}}
end tell

I was able to get results fine from Perl via SOAP::Lite, so the web
service is working, but AS just gives me an empty list.
-- 
Mark J. Reed <[log in to unmask]>

ATOM RSS1 RSS2