ca.bc.gov.webade.user.provider.capws.v4
Class UserServicesLocator

java.lang.Object
  extended byorg.apache.axis.client.Service
      extended byca.bc.gov.webade.user.provider.capws.v4.UserServicesLocator
All Implemented Interfaces:
javax.naming.Referenceable, java.io.Serializable, javax.xml.rpc.Service, UserServices

public class UserServicesLocator
extends org.apache.axis.client.Service
implements UserServices

Author:
jross
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.axis.client.Service
org.apache.axis.client.Service.HandlerRegistryImpl
 
Field Summary
 
Fields inherited from class org.apache.axis.client.Service
_call
 
Constructor Summary
UserServicesLocator()
          Default constructor.
UserServicesLocator(org.apache.axis.EngineConfiguration config)
           
UserServicesLocator(java.lang.String address)
           
UserServicesLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName)
           
 
Method Summary
 java.rmi.Remote getPort(java.lang.Class serviceEndpointInterface)
          For the given interface, get the stub implementation.
 java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class serviceEndpointInterface)
          For the given interface, get the stub implementation.
 java.util.Iterator getPorts()
           
 javax.xml.namespace.QName getServiceName()
           
 UserServicesSoap getUserServicesSoap()
           
 UserServicesSoap getUserServicesSoap(java.net.URL portAddress)
           
 java.lang.String getUserServicesSoapAddress()
           
 java.lang.String getUserServicesSoapWSDDServiceName()
           
 void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address)
          Set the endpoint address for the specified port name.
 void setEndpointAddress(java.lang.String portName, java.lang.String address)
          Set the endpoint address for the specified port name.
 void setUserServicesSoapEndpointAddress(java.lang.String address)
           
 void setUserServicesSoapWSDDServiceName(java.lang.String name)
           
 
Methods inherited from class org.apache.axis.client.Service
createCall, createCall, createCall, createCall, getAxisClient, getCacheWSDL, getCall, getCalls, getEngine, getEngineConfiguration, getHandlerRegistry, getMaintainSession, getPort, getReference, getTypeMappingRegistry, getWSDLDocumentLocation, getWSDLParser, getWSDLService, setCacheWSDL, setEngine, setEngineConfiguration, setMaintainSession, setTypeMappingRegistry, setTypeMappingVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.rpc.Service
createCall, createCall, createCall, createCall, getCalls, getHandlerRegistry, getTypeMappingRegistry, getWSDLDocumentLocation
 

Constructor Detail

UserServicesLocator

public UserServicesLocator()
Default constructor.


UserServicesLocator

public UserServicesLocator(java.lang.String address)
Parameters:
address - The user services soap address.

UserServicesLocator

public UserServicesLocator(org.apache.axis.EngineConfiguration config)
Parameters:
config - The engine configuration.

UserServicesLocator

public UserServicesLocator(java.lang.String wsdlLoc,
                           javax.xml.namespace.QName sName)
                    throws javax.xml.rpc.ServiceException
Parameters:
wsdlLoc - The WSDL location.
sName - The service name.
Throws:
javax.xml.rpc.ServiceException - Thrown if an error occurs while creating the locator.
Method Detail

getUserServicesSoapAddress

public java.lang.String getUserServicesSoapAddress()
Specified by:
getUserServicesSoapAddress in interface UserServices
Returns:
The UserServicesSoapAddress.
See Also:
UserServices.getUserServicesSoapAddress()

getUserServicesSoapWSDDServiceName

public java.lang.String getUserServicesSoapWSDDServiceName()
Returns:
The UserServicesSoapWSDDServiceName.

setUserServicesSoapWSDDServiceName

public void setUserServicesSoapWSDDServiceName(java.lang.String name)
Parameters:
name - The UserServicesSoapWSDDServiceName.

getUserServicesSoap

public UserServicesSoap getUserServicesSoap()
                                     throws javax.xml.rpc.ServiceException
Specified by:
getUserServicesSoap in interface UserServices
Returns:
The UserServicesSoap object.
Throws:
javax.xml.rpc.ServiceException - Thrown if an error occurs while loading the UserServicesSoap object.
See Also:
UserServices.getUserServicesSoap()

getUserServicesSoap

public UserServicesSoap getUserServicesSoap(java.net.URL portAddress)
                                     throws javax.xml.rpc.ServiceException
Specified by:
getUserServicesSoap in interface UserServices
Parameters:
portAddress - The port address to use when loading the UserServicesSoap object.
Returns:
The UserServicesSoap object using the given port address.
Throws:
javax.xml.rpc.ServiceException - Thrown if an error occurs while loading the UserServicesSoap object.
See Also:
UserServices.getUserServicesSoap(java.net.URL)

setUserServicesSoapEndpointAddress

public void setUserServicesSoapEndpointAddress(java.lang.String address)
Parameters:
address - The endpoint address.

getPort

public java.rmi.Remote getPort(java.lang.Class serviceEndpointInterface)
                        throws javax.xml.rpc.ServiceException
For the given interface, get the stub implementation. If this service has no port for the given interface, then ServiceException is thrown.

Specified by:
getPort in interface javax.xml.rpc.Service
Throws:
javax.xml.rpc.ServiceException

getPort

public java.rmi.Remote getPort(javax.xml.namespace.QName portName,
                               java.lang.Class serviceEndpointInterface)
                        throws javax.xml.rpc.ServiceException
For the given interface, get the stub implementation. If this service has no port for the given interface, then ServiceException is thrown.

Specified by:
getPort in interface javax.xml.rpc.Service
Throws:
javax.xml.rpc.ServiceException

getServiceName

public javax.xml.namespace.QName getServiceName()
Specified by:
getServiceName in interface javax.xml.rpc.Service
See Also:
Service.getServiceName()

getPorts

public java.util.Iterator getPorts()
Specified by:
getPorts in interface javax.xml.rpc.Service
See Also:
Service.getPorts()

setEndpointAddress

public void setEndpointAddress(java.lang.String portName,
                               java.lang.String address)
                        throws javax.xml.rpc.ServiceException
Set the endpoint address for the specified port name.

Parameters:
portName - The port name.
address - The address.
Throws:
javax.xml.rpc.ServiceException - Thrown if an error occurs while setting the endpoint address.

setEndpointAddress

public void setEndpointAddress(javax.xml.namespace.QName portName,
                               java.lang.String address)
                        throws javax.xml.rpc.ServiceException
Set the endpoint address for the specified port name.

Parameters:
portName - The port name.
address - The address.
Throws:
javax.xml.rpc.ServiceException - Thrown if an error occurs while setting the endpoint address.