+ Start a Discussion
heiriticheiritic 

How to Call AWS S3 Web Service in Visual Force ?

Hai All..I get an urgent situation here. I don't know why my post is gone in this discussion board. So I just post again..

Can anyone help me out about visual force. It's about how to call external web service in visual force. I need to call amazon S3 wsdl. Can I view the bucket lists from S3 in visual force? The last time I checked in this discussion board, I need to make a controller that has the S3 function. But how do I need to call the bucket lists?
I'm still confused about this. Any suggestions will be appreciated.

thanx,

edwin
SuperfellSuperfell
See the apex docs on the HTTPRequest/Response objects
http://www.salesforce.com/us/developer/docs/apexcode/index_CSH.htm#apex_classes_restful_http_httprequest.htm
heiriticheiritic
Hi again..
I have made improvement in my development. But still I can't delete or get the bucket name. I use class from -> http://code.google.com/p/visualforce-components/source/browse/#svn/trunk/awss3/src/unpackaged/classes%3Fstate%3Dclosed

I don't know how to delete or get the bucket name. I alwats get status=Forbidden in every PUT or GET attempts and status=Conflict in every delete attempts.

response -> System.HttpResponse[Status=Forbidden, StatusCode=403]

I have added "https://s3.amazonaws.com" to remote site details in salesforce.  I think I miss something somewhere.
Any help would be great.

thanx,

edwin