Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. public class wwwTheyukicompanyCom1 {
  2. public class ProcessSalesInvoicesResponse_element {
  3. public wwwTheyukicompanyCom1.ProcessSalesInvoicesResult_element ProcessSalesInvoicesResult;
  4. private String[] ProcessSalesInvoicesResult_type_info = new String[]{'ProcessSalesInvoicesResult','http://www.theyukicompany.com/',null,'0','1','false'};
  5. private String[] apex_schema_type_info = new String[]{'http://www.theyukicompany.com/','true','false'};
  6. private String[] field_order_type_info = new String[]{'ProcessSalesInvoicesResult'};
  7. }
  8. public class ProcessSalesInvoices_element {
  9. public String sessionId;
  10. public String administrationId;
  11. public wwwTheyukicompanyCom1.xmlDoc_element xmlDoc;
  12. private String[] sessionId_type_info = new String[]{'sessionId','http://www.theyukicompany.com/',null,'0','1','false'};
  13. private String[] administrationId_type_info = new String[]{'administrationId','http://www.theyukicompany.com/',null,'0','1','false'};
  14. private String[] xmlDoc_type_info = new String[]{'xmlDoc','http://www.theyukicompany.com/',null,'0','1','false'};
  15. private String[] apex_schema_type_info = new String[]{'http://www.theyukicompany.com/','true','false'};
  16. private String[] field_order_type_info = new String[]{'sessionId','administrationId','xmlDoc'};
  17. }
  18. public class ProcessSalesInvoicesResult_element {
  19. private String[] apex_schema_type_info = new String[]{'http://www.theyukicompany.com/','true','false'};
  20. private String[] field_order_type_info = new String[]{};
  21. }
  22. public class xmlDoc_element {
  23. private String[] apex_schema_type_info = new String[]{'http://www.theyukicompany.com/','true','false'};
  24. private String[] field_order_type_info = new String[]{};
  25. }
  26. public class SalesSoap {
  27. public String endpoint_x = 'http://api.yukiworks.nl/ws/Sales.asmx';
  28. public Map<String,String> inputHttpHeaders_x;
  29. public Map<String,String> outputHttpHeaders_x;
  30. public String clientCertName_x;
  31. public String clientCert_x;
  32. public String clientCertPasswd_x;
  33. public Integer timeout_x;
  34. private String[] ns_map_type_info = new String[]{'http://www.theyukicompany.com/', 'wwwTheyukicompanyCom1'};
  35. public wwwTheyukicompanyCom1.ProcessSalesInvoicesResult_element ProcessSalesInvoices(String sessionId,String administrationId,wwwTheyukicompanyCom1.xmlDoc_element xmlDoc) {
  36. wwwTheyukicompanyCom1.ProcessSalesInvoices_element request_x = new wwwTheyukicompanyCom1.ProcessSalesInvoices_element();
  37. request_x.sessionId = sessionId;
  38. request_x.administrationId = administrationId;
  39. request_x.xmlDoc = xmlDoc;
  40. wwwTheyukicompanyCom1.ProcessSalesInvoicesResponse_element response_x;
  41. Map<String, wwwTheyukicompanyCom1.ProcessSalesInvoicesResponse_element> response_map_x = new Map<String, wwwTheyukicompanyCom1.ProcessSalesInvoicesResponse_element>();
  42. response_map_x.put('response_x', response_x);
  43. WebServiceCallout.invoke(
  44. this,
  45. request_x,
  46. response_map_x,
  47. new String[]{endpoint_x,
  48. 'http://www.theyukicompany.com/ProcessSalesInvoices',
  49. 'http://www.theyukicompany.com/',
  50. 'ProcessSalesInvoices',
  51. 'http://www.theyukicompany.com/',
  52. 'ProcessSalesInvoicesResponse',
  53. 'wwwTheyukicompanyCom1.ProcessSalesInvoicesResponse_element'}
  54. );
  55. response_x = response_map_x.get('response_x');
  56. return response_x.ProcessSalesInvoicesResult;
  57. }
  58. }
  59. }
  60.  
  61. wwwTheyukicompanyCom1.SalesSoap s = new wwwTheyukicompanyCom1.SalesSoap();
  62. wwwTheyukicompanyCom1.xmlDoc_element xmldoc = new wwwTheyukicompanyCom1.xmlDoc_element();
  63. s.ProcessSalesInvoices('','',xmldoc);
  64.  
  65. public class xmlDoc_element {
  66. private String[] apex_schema_type_info = new String[]{'http://www.theyukicompany.com/','true','false'};
  67. private String[] field_order_type_info = new String[]{'*'};
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement