cuba.webservice
Class WSTClientAdapter

java.lang.Object
  extended by cuba.webservice.WSTClientAdapter

public abstract class WSTClientAdapter
extends java.lang.Object

WSTClientAdapter.

Abstract-client-adapter for webservice-tunneled CUBA-component-calls.

Version:
$Revision: 1.4 $ - $Modtime: $ ($Author: jlr $)
Author:
Thomas Kuhlmann

Field Summary
protected  java.net.URL baseURL
          base-url for webservice.
protected  org.apache.axis.configuration.SimpleProvider config
           
protected  java.util.Properties prop
           
 
Constructor Summary
protected WSTClientAdapter(java.util.Properties prop)
          Constructor with the properties.
 
Method Summary
protected  java.net.URL assembleURL(java.lang.String pBaseUrl)
           
protected  org.apache.axis.configuration.SimpleProvider createAxisConfiguration(java.lang.String componentName)
          Method configurate the Axis-engine.
protected abstract  java.lang.String getSymbolicName()
          Returns the symbolic name of this component.
protected  void handleRuntimeExceptions(java.lang.Object pResultObj)
          Handle runtime-exception and errors by re-throwing them or wrapping them in a ServerException (used for generated code).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseURL

protected java.net.URL baseURL
base-url for webservice.


prop

protected java.util.Properties prop

config

protected org.apache.axis.configuration.SimpleProvider config
Constructor Detail

WSTClientAdapter

protected WSTClientAdapter(java.util.Properties prop)
                    throws java.rmi.RemoteException
Constructor with the properties.

Throws:
java.rmi.RemoteException
Method Detail

assembleURL

protected java.net.URL assembleURL(java.lang.String pBaseUrl)

createAxisConfiguration

protected org.apache.axis.configuration.SimpleProvider createAxisConfiguration(java.lang.String componentName)
Method configurate the Axis-engine. Add the MessageContectHandler into the requestpath

Parameters:
componentName - The name of the component, nessessary to deploy the service
Returns:

getSymbolicName

protected abstract java.lang.String getSymbolicName()
Returns the symbolic name of this component.


handleRuntimeExceptions

protected void handleRuntimeExceptions(java.lang.Object pResultObj)
                                throws java.rmi.RemoteException
Handle runtime-exception and errors by re-throwing them or wrapping them in a ServerException (used for generated code).

Throws:
java.rmi.RemoteException