• A Meghnathi
  • NEWBIE
  • 5 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

I am currently trying to integrate with the Amazon AWS Apex code. Specifically, I'm trying to use the CopyObject method in the S3 class. It seems to fail on the WebServiceCallout.invoke call. First off, I can't find any documentation on the WebServiceCallout class. It doesn't appear anywhere in the Apex Code Language Reference - http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm. Where can one find documentation on this class?

 

The error I'm getting is:

System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element http://s3.amazonaws.com/doc/2006-03-01/=CopyObjectResponse

 

I'm not sure how to further debug this problem. Any help would be appreciated.

 

-David

  • March 28, 2009
  • Like
  • 0

Hi,

 

I am trying to integrate Amazon S3 and salesforce. I have created an Apex class from the S3 WSDl using WSDL2Apex. When the S3 copyObject method is invoked, I get the following exception 

 

System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element http://s3.amazonaws.com/doc/2006-03-01/=CopyObjectResponse

  

 

However, the object copy from one bucket to another is successful. Can somebody help me with understanding this exception?

 

I tried debugging the using Force.com IDE and the response seems to be the one expected for a successful COPY operation.

 

 

 

  

Message Edited by trish on 03-03-2009 10:52 PM
  • March 04, 2009
  • Like
  • 0