Amazon Web Services via SOAP or REST

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Amazon Web Services via SOAP or REST

Dmitri Zagidulin
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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Amazon Web Services via SOAP or REST

stephane ducasse
You can use Yaxo it has a SAX and DOM interface as far as I recall.

Stef


On 15 août 06, at 22:39, Dmitri Zagidulin wrote:

> 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
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Amazon Web Services via SOAP or REST

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Dmitri Zagidulin
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

[hidden email]

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: [hidden email]
[mailto:[hidden email]] On Behalf Of Dmitri
Zagidulin
Sent: Tuesday, August 15, 2006 1:39 PM
To: [hidden email]
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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Amazon Web Services via SOAP or REST

Masashi UMEZAWA-2
In reply to this post by Dmitri Zagidulin
Hi,

In Squeak, AmazTalk seems to be near to your goal, though I have not
tried it yet.
http://www.squeaksource.com/AmazTalk/

2006/8/16, Dmitri Zagidulin <[hidden email]>:

> 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
> _______________________________________________

--
[:masashi | ^umezawa]
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Amazon Web Services via SOAP or REST

Dmitri Zagidulin
Thanks, everybody!

AmazTalk is exactly what I was looking for.

~Dmitri

On 8/16/06, Masashi UMEZAWA <[hidden email]> wrote:
Hi,

In Squeak, AmazTalk seems to be near to your goal, though I have not
tried it yet.
http://www.squeaksource.com/AmazTalk/

2006/8/16, Dmitri Zagidulin <[hidden email]>:
> 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
> _______________________________________________

--
[:masashi | ^umezawa]
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside