Deploying the execute Interface Methods

The execute interface methods (located in the com/rdta/fc/facade/FlashConnect.class contained within fcss.jar file) must be deployed.

Preparing for Deployment, Preparing

Axis is a servlet that is run by a servlet server (for example, jrun or Apache Tomcat). Therefore, all class paths or shared library paths required by Axis must be set up before starting the servlet server. Any web applications deployed by Axis must be set up as well.

To prepare for deployment:

  1. Add the location of the libFCServlet.so file (typically, /usr/lib/tigerlogic) to the UNIX LD_LIBRARY_PATH environment variable.

  2. Add the fcss.jar file (contains the FlashConnect java interface) and any other jar files required by Axis to the CLASSPATH environment variable.

  3. Ensure that the fcss.jar file is located in the Tomcat directory structure (required by Apache Tomcat servlet server).

Creating and Running a Deployment wsdd

Create a wsdd for deploying various handlers, chains, and services. There are two methods for accomplishing this:

The deploy method essentially informs the SOAP server that FlashConnect is available for connection.

To create and run the deployment wsdd:

  1. Insert the wsdd code. For example:

<deployment name="FlashConnect" xmlns="http://xml.apache.org/axis/wsdd/"

xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

<service name="FlashConnect" provider="java:RPC">

<parameter name="className" value="com.rdta.fc.facade.FlashConnect"/>

<parameter name="allowedMethods" value="execute"/>

</service>

</deployment>

  1. Run the deployment. For example:

java org.apache.axis.client.AdminClient deploy.wsdd

 

NOTE

In case of failures, you may need to create and run a wsdd to undeploy the application. For example:

undeploy.wsdd

<undeployment name="FlashConnect" xmlns="http://xml.apache.org/axis/wsdd/">

<service name="FlashConnect"/>

</undeployment>

java org.apache.axis.client.AdminClient undeploy.wsdd

See Also

Deploying the FlashConnect SOAP Interface

Generating a wsdl File for Client Software (Optional)

Creating the FlashConnect Database Application

Accessing the execute Interfaces from Client Programs