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

Apex callouts using SOAP API WSDL returns null


I am Integrating external service with Salesforce dev org using SOAP API WSDL. I am trying to get the data from external service.

I have followed steps through the below link

The WSDL generated is Aysnchronous one which uses System.Continuation as its arguments.

The issue is when i do 
public Object processResponse() {   
      result = stockQuoteFuture.getValue();
       return null;

the getValue() method returns null. So i get null pointer exception on VF page.

I also get 'StockQuoteListResponse_elementFuture:[WebServiceCalloutFuture.label=Continuation-1]' in the debug logs. I am not sure what that means.

Any suggestion will be helpfull.


vinayaka murthyvinayaka murthy
I am facing same problem. you got any solution?
Hi Vinayaka,

The issue with my code was that I was resetting the variable value which stored getValue(). It was my bad. 

Can you post your code? I might able to advice something.

Aakriti GoyalAakriti Goyal
I am having the same problem. Not sure what the problem is. I am getting - [WebServiceCalloutFuture.label=Continuation-1]. Need help.
Ashwini Khot 16Ashwini Khot 16
   Does anyway have the solution for the same.