When to use high-level SOAP APIs
The recommendation is to use the high-level APIs wherever possible to implement SOAP Web services.
High-level APIs require less code in your application. They provide functionality that would otherwise need to be handled with many low-level API calls. They are therefore easier to use in comparison with low-level APIs.
You can perform a defined set of simple functions with one call to a high-level API. The global
endpoint user-defined type (tGlobalEndpointType
) generated by the WSDL stub, is
used by the high-level API. For example, you can set variables for the interface, binding, etc., in
the endpoint type record at runtime. For an example of this use see the Compression and a Web services client.