function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Thakkar ParthThakkar Parth 

SFDC to Amazon S3 integration

Hi ,

I'm new to integration . Have referred Salesforce documents but didnt understood much . I do not know where to start , I have a requirement to integrate Salesforce with Amazon S3 . So if anyone can help me with the sample code will be very useful . 

Also nice blogs ,useful links for integrations if given would be great.

Bhawani SharmaBhawani Sharma
Hi Marc, 

This is pretty simple. What all you need to do is, get the Amazon wsdl file and parse it in your Salesforce. This will create stub class in your Salesforce org. and then You can use this class methods to integrate your Salesforce with S3.  You can download WSDL from here.

Thakkar ParthThakkar Parth
Thanks Bhawani . How do i parse the amazon wsdl file in Salesforce ?  Also any help with integrating SFDC with S3 please . I'm new to this . Your help will be very much appreciated .
Thakkar ParthThakkar Parth
I did try to parse it but giving me an error :

" Error: Failed to parse wsdl: Unsupported Schema element found At: 13:51 "

Any solution or workaround ?
Bhawani SharmaBhawani Sharma
Download this wsdl file. Go the the Apex Classes list. You will see a button there called "Generate from WSDL". Using that button to parse that wsdl file.
Bhawani SharmaBhawani Sharma
Probably there would be a new version of wsdl file on Amazon site. I am 100% sure that there is a working wsdl somewhere.
Thakkar ParthThakkar Parth
Tried searhing but same problem everywhere , probably no one has marked the best solution. May be install toolkit  is the solution ? If you find the wsdl file , please help me to achieve . Thanks again
Bhawani SharmaBhawani Sharma
Try here:
Thakkar ParthThakkar Parth
Still the same error . :( No luck yet ... I had tried this before also .
Bhawani SharmaBhawani Sharma
Hi Parth, Probably there would be another one. I recently Integrated Salesforce with S3 and that wsdl worked smoothly. Let me search my system to find out that file. Regards, Bhavi Sharma Certified Salesforce Consultant +91-9928130589 LinkedIn | Twitter | Blog | Community
Thakkar ParthThakkar Parth
I still did not get the wsdl file . Tried ample of ways but no sign of success yet . Could you please share with me as you said you did try it before . Thanks again .
Edward Stachyra 4Edward Stachyra 4
Hi All.  We found the free toolkit that was published years ago is now deprecated by Amazon.  So we developed a S3 connector App which can be used:  link-
Hi Marc, @Bhawani Sharma,

Did you find out the answer for this issue am also faceing same problem please let me know how to resolve or is there any other method to parse.

Error: Failed to parse wsdl: Unsupported Schema element found At: 13:51

Thanks for your replay advance.

Jason FlammangJason Flammang
See page 229 of this document:

Apex doesn't support WSDL constructs that import external schemas.  So you need to edit Amazon's WSDL file before attempting to generate your APEX.  Do this by removing the exisitng xsd:schema node and replace it with xsd:schema node of the external file :

This worked for me, however, with the file size limitations of Amazon's SOAP API, I'm attempting to use the REST API instead.  So text files might work just fine, however, I'm trying to upload larger PDF files.
S3- Link is FREE App for Salesforce - Amazon Connector. Its also available on Appexchange. 

    Attach file related to any Salesforce object on Amazon.
    Ulimited free storage for one year.
    Multiple file uplaod.
    No file size limit for upload.
    File access control capabiliy.
    Track file downloads by users.
    File exlorer capability.

Here is our email address. Let us know if you have any query.

Keith WalkerKeith Walker
You can easily integrate SFDC with Amazon S3 by using Skyvia ( It`s the cloud-based solution with a totally no-coding drag&drop interface.
Sonam MeshramSonam Meshram
Hi All,
Its very easy to integrate SFDC with Amazon S3 by using the app named Drag, Drop & Upload Files to Amazon S3 for this am using the same  and its very easy to use and having advanced features like you can delete/view your files from salesforce, and also provide some additional customization .
Please have look:
Anjali Joshi 22Anjali Joshi 22
Hi All,

Is there a way to integrate salesforce with amazob seller central and update ineventory feed daily on amazon as well as on salesforce objetcs?
How it can be accoplished?