相关疑难解决方法(0)

Salesforce WebServiceCallout.invoke方法的参数是什么?

我想知道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)

api salesforce callouts

13
推荐指数
2
解决办法
1万
查看次数

标签 统计

api ×1

callouts ×1

salesforce ×1