Re: ARRRGH! AppleScript hates me
Re: ARRRGH! AppleScript hates me
- Subject: Re: ARRRGH! AppleScript hates me
- From: Andy Satori <email@hidden>
- Date: Mon, 20 Jan 2003 14:07:47 -0500
On 1/20/03 2:01 PM, "Jeff Porten" <email@hidden> pounded the
keyboard to produce:
>
On Friday, January 17, 2003, at 04:10 PM, Andy Satori wrote:
>
>
> I think AppleScript hates me.
>
>
It's not personal.
>
>
> set aUser to "username"
>
> set aPassword to "userpass"
>
>
>
> tell application
>
> "http://192.168.0.7/landam/webtoolsII/services/wtlogin.asmx"
>
> set the method_parameters to {{sUser:aUser as string,
>
> sPwd:aPassword as
>
> string}}
>
>
Why are you coercing strings into strings? And I'd remove the "the",
>
AppleScript's parser *should* ignore it, but why make it bother?
>
>
Seems to me the problem here is in the variables, not the SOAP call,
>
but I'm... um... unfamiliar with SOAP. Don't quote me on that.
>
>
Best,
>
Jeff Porten
Well, I just tried remove the 'the' (is that redundant?). I've tried it
both with and without the as string clauses, and I get the same results.
I'm completely baffled. I'm fairly certain that it isn't the webservice, as
it works from Windows, and I've gotten it to work from Java for another
project. I'd really like to make this work with AppleScript (and then
AppleEvents from Cocoa) for a Cocoa application. Ulitmately, I'm trying to
rewrite a VB app from Windows that uses DCOM to an Os X app, that uses
SOAP/WebServices. But at this point, I'm dead in the water. :-(
Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.