• Markito
  • NEWBIE
  • 25 Points
  • Member since 2009

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

I get the following message:

 

 

System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element dfRunId. 

 

The callout response is:

 

 

<?xml version="1.0" ?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <ns:uploadDataFlowResponse xmlns:ns="http://jobs.ws.test.com/types"> <dfRunId xmlns="">1613</dfRunId> <confName xmlns=""> ContractCommitmentRecordFromXml </confName> <dfRunName xmlns=""> ContractCommitmentRecordFromXml [JobWebService_Fri Aug 14 08:39:48 PDT 2009] - 2009/08/14 08:39:48 </dfRunName> <errorCount xmlns="">0</errorCount> <warningCount xmlns="">0</warningCount> <numEntriesProcessed xmlns="">0</numEntriesProcessed> <numEntriesProcessedSuccess xmlns=""> 0 </numEntriesProcessedSuccess> <numEntriesProcessedFailed xmlns=""> 0 </numEntriesProcessedFailed> <msgSummary xmlns=""> Name: ContractCommitmentRecordFromXml [JobWebService_Fri Aug 14 08:39:48 PDT 2009] - 2009/08/14 08:39:48 Error: 0 Warning: 0 </msgSummary> <startDate xmlns="">2009-08-14T15:39:48.204Z</startDate> <endDate xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"> </endDate> </ns:uploadDataFlowResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

 

 The relevent classes for the response are:

 

 

public class uploadDataFlowResponse_element { public testWebServicesClasses.wSDataFlowStatusResult result; private String[] result_type_info = new String[]{'result','http://jobs.ws.test.com/types','wSDataFlowStatusResult','1','1','false'}; private String[] apex_schema_type_info = new String[]{'http://jobs.ws.test.com/types','false','false'}; private String[] field_order_type_info = new String[]{'result'}; } public class wSDataFlowStatusResult { public Long dfRunId; public String confName; public String dfRunName; public Integer errorCount; public Integer warningCount; public Integer numEntriesProcessed; public Integer numEntriesProcessedSuccess; public Integer numEntriesProcessedFailed; public String msgSummary; public DateTime startDate; public DateTime endDate; private String[] dfRunId_type_info = new String[]{'dfRunId','','long','1','1','false'}; private String[] confName_type_info = new String[]{'confName','','string','1','1','false'}; private String[] dfRunName_type_info = new String[]{'dfRunName','','string','1','1','false'}; private String[] errorCount_type_info = new String[]{'errorCount','','integer','1','1','false'}; private String[] warningCount_type_info = new String[]{'warningCount','','integer','1','1','false'}; private String[] numEntriesProcessed_type_info = new String[]{'numEntriesProcessed','','integer','1','1','false'}; private String[] numEntriesProcessedSuccess_type_info = new String[]{'numEntriesProcessedSuccess','','integer','1','1','false'}; private String[] numEntriesProcessedFailed_type_info = new String[]{'numEntriesProcessedFailed','','integer','1','1','false'}; private String[] msgSummary_type_info = new String[]{'msgSummary','','string','1','1','false'}; private String[] startDate_type_info = new String[]{'startDate','','dateTime','1','1','true'}; private String[] endDate_type_info = new String[]{'endDate','http://www.w3.org/2001/XMLSchema','dateTime','1','1','true'}; private String[] apex_schema_type_info = new String[]{'http://jobs.ws.test.com/types','false','false'}; private String[] field_order_type_info = new String[]{'dfRunId','confName','dfRunName','errorCount','warningCount','numEntriesProcessed','numEntriesProcessedSuccess','numEntriesProcessedFailed','msgSummary','startDate','endDate'}; }

 

 

 

 

I get the following message:

 

 

System.CalloutException: Web service callout failed: Unable to parse callout response. Apex type not found for element dfRunId. 

 

The callout response is:

 

 

<?xml version="1.0" ?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <ns:uploadDataFlowResponse xmlns:ns="http://jobs.ws.test.com/types"> <dfRunId xmlns="">1613</dfRunId> <confName xmlns=""> ContractCommitmentRecordFromXml </confName> <dfRunName xmlns=""> ContractCommitmentRecordFromXml [JobWebService_Fri Aug 14 08:39:48 PDT 2009] - 2009/08/14 08:39:48 </dfRunName> <errorCount xmlns="">0</errorCount> <warningCount xmlns="">0</warningCount> <numEntriesProcessed xmlns="">0</numEntriesProcessed> <numEntriesProcessedSuccess xmlns=""> 0 </numEntriesProcessedSuccess> <numEntriesProcessedFailed xmlns=""> 0 </numEntriesProcessedFailed> <msgSummary xmlns=""> Name: ContractCommitmentRecordFromXml [JobWebService_Fri Aug 14 08:39:48 PDT 2009] - 2009/08/14 08:39:48 Error: 0 Warning: 0 </msgSummary> <startDate xmlns="">2009-08-14T15:39:48.204Z</startDate> <endDate xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"> </endDate> </ns:uploadDataFlowResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

 

 The relevent classes for the response are:

 

 

public class uploadDataFlowResponse_element { public testWebServicesClasses.wSDataFlowStatusResult result; private String[] result_type_info = new String[]{'result','http://jobs.ws.test.com/types','wSDataFlowStatusResult','1','1','false'}; private String[] apex_schema_type_info = new String[]{'http://jobs.ws.test.com/types','false','false'}; private String[] field_order_type_info = new String[]{'result'}; } public class wSDataFlowStatusResult { public Long dfRunId; public String confName; public String dfRunName; public Integer errorCount; public Integer warningCount; public Integer numEntriesProcessed; public Integer numEntriesProcessedSuccess; public Integer numEntriesProcessedFailed; public String msgSummary; public DateTime startDate; public DateTime endDate; private String[] dfRunId_type_info = new String[]{'dfRunId','','long','1','1','false'}; private String[] confName_type_info = new String[]{'confName','','string','1','1','false'}; private String[] dfRunName_type_info = new String[]{'dfRunName','','string','1','1','false'}; private String[] errorCount_type_info = new String[]{'errorCount','','integer','1','1','false'}; private String[] warningCount_type_info = new String[]{'warningCount','','integer','1','1','false'}; private String[] numEntriesProcessed_type_info = new String[]{'numEntriesProcessed','','integer','1','1','false'}; private String[] numEntriesProcessedSuccess_type_info = new String[]{'numEntriesProcessedSuccess','','integer','1','1','false'}; private String[] numEntriesProcessedFailed_type_info = new String[]{'numEntriesProcessedFailed','','integer','1','1','false'}; private String[] msgSummary_type_info = new String[]{'msgSummary','','string','1','1','false'}; private String[] startDate_type_info = new String[]{'startDate','','dateTime','1','1','true'}; private String[] endDate_type_info = new String[]{'endDate','http://www.w3.org/2001/XMLSchema','dateTime','1','1','true'}; private String[] apex_schema_type_info = new String[]{'http://jobs.ws.test.com/types','false','false'}; private String[] field_order_type_info = new String[]{'dfRunId','confName','dfRunName','errorCount','warningCount','numEntriesProcessed','numEntriesProcessedSuccess','numEntriesProcessedFailed','msgSummary','startDate','endDate'}; }