The getPort method returns a stub. The parameter
serviceEndpointInterface
specifies the service
endpoint interface that is supported by the returned proxy.
In the implementation of this method, the JAX-WS
runtime system takes the responsibility of selecting a protocol
binding (and a port) and configuring the proxy accordingly.
The returned proxy should not be reconfigured by the client.
Returns:
Object instance that supports the
specified service endpoint interface
Parameters:
-
serviceEndpointInterface - Service endpoint interface
Throws:
-
WebServiceException -
- If there is an error during creation
of the proxy
- If there is any missing WSDL metadata
as required by this method
- Optionally, if an illegal
serviceEndpointInterface
is specified