Re: When the parameter name of SOAP request meets AppleScript terms...
Re: When the parameter name of SOAP request meets AppleScript terms...
- Subject: Re: When the parameter name of SOAP request meets AppleScript terms...
- From: Steve Evangelou <email@hidden>
- Date: Thu, 10 Jan 2002 10:56:23 -0800
Forwarding a response from an Apple engineer:
Regarding the first question:
You should be able to use the following syntax (enclosing the parameter
name with the vertical bar character) to prevent AppleScript from trying
to tokenize the word "Text":
parameters: { |Text|: contents as string }
Regarding the second question:
There is no reason why the SOAP message receipient cannot be a .NET
server.
(Most of the web services seem to be that.)
Steve
Apple Tech Pubs
On Thursday, January 10, 2002, at 06:57 AM, Kevin Fyure wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi lists,
I use AS Studio to make a SOAP request, the request needs method name
and some other things like parameters. Everything goes fine, til I find
out one of the parameter name happened to be a AS term, and it
capitalizes in the first letter, e.g. "Text". Then the annoying thing
comes, I type:
parameters:{Text: contents as string}
AS Studio changes it into:
parameters:{text: contents as string}
then my SOAP request fail, cause the parameter names are case sensitive
on their service.
Any way I could solve this problems?
Kevin
- --
Also, in:
http://developer.apple.com/techpubs/macosx/Carbon/interapplicationcomm/soapXMLRPC/
chapter3/iMaking_Remo_rom_Scripts.html
<quote>
Note that AppleScript, working through the Apple Event Manager, did all
the work of formatting the call soap script statement into proper XML,
opening a connection to the specified server, sending the message,
waiting for a reply, formatting the returned XML into an Apple event,
and returning the event.
</quote>
Is that means I can't make request to .NET server?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org
iD8DBQE8PavO0tSLhbcdfCsRAsgzAJ9Diisb1R+5YOr4VxDCcJSFj81rHACgjpvj
LZy37lIy7dNUCe9gp9sdvxI=
=kUxg
-----END PGP SIGNATURE-----
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.