title: What are the parameters for the Salesforce WebServiceCallout.invoke method?
body: <p>I would like to know the parameters for the invoke method used by Salesforce to invoke remote web services. I have a service that I'm suposed to be able to invoke, but the service WSDL does not define the security requirements, so I'm hoping I can add that information manually (The services uses WS-Security passed through Soap headers).</p>
  
  <p>Here is what I (think I) know so far:</p>
  
  <pre><code>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
  );
  </code></pre>
  
  <p>Can anyone help fill in the gaps?</p>