org.alembik.soap
Class SOAPServiceLocator
java.lang.Object
org.alembik.soap.SOAPServiceLocator
- All Implemented Interfaces:
- TranscodingServiceLocator
public class SOAPServiceLocator
- extends java.lang.Object
- implements TranscodingServiceLocator
The locator, which yields a SOAP connector to the transcoding service.
- Since:
- 1.0-beta1
Field Summary |
static java.lang.String |
NAMESPACE_URI_PARAM
The parameter, which defines the WSDL's main namespace URI (defaults to
http://soap.alembik.org/). |
static java.lang.String |
WSDL_LOCATION_PARAM
The parameter, which specifies the URL of Alembik's WSDL file. |
Method Summary |
TranscodingService |
getService(java.util.Properties config)
Returns a proxy object, which connects to Alembik SOAP service making use
of WSDL file location passed as a configuration property. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDL_LOCATION_PARAM
public static final java.lang.String WSDL_LOCATION_PARAM
- The parameter, which specifies the URL of Alembik's WSDL file.
- See Also:
- Constant Field Values
NAMESPACE_URI_PARAM
public static final java.lang.String NAMESPACE_URI_PARAM
- The parameter, which defines the WSDL's main namespace URI (defaults to
http://soap.alembik.org/).
- See Also:
- Constant Field Values
SOAPServiceLocator
public SOAPServiceLocator()
getService
public TranscodingService getService(java.util.Properties config)
throws javax.naming.ServiceUnavailableException
- Returns a proxy object, which connects to Alembik SOAP service making use
of WSDL file location passed as a configuration property. The exchange of
SOAP messages is based on the JAXWS technology.
- Specified by:
getService
in interface TranscodingServiceLocator
- Parameters:
config
- SOAP service properties
- Returns:
- service's SOAP connector
- Throws:
javax.naming.ServiceUnavailableException
- if the service cannot be contacted- See Also:
WSDL_LOCATION_PARAM
,
NAMESPACE_URI_PARAM