org.idoox.webservice.client
Interface WebServiceLookup


Deprecated. See Registry

public interface WebServiceLookup

Methods of WebServiceLookup interface serve for creation of the web service's stubs. The stub is an implementation of a particular java interface class that marshalls method calls to SOAP RPC calls to the web service endpoints.

The stub creation requires at least two arguments:

1) definition or wsdlURL that allows obtaining of the WSDL definition/description of the web service.

2) iface that is a java interface class for the stub to implement.

Lookup methods might take more arguments to avoid ambiguity of java interface class to the WSDL service's port association; semantics of particular method arguments will be described below, in each method documentation.

Since:
1.0

Method Summary
 java.lang.Object lookup(Definition definition, java.lang.Class iface)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(Definition definition, java.lang.Class iface, java.util.Properties lookupProps)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(Definition definition, java.lang.Class iface, java.lang.String endpointURI)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(Definition definition, java.lang.Class iface, java.lang.String endpointURI, java.util.Properties lookupProps)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(Definition definition, Service service, Port port, java.lang.Class iface)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(Definition definition, Service service, Port port, java.lang.Class iface, java.util.Properties lookupProps)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(Definition definition, Service service, Port port, java.lang.Class iface, java.lang.String endpointURI)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(Definition definition, Service service, Port port, java.lang.Class iface, java.lang.String endpointURI, java.util.Properties lookupProps)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(java.lang.String definitionURL, java.lang.Class iface)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(java.lang.String definitionURL, java.lang.Class iface, java.util.Properties lookupProps)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(java.lang.String definitionURL, java.lang.Class iface, java.lang.String endpointURI)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(java.lang.String definitionURL, java.lang.Class iface, java.lang.String endpointURI, java.util.Properties lookupProps)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(java.lang.String definitionURL, QName serviceQName, java.lang.String portName, java.lang.Class iface)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(java.lang.String definitionURL, QName serviceQName, java.lang.String portName, java.lang.Class iface, java.util.Properties lookupProps)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(java.lang.String definitionURL, QName serviceQName, java.lang.String portName, java.lang.Class iface, java.lang.String endpointURI)
          Deprecated. This method creates a stub for the web service described by definition argument.
 java.lang.Object lookup(java.lang.String definitionURL, QName serviceQName, java.lang.String portName, java.lang.Class iface, java.lang.String endpointURI, java.util.Properties lookupProps)
          Deprecated. This method creates a stub for the web service described by definition argument.
 

Method Detail

lookup

public java.lang.Object lookup(Definition definition,
                               Service service,
                               Port port,
                               java.lang.Class iface,
                               java.lang.String endpointURI)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, which will be associated with the WSDL service's port specified by service and port arguments. The endpoint of the service to be contacted will be taken from endpointURI argument of the method and overrides possible extensibility element's location attribute value.

Parameters:
definition - the WSDL definition describing the web service
service - the WSDL's service
port - the WSDL service's port
iface - the java interface
endpointURI - the endpoint URI
Returns:
the stub, that implements iface interface Note: This method should not be used, because WSDL API has not been finalized yet
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(java.lang.String definitionURL,
                               QName serviceQName,
                               java.lang.String portName,
                               java.lang.Class iface,
                               java.lang.String endpointURI)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, which will be associated with the WSDL service's port specified by service and port arguments. The endpoint of the service to be contacted will be taken from endpointURI argument of the method and overrides possible extensibility element's location attribute value.

Parameters:
definitionURL - the URL of the WSDL definition describing the web service
serviceQName - the QName of the WSDL's service
portName - the name of the WSDL service's port
iface - the java interface
endpointURI - the endpoint URI
Returns:
the stub, that implements iface interface
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(Definition definition,
                               Service service,
                               Port port,
                               java.lang.Class iface,
                               java.lang.String endpointURI,
                               java.util.Properties lookupProps)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, which will be associated with the WSDL service's port specified by service and port arguments. The endpoint of the service to be contacted will be taken from endpointURI argument of the method and overrides possible extensibility element's location attribute value.

Parameters:
definition - the WSDL definition describing the web service
service - the WSDL's service
port - the WSDL service's port
iface - the java interface
endpointURI - the endpoint URI
lookupProps - the properties used to configure the lookup operation the list of the current used properties is in the interface @link org.idoox.webservice.client.LookupProperties This parameter may be null. The properties are then available in the CallContext as the value of the key org.idoox.webservice.client.WebService.CALL_CONTEXT_LOOKUP_PROPERTIES.
Returns:
the stub, that implements iface interface Note: This method should not be used, because WSDL API has not been finalized yet
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(java.lang.String definitionURL,
                               QName serviceQName,
                               java.lang.String portName,
                               java.lang.Class iface,
                               java.lang.String endpointURI,
                               java.util.Properties lookupProps)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, which will be associated with the WSDL service's port specified by service and port arguments. The endpoint of the service to be contacted will be taken from endpointURI argument of the method and overrides possible extensibility element's location attribute value.

Parameters:
definitionURL - the URL of the WSDL definition describing the web service
serviceQName - the QName of the WSDL's service
portName - the name of the WSDL service's port
iface - the java interface
endpointURI - the endpoint URI
lookupProps - the properties used to configure the lookup operation the list of the current used properties is in the interface @link org.idoox.webservice.client.LookupProperties This parameter may be null. The properties are then available in the CallContext as the value of the key org.idoox.webservice.client.WebService.CALL_CONTEXT_LOOKUP_PROPERTIES.
Returns:
the stub, that implements iface interface
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(Definition definition,
                               Service service,
                               Port port,
                               java.lang.Class iface)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, that will be associated with the WSDL service's port specified by service and port arguments. The endpoint of the service to be contacted will be taken from the WSDL service's port extensibility element's location attribute value.

Parameters:
definition - the WSDL definition describing the web service
service - the WSDL's service
port - the WSDL service's port
iface - the java interface
Returns:
the stub, that implements iface interface Note: This method should not be used, because WSDL API has not been finalized yet
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(java.lang.String definitionURL,
                               QName serviceQName,
                               java.lang.String portName,
                               java.lang.Class iface)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, that will be associated with the WSDL service's port specified by service and port arguments. The endpoint of the service to be contacted will be taken from the WSDL service's port extensibility element's location attribute value.

Parameters:
definitionURL - the URL of the WSDL definition describing the web service
serviceQName - the QName of the WSDL's service
portName - the name of the WSDL service's port
iface - the java interface
Returns:
the stub, that implements iface interface
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(Definition definition,
                               Service service,
                               Port port,
                               java.lang.Class iface,
                               java.util.Properties lookupProps)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, that will be associated with the WSDL service's port specified by service and port arguments. The endpoint of the service to be contacted will be taken from the WSDL service's port extensibility element's location attribute value.

Parameters:
definition - the WSDL definition describing the web service
service - the WSDL's service
port - the WSDL service's port
iface - the java interface
lookupProps - the properties used to configure the lookup operation the list of the current used properties is in the interface @link org.idoox.webservice.client.LookupProperties This parameter may be null. The properties are then available in the CallContext as the value of the key org.idoox.webservice.client.WebService.CALL_CONTEXT_LOOKUP_PROPERTIES.
Returns:
the stub, that implements iface interface Note: This method should not be used, because WSDL API has not been finalized yet
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(java.lang.String definitionURL,
                               QName serviceQName,
                               java.lang.String portName,
                               java.lang.Class iface,
                               java.util.Properties lookupProps)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, that will be associated with the WSDL service's port specified by service and port arguments. The endpoint of the service to be contacted will be taken from the WSDL service's port extensibility element's location attribute value.

Parameters:
definitionURL - the URL of the WSDL definition describing the web service
serviceQName - the QName of the WSDL's service
portName - the name of the WSDL service's port
iface - the java interface
lookupProps - the properties used to configure the lookup operation the list of the current used properties is in the interface @link org.idoox.webservice.client.LookupProperties This parameter may be null. The properties are then available in the CallContext as the value of the key org.idoox.webservice.client.WebService.CALL_CONTEXT_LOOKUP_PROPERTIES.
Returns:
the stub, that implements iface interface
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(Definition definition,
                               java.lang.Class iface,
                               java.lang.String endpointURI)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface interface which will be associated with the WSDL service's port with value of extensibility element's location attribute equal to endpointURI method argument.

Parameters:
definition - the WSDL definition describing the web service
iface - the java interface
endpointURI - the endpoint URI
Returns:
the stub, that implements iface interface Note: This method should not be used, because WSDL API has not been finalized yet
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(java.lang.String definitionURL,
                               java.lang.Class iface,
                               java.lang.String endpointURI)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface interface which will be associated with the WSDL service's port with value of extensibility element's location attribute equal to endpointURI method argument.

Parameters:
definitionURL - the URL of the WSDL definition describing the web service
iface - the java interface
endpointURI - the endpoint URI
Returns:
the stub, that implements iface interface
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(Definition definition,
                               java.lang.Class iface,
                               java.lang.String endpointURI,
                               java.util.Properties lookupProps)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface interface which will be associated with the WSDL service's port with value of extensibility element's location attribute equal to endpointURI method argument.

Parameters:
definition - the WSDL definition describing the web service
iface - the java interface
endpointURI - the endpoint URI
lookupProps - the properties used to configure the lookup operation the list of the current used properties is in the interface @link org.idoox.webservice.client.LookupProperties This parameter may be null. The properties are then available in the CallContext as the value of the key org.idoox.webservice.client.WebService.CALL_CONTEXT_LOOKUP_PROPERTIES.
Returns:
the stub, that implements iface interface Note: This method should not be used, because WSDL API has not been finalized yet
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(java.lang.String definitionURL,
                               java.lang.Class iface,
                               java.lang.String endpointURI,
                               java.util.Properties lookupProps)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface interface which will be associated with the WSDL service's port with value of extensibility element's location attribute equal to endpointURI method argument.

Parameters:
definitionURL - the URL of the WSDL definition describing the web service
iface - the java interface
endpointURI - the endpoint URI
lookupProps - the properties used to configure the lookup operation the list of the current used properties is in the interface @link org.idoox.webservice.client.LookupProperties This parameter may be null. The properties are then available in the CallContext as the value of the key org.idoox.webservice.client.WebService.CALL_CONTEXT_LOOKUP_PROPERTIES.
Returns:
the stub, that implements iface interface
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(Definition definition,
                               java.lang.Class iface)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, which will be associated with the WSDL service's port contained in the WSDL referenced by definition argument. Note: It is necessary for the WSDL definition to contain ONLY ONE SERVICE with ONLY ONE PORT to avoid ambiguity in java interface to the WSDL service's port association! Otherwise WebServiceLookupException is thrown.

Parameters:
definition - the WSDL definition describing the web service
iface - the java interface
Returns:
the stub, that implements iface interface Note: This method should not be used, because WSDL API has not been finalized yet
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(java.lang.String definitionURL,
                               java.lang.Class iface)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, which will be associated with the WSDL service's port contained in the WSDL referenced by definition argument. Note: It is necessary for the WSDL definition to contain ONLY ONE SERVICE with ONLY ONE PORT to avoid ambiguity in java interface to the WSDL service's port association! Otherwise WebServiceLookupException is thrown.

Parameters:
definitionURL - the URL of the WSDL definition describing the web service
iface - the java interface
Returns:
the stub, that implements iface interface
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(Definition definition,
                               java.lang.Class iface,
                               java.util.Properties lookupProps)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, which will be associated with the WSDL service's port contained in the WSDL referenced by definition argument. Note: It is necessary for the WSDL definition to contain ONLY ONE SERVICE with ONLY ONE PORT to avoid ambiguity in java interface to the WSDL service's port association! Otherwise WebServiceLookupException is thrown.

Parameters:
definition - the WSDL definition describing the web service
iface - the java interface
lookupProps - the properties used to configure the lookup operation the list of the current used properties is in the interface @link org.idoox.webservice.client.LookupProperties This parameter may be null. The properties are then available in the CallContext as the value of the key org.idoox.webservice.client.WebService.CALL_CONTEXT_LOOKUP_PROPERTIES.
Returns:
the stub, that implements iface interface Note: This method should not be used, because WSDL API has not been finalized yet
Throws:
WebServiceLookupException

lookup

public java.lang.Object lookup(java.lang.String definitionURL,
                               java.lang.Class iface,
                               java.util.Properties lookupProps)
                        throws WebServiceLookupException
Deprecated. 
This method creates a stub for the web service described by definition argument. This stub will implement iface, which will be associated with the WSDL service's port contained in the WSDL referenced by definition argument. Note: It is necessary for the WSDL definition to contain ONLY ONE SERVICE with ONLY ONE PORT to avoid ambiguity in java interface to the WSDL service's port association! Otherwise WebServiceLookupException is thrown.

Parameters:
definitionURL - the URL of the WSDL definition describing the web service
iface - the java interface
lookupProps - the properties used to configure the lookup operation the list of the current used properties is in the interface @link org.idoox.webservice.client.LookupProperties This parameter may be null. The properties are then available in the CallContext as the value of the key org.idoox.webservice.client.WebService.CALL_CONTEXT_LOOKUP_PROPERTIES.
Returns:
the stub, that implements iface interface
Throws:
WebServiceLookupException