我想知道Salesforce用于调用远程Web服务的invoke方法的参数.我有一个服务,我可以调用,但服务WSDL没有定义安全要求,所以我希望我可以手动添加该信息(服务使用通过Soap头传递的WS-Security).
这是我(我想)到目前为止所知道的:
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 …Run Code Online (Sandbox Code Playgroud)