Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applescript and case sensitivity



Hi,

I am using applescript to communicate with SOAP web service. If the web
service returns a complex data type, it is receive in the applescript as
record. So far, so good.

When I send this record to the web service, applescript changes the
names of the record keys to lower case. Now, SOAP is case sensitive and
thus does not recognize the structure.

For example, if I have the record define as

script HostSummary
	property CPUSpeed : real
end script

When I send this record after populate it to web service:

set hostData to {CPUSpeed : 1.5}


The data actually sent it

{cpuspeed:1.5}

Kindly note the change of case in "CPUSpeed". The axis SOAP engine does
not recognize it (SOAP by definition is case sensitive) and throws an
error.


Any idea, help how to tell applescript to do what I want it to?

Thanks,
Aman
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.