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
sean*harrisonsean*harrison 

CalloutException : Failed to get next element

I can't get past this error message using an class generated from a WSDL. There's one or two threads that touch on this but nothing helpful. What does this message mean?

 

Web service callout failed: Failed to get next element

Error is in expression '{!doWSDLCallout}' in component <apex:page> in page simplewscallout
From debug log:

14:06:51.976 (976692000)|SYSTEM_METHOD_ENTRY|[99]|WebServiceCallout.invoke(APEX_OBJECT, APEX_OBJECT, MAP, LIST)
14:06:51.982 (982105000)|CALLOUT_REQUEST|[99]|searchReqType:[apex_schema_type_info=(http://xxx.xxx.com:7502/services/salesforce/service, true, false), clientId=, clientId_type_info=(clientId, http://www.w3.org/2001/XMLSchema, string, 1, 1, false), clientTransactionId=, clientTransactionId_type_info=(clientTransactionId, http://www.w3.org/2001/XMLSchema, string, 0, 1, false), field_order_type_info=(clientId, clientTransactionId, searchKey, ), =Type:[apex_schema_type_info=(http://www.xxx.com/services/salesforce/service_v1.0, true, false), field_order_type_info=(prescriber), prescriber=null, prescriber_type_info=(prescriber, http://www.xxx.com/services/salesforce/service_v1.0, prescriberType, 1, -1, false)], _type_info=(, http://xxx.xxx.com:7502/services/salesforce/service, Type, 1, 1, false), searchKey=, searchKey_type_info=(searchKey, http://www.w3.org/2001/XMLSchema, string, 1, 1, false)]::SFDC_STACK_DEPTH=1 SOAPAction="http://xxx.xxx.com:7502/services/salesforce/service" User-Agent=SFDC-Callout/25.0 Accept=text/xml Content-Type=text/xml; charset=UTF-8
14:06:52.050 (1050268000)|EXCEPTION_THROWN|[99]|System.CalloutException: Web service callout failed: Failed to get next element

Mayank_JoshiMayank_Joshi

Hey Sean,

 

I hope , you were able to resolve issue related with "System.CalloutException: Web service callout failed: Failed to get next element " .

 

If you were, then do share your finding with me .  

 

Thanks a Lot !! 

Kalpesh Vyas 7Kalpesh Vyas 7
Anyone have resolution for this, I am also facing same problem.
Mark Brown 33Mark Brown 33
would be useful if people returned to their un-answered questions when they have a resolution and answer it themselves