Объявление о генераторе WSDL2Apex с открытым исходным кодом
ел бы знать параметры для метода invoke, используемого Salesforce для вызова удаленных веб-сервисов. У меня есть служба, которую я могу использовать, но служба WSDL не определяет требования безопасности, поэтому я надеюсь, что смогу добавить эту информацию вручную (службы используют WS-Security, пропущенный через заголовки Soap).
Вот что я (думаю, я) знаю до сих пор:
WebServiceCallout.invoke(
Class servicePort, //Usually set to "this", contains httpheader info as well as ?
request_x, //Request object, defining schema, properties, and field order
response_map_x, //Response object, defining schema, properties, and field order
new String[]{
String endpoint, //Endpoint of the service
String ?, //what is this?
String methodSchema, //Schema for the request object?
String method, //Name of the request method?
String responseSchema, //Schema for the response object?
String response, //Name of the response object?
String responseClass} //Name of the Apex class the response will be converted to
);
Кто-нибудь может помочь заполнить пробелы?