The client application performs an initialization step before it makes calls to Metadata and Data Integration web services operations.
To perform initialization, complete the following steps:
Instantiate the proxy class for the Metadata API.
In the example, the name of the Metadata API proxy object is
MWSProxy
. This section uses the name MWSProxy to refer to the Metadata API proxy object.
Instantiate the proxy class for the Data Integration API.
In the example, the name of the Data Integration API proxy object is
DIWSProxy
. This section uses the name DIWSProxy to refer to the Data Integration API proxy object.
Call the Login operation using the MWSProxy object.
The Login operation requires a repository name, user name, and password and returns a session ID. This operation call associates the MWSProxy object with the repository name and user name pair. All subsequent requests made to the batch web services operations using the MWSProxy object use these repository and user names.