com.ibm.websphere.samples.webservices.addr
Class AddressBookServiceLocator

java.lang.Object
  extended by com.ibm.ws.webservices.multiprotocol.models.ModelService
      extended by com.ibm.ws.webservices.multiprotocol.AgnosticService
          extended by com.ibm.websphere.samples.webservices.addr.AddressBookServiceLocator
All Implemented Interfaces:
AddressBookService, com.ibm.ws.webservices.multiprotocol.GeneratedService, javax.xml.rpc.Service

public class AddressBookServiceLocator
extends com.ibm.ws.webservices.multiprotocol.AgnosticService
implements com.ibm.ws.webservices.multiprotocol.GeneratedService, AddressBookService


Field Summary
 
Fields inherited from class com.ibm.ws.webservices.multiprotocol.models.ModelService
context, transport, typeMappingRegistry
 
Constructor Summary
AddressBookServiceLocator()
           
AddressBookServiceLocator(com.ibm.ws.webservices.multiprotocol.ServiceContext ctx)
           
 
Method Summary
 AddressBook getAddressBookJ2WB()
           
 AddressBook getAddressBookJ2WB(java.net.URL portAddress)
           
 java.lang.String getAddressBookJ2WBAddress()
           
 java.lang.String getAddressBookJ2WBWSDDPortName()
           
 AddressBook getAddressBookJ2WE()
           
 AddressBook getAddressBookJ2WE(java.net.URL portAddress)
           
 java.lang.String getAddressBookJ2WEAddress()
           
 java.lang.String getAddressBookJ2WEWSDDPortName()
           
 AddressBook getAddressBookW2JB()
           
 AddressBook getAddressBookW2JB(java.net.URL portAddress)
           
 java.lang.String getAddressBookW2JBAddress()
           
 java.lang.String getAddressBookW2JBWSDDPortName()
           
 AddressBook getAddressBookW2JE()
           
 AddressBook getAddressBookW2JE(java.net.URL portAddress)
           
 java.lang.String getAddressBookW2JEAddress()
           
 java.lang.String getAddressBookW2JEWSDDPortName()
           
 javax.xml.rpc.Call[] getCalls(javax.xml.namespace.QName portName)
           
 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.
protected  java.util.Map getPort2NamespaceMap()
           
 java.util.Iterator getPorts()
           
 javax.xml.namespace.QName getServiceName()
           
 void setAddressBookJ2WBWSDDPortName(java.lang.String name)
           
 void setAddressBookJ2WEWSDDPortName(java.lang.String name)
           
 void setAddressBookW2JBWSDDPortName(java.lang.String name)
           
 void setAddressBookW2JEWSDDPortName(java.lang.String name)
           
 void setPortNamePrefix(java.lang.String prefix)
           
 
Methods inherited from class com.ibm.ws.webservices.multiprotocol.AgnosticService
chooseAvailablePort, chooseDefaultPort, doCreateCall, doGetPort, doGetPort, getDefaultPortName, getDefaultPortQName, getDefaultServiceNamespace, getGeneratedStub, getHandlerRegistry, getInvocationHandler, getStub, getTypeMappingRegistry, getURL, getWhichGlobalHandlersToUseOffThread, isDefaultNamespace, isDefaultPort, makeTransport, setDefaultServiceNamespace, useGlobalHandlers
 
Methods inherited from class com.ibm.ws.webservices.multiprotocol.models.ModelService
createCall, createCall, createCall, createCall, createCall, createCall, createCall, createCallInternal, getAddressForPort, getAvailablePortNames, getDefaultPortName, getDefaultPortNameForSEI, getInvocationHandler, getPortsForSEI, getPortTypeForSEI, getPreferredPortForPortType, getTransport, getWSDLDocumentLocation, isPortAvailable, makeDynamicProxyStub
 
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, getHandlerRegistry, getTypeMappingRegistry, getWSDLDocumentLocation
 

Constructor Detail

AddressBookServiceLocator

public AddressBookServiceLocator()

AddressBookServiceLocator

public AddressBookServiceLocator(com.ibm.ws.webservices.multiprotocol.ServiceContext ctx)
Method Detail

getAddressBookW2JBAddress

public java.lang.String getAddressBookW2JBAddress()
Specified by:
getAddressBookW2JBAddress in interface AddressBookService

getAddressBookW2JBWSDDPortName

public java.lang.String getAddressBookW2JBWSDDPortName()

setAddressBookW2JBWSDDPortName

public void setAddressBookW2JBWSDDPortName(java.lang.String name)

getAddressBookW2JB

public AddressBook getAddressBookW2JB()
                               throws javax.xml.rpc.ServiceException
Specified by:
getAddressBookW2JB in interface AddressBookService
Throws:
javax.xml.rpc.ServiceException

getAddressBookW2JB

public AddressBook getAddressBookW2JB(java.net.URL portAddress)
                               throws javax.xml.rpc.ServiceException
Specified by:
getAddressBookW2JB in interface AddressBookService
Throws:
javax.xml.rpc.ServiceException

getAddressBookJ2WBAddress

public java.lang.String getAddressBookJ2WBAddress()
Specified by:
getAddressBookJ2WBAddress in interface AddressBookService

getAddressBookJ2WBWSDDPortName

public java.lang.String getAddressBookJ2WBWSDDPortName()

setAddressBookJ2WBWSDDPortName

public void setAddressBookJ2WBWSDDPortName(java.lang.String name)

getAddressBookJ2WB

public AddressBook getAddressBookJ2WB()
                               throws javax.xml.rpc.ServiceException
Specified by:
getAddressBookJ2WB in interface AddressBookService
Throws:
javax.xml.rpc.ServiceException

getAddressBookJ2WB

public AddressBook getAddressBookJ2WB(java.net.URL portAddress)
                               throws javax.xml.rpc.ServiceException
Specified by:
getAddressBookJ2WB in interface AddressBookService
Throws:
javax.xml.rpc.ServiceException

getAddressBookJ2WEAddress

public java.lang.String getAddressBookJ2WEAddress()
Specified by:
getAddressBookJ2WEAddress in interface AddressBookService

getAddressBookJ2WEWSDDPortName

public java.lang.String getAddressBookJ2WEWSDDPortName()

setAddressBookJ2WEWSDDPortName

public void setAddressBookJ2WEWSDDPortName(java.lang.String name)

getAddressBookJ2WE

public AddressBook getAddressBookJ2WE()
                               throws javax.xml.rpc.ServiceException
Specified by:
getAddressBookJ2WE in interface AddressBookService
Throws:
javax.xml.rpc.ServiceException

getAddressBookJ2WE

public AddressBook getAddressBookJ2WE(java.net.URL portAddress)
                               throws javax.xml.rpc.ServiceException
Specified by:
getAddressBookJ2WE in interface AddressBookService
Throws:
javax.xml.rpc.ServiceException

getAddressBookW2JEAddress

public java.lang.String getAddressBookW2JEAddress()
Specified by:
getAddressBookW2JEAddress in interface AddressBookService

getAddressBookW2JEWSDDPortName

public java.lang.String getAddressBookW2JEWSDDPortName()

setAddressBookW2JEWSDDPortName

public void setAddressBookW2JEWSDDPortName(java.lang.String name)

getAddressBookW2JE

public AddressBook getAddressBookW2JE()
                               throws javax.xml.rpc.ServiceException
Specified by:
getAddressBookW2JE in interface AddressBookService
Throws:
javax.xml.rpc.ServiceException

getAddressBookW2JE

public AddressBook getAddressBookW2JE(java.net.URL portAddress)
                               throws javax.xml.rpc.ServiceException
Specified by:
getAddressBookW2JE in interface AddressBookService
Throws:
javax.xml.rpc.ServiceException

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. This service has multiple ports for a given interface; the proxy implementation returned may be indeterminate.

Specified by:
getPort in interface javax.xml.rpc.Service
Overrides:
getPort in class com.ibm.ws.webservices.multiprotocol.models.ModelService
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
Overrides:
getPort in class com.ibm.ws.webservices.multiprotocol.models.ModelService
Throws:
javax.xml.rpc.ServiceException

setPortNamePrefix

public void setPortNamePrefix(java.lang.String prefix)
Specified by:
setPortNamePrefix in interface com.ibm.ws.webservices.multiprotocol.GeneratedService

getServiceName

public javax.xml.namespace.QName getServiceName()
Specified by:
getServiceName in interface javax.xml.rpc.Service
Overrides:
getServiceName in class com.ibm.ws.webservices.multiprotocol.models.ModelService

getPort2NamespaceMap

protected java.util.Map getPort2NamespaceMap()

getPorts

public java.util.Iterator getPorts()
Specified by:
getPorts in interface javax.xml.rpc.Service
Overrides:
getPorts in class com.ibm.ws.webservices.multiprotocol.models.ModelService

getCalls

public javax.xml.rpc.Call[] getCalls(javax.xml.namespace.QName portName)
                              throws javax.xml.rpc.ServiceException
Specified by:
getCalls in interface javax.xml.rpc.Service
Overrides:
getCalls in class com.ibm.ws.webservices.multiprotocol.models.ModelService
Throws:
javax.xml.rpc.ServiceException