Before you call any web service operation, you must create the web service object in the client proxy classes and get the port for the web service.
To create the web service object, instantiate the service locator classes. In the sample program, the following code instantiates the service locator:
CustomerLookup_MULTIPLEROW service = new CustomerLookup_MULTIPLEROWLocator();
To get the port for the web service, use the proxy class created for the port type. In the sample program, the following code gets the port for the web service:
CustomerLookup_MULTIPLEROWPort port =
service.getCustomerLookup_MULIPLEROWPort(new java.net.URL(END_POINT_URL);
The variable END_POINT_URL contains the URL of the WSDL.