Я хотел бы знать параметры метода вызова, используемого 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
);
Может ли кто-нибудь помочь заполнить пробелы?