org.exist.soap
Class QueryServiceLocator

java.lang.Object
  extended by org.apache.axis.client.Service
      extended by org.exist.soap.QueryServiceLocator
All Implemented Interfaces:
Serializable, Referenceable, Service, QueryService

public class QueryServiceLocator
extends Service
implements QueryService

See Also:
Serialized Form

Constructor Summary
QueryServiceLocator()
           
QueryServiceLocator(EngineConfiguration config)
           
QueryServiceLocator(String wsdlLoc, QName sName)
           
 
Method Summary
 Remote getPort(Class serviceEndpointInterface)
          For the given interface, get the stub implementation.
 Remote getPort(QName portName, Class serviceEndpointInterface)
          For the given interface, get the stub implementation.
 Iterator getPorts()
           
 Query getQuery()
           
 Query getQuery(URL portAddress)
           
 String getQueryAddress()
           
 String getQueryWSDDServiceName()
           
 QName getServiceName()
           
 void setEndpointAddress(QName portName, String address)
          Set the endpoint address for the specified port name.
 void setEndpointAddress(String portName, String address)
          Set the endpoint address for the specified port name.
 void setQueryEndpointAddress(String address)
           
 void setQueryWSDDServiceName(String name)
           
 
Methods inherited from class org.apache.axis.client.Service
createCall, createCall, createCall, createCall, getCacheWSDL, getCall, getCalls, getEngine, getHandlerRegistry, getMaintainSession, getPort, getReference, getTypeMappingRegistry, getWSDLDocumentLocation, getWSDLParser, setCacheWSDL, setEngine, setEngineConfiguration, setMaintainSession, setTypeMappingRegistry, setTypeMappingVersion
 
Methods inherited from class java.lang.Object
equals, 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

QueryServiceLocator

public QueryServiceLocator()

QueryServiceLocator

public QueryServiceLocator(EngineConfiguration config)

QueryServiceLocator

public QueryServiceLocator(String wsdlLoc,
                           QName sName)
                    throws ServiceException
Throws:
ServiceException
Method Detail

getQueryAddress

public String getQueryAddress()
Specified by:
getQueryAddress in interface QueryService

getQueryWSDDServiceName

public String getQueryWSDDServiceName()

setQueryWSDDServiceName

public void setQueryWSDDServiceName(String name)

getQuery

public Query getQuery()
               throws ServiceException
Specified by:
getQuery in interface QueryService
Throws:
ServiceException

getQuery

public Query getQuery(URL portAddress)
               throws ServiceException
Specified by:
getQuery in interface QueryService
Throws:
ServiceException

setQueryEndpointAddress

public void setQueryEndpointAddress(String address)

getPort

public Remote getPort(Class serviceEndpointInterface)
               throws 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 Service
Overrides:
getPort in class Service
Throws:
ServiceException

getPort

public Remote getPort(QName portName,
                      Class serviceEndpointInterface)
               throws 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 Service
Overrides:
getPort in class Service
Throws:
ServiceException

getServiceName

public QName getServiceName()
Specified by:
getServiceName in interface Service
Overrides:
getServiceName in class Service

getPorts

public Iterator getPorts()
Specified by:
getPorts in interface Service
Overrides:
getPorts in class Service

setEndpointAddress

public void setEndpointAddress(String portName,
                               String address)
                        throws ServiceException
Set the endpoint address for the specified port name.

Throws:
ServiceException

setEndpointAddress

public void setEndpointAddress(QName portName,
                               String address)
                        throws ServiceException
Set the endpoint address for the specified port name.

Throws:
ServiceException


Copyright (C) Wolfgang Meier. All rights reserved.