You need to sign in to do that
Don't have an account?
3421
Write an anonymous test response of apex to wsdl and use response in batch class
I have a wsdl to Apex generated. The below is the method from the service that I could see
Here are the classes that is called in the method above
I did test the above wsdl in soap UI and here are the parameters that it is requring to see the response
public DataserviceReport.Response_element GetCustomReport(Dataservices.request_element request) { Dataservices.DataService_element request_x = new Dataservices.DataService_element();
Here are the classes that is called in the method above
public class DataserviceReport { public class Response_element { private String[] apex_schema_type_info = new String[]{'http://www.show.com/DataServices/CustomReportResponse/v1','true','false'}; private String[] field_order_type_info = new String[]{}; } public class DataService_element { public DataserviceReport.Response_element Response; private String[] Response_type_info = new String[]{'Response','http://www.show.com/DataServices/CustomReportResponse/v1',null,'0','1','false'}; private String[] apex_schema_type_info = new String[]{'http://www.show.com/DataServices/CustomReportResponse/v1','true','false'}; private String[] field_order_type_info = new String[]{'Response'}; } } //Generated by wsdl2apex public class Dataservices { public class DataService_element { public Dataservices.request_element request; private String[] request_type_info = new String[]{'request','http://www.show.com/DataServices/CustomReportRequest/v1',null,'0','1','false'}; private String[] apex_schema_type_info = new String[]{'http://www.show.com/DataServices/CustomReportRequest/v1','true','false'}; private String[] field_order_type_info = new String[]{'request'}; } public class request_element { private String[] apex_schema_type_info = new String[]{'http://www.show.com/DataServices/CustomReportRequest/v1','true','false'}; private String[] field_order_type_info = new String[]{}; } }
I did test the above wsdl in soap UI and here are the parameters that it is requring to see the response