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
Sfdc11Sfdc11 

Attachment Response -WEBSERVICE

Hi,

 

External System sending response as Attachment to Salesforce(Wsdl to Apex).

 

Since response as attachment,Im not able to get/read  it in salesforce and store into custom obj..Is this possible????

 Sending response as text file which has XML data.

 

Anybody worked on this kinda req???

Error:

 

common.apex.runtime.impl.ExecutionException: Web service callout failed: Failed to get next element"|0x7ae90bbb
 
Help me out...
Bhawani SharmaBhawani Sharma
Why don't you send this as blob from external system to salesforce and then convert blob to appropriate document.