GOLD SOAP Example

Name: Gold SOAP Service

Author: Andrei Caracoti, Rahim Lila

Version: 3.0

Created: 10/25/04

Modified: 7/2/2007

Purpose: This example shows how third-party applications can be wrapped as Java SOAP services and accessed from Pipeline Pilot using the built-in SOAP components.

Requirements: Pipeline Pilot 6.0 or later, Java SDK 1.4.1 or higher, Apache Tomcat 4.1, Gold

O/S: Windows and Linux

Limitations: none known

Keyword: Gold SOAP web service

Contents: GoldWebservice.war - Java SOAP wrapper for Gold
Gold demo protocol.xml - protocol that illustrates accessing the SOAP service
protein.mol2 - example mol2 protein file to use for testing

Installation:

1. Install GOLD according to the manufacturer's instructions and make sure it works.
2. Install Apache TOMCAT Web server (no need to install Axis).
3. Place GoldWebservice.war into TOMCAT_INSTALL_FOLDER/webapps.
4. In a command window, Create an environmental variable:

For Example in BASH (Unix)"
export JAVA_OPTS=-"Dcom.gold.exec=/home/scitegic/gold/bin/gold_auto -Dcom.scitegic.temp.folder=/tmp -Dcom.gold.dir=/home/scitegic/gold"

For Example in Windows"
set JAVA_OPTS=-Dcom.gold.exec="C:/Program Files/CCDC/gold/gold/d_win32/bin/gold_win32.exe" -Dcom.scitegic.temp.folder="c:/temp" -Dcom.gold.dir="C:/Program Files/CCDC/gold/gold"

Make sure you set "com.gold.exec" to be the absolute path to the Gold Executable and "com.scitegic.temp.folder" to a temp folder. "com.gold.dir" is the full path to the Gold folder.

Note: On Unix, the Gold executable is gold/bin/gold_auto.
Note: You may want to have JAVA_OPTS created Permanently. This can be done in Windows through the "Control Panel" and on Unix it can be done in a startup/boot script.

5. Start Tomcat in the same command window by using:
TOMCAT_INSTALL_FOLDER/bin/startup.sh (Unix)
TOMCAT_INSTALL_FOLDER/bin/startup.bat (Windows)

6. Verify AXIS and TOMCAT are properly configured by navigating to http:// name>:8080/GoldWebservice/happyaxis.jsp.
7. Drag the Gold demo protocol xml file into your Pipeline Pilot client.
8. Then make sure that the SOAP endpoint on the Run Gold component is pointing to your SOAP server.

See below:
change from :
http://localhost:8080/GoldWebservice/services/Gold
change to: http:// name>:8080/GoldWebservice/services/Gold

9. Run the protocol.