[Seaside] Amazon Web Services via SOAP or REST

Boris Popov boris at deepcovelabs.com
Tue Aug 15 20:52:37 UTC 2006


No idea about Squeak, but I was just able to generate an S3 interface in
VisualWorks using WSDL Wizard in 7.4.1, it even creates a testing workspace
for ya,

client := AmazonS3Client new.

[... skipped ...]

arg1 := PutObject new
		bucket: ("String");
		key: ("String");
		metadata: (OrderedCollection with: MetadataEntry);
		contentLength: ("LargeInteger");
		accessControlList: ( OrderedCollection with: (
				Grant new
					grantee: (Grantee new
							yourself );
					permission: ("String");
					yourself ));
		storageClass: ("String");
		aWSAccessKeyId: ("String");
		timestamp: ("Timestamp");
		signature: ("String");
		credential: ("String");
		yourself.
value := client putObject: arg1.

[... skipped ...]

arg1 := GetObject new
		bucket: ("String");
		key: ("String");
		getMetadata: ("Boolean");
		getData: ("Boolean");
		inlineData: ("Boolean");
		aWSAccessKeyId: ("String");
		timestamp: ("Timestamp");
		signature: ("String");
		credential: ("String");
		yourself.
value := client getObject: arg1.

[... skipped ...]

This is all from http://s3.amazonaws.com/doc/2006-03-01/AmazonS3.wsdl

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Dmitri
Zagidulin
Sent: Tuesday, August 15, 2006 1:39 PM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] Amazon Web Services via SOAP or REST

Has anybody done anything with Amazon Web Services and Seaside?
More specifically, are there any helper classes in the public
repositories that deal with this topic, or are people just rolling
their own?

I got as far as

url :=
'http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&etc...'.
url asUrl retrieveContents

and then I figure, I should feed the contents to an XML Parser of some sort.

I'm new to the Squeak environment -- is there a particular easy to use
XML parser you would recommend?

Thanks!

Dmitri Zagidulin
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060815/a35d10a8/smime.bin


More information about the Seaside mailing list