CCG MOE Batch Integration

Name: MOEBatch Property Calculator

Author: Rahim Lila

Version: 2.1

Created: 12/2004

Modified: 6/2007 - updated all components to 6.1.1.

Purpose: These files will demonstrate how one can SOAP wrap CCG's MOEBatch and integrate it as a component in Pipeline Pilot.

Requirements: 1. Java SDK 1.4 or higher, 2. Apache Tomcat 4.1 or higher, 3. Pipeline Pilot Server 6.1.1 or higher, 4. Chemical Computing Group's MOEBatch

O/S: Any

Limitations: N/A

Keyword: MOE, CCG, soap, batch, property calculation, integration

Contents: MOE.jws, MOE-batch SOAP.xml

Installation:
1. Install MOEBatch software according to manufacturer instructions.

2. Install Apache TOMCAT Web server With Apache AXIS SOAP engine. See Pipeline Pilot Online Help, under Administration Guide-->SOAP Servers-->JAVA, for detailed instructions.

3. Verify AXIS and TOMCAT are properly configured by navigating to http://localhost:8080/axis/happyaxis.jsp . Make sure ALL "Needed Components" are present and working before going any further.

4. Add all Axis jar files to TOMCAT_HOME\\common\\lib.

5. This SOAP Wrapper needs to know where MOE/batch is located on your file-system and also needs a location to write temp files. One needs to manually edit 2 lines of code to provide this critical information. Find the section, below, in the MOE.jws file and edit MOE_HOME and workingDir variables appropriately.

See below:

String MOE_HOME="/usr/programs/moe";
File workingDir= new File("/ourhome/root/temp");

6. Place MOE.jws into TOMCAT_HOME\\webapps\\axis

7. Start tomcat and then open internet explorer to http://mySOAPServerName:8080/axis/MOE.jws?wsdl

8. If you see a bunch of XML, then the source compiled just fine. Otherwise you'll see compile errors. Look at the error displayed and resolve by editing source in MOE.jws.

9. Drag MOE-batch SOAP.xml into your Pipeline Pilot client.

10. Then make sure that the SOAP endpoint MOE-batch SOAP component, in the protocol, is pointing to your SOAP server.

See below:

change from : http://localhost:8080/axis/MOE.jws
change to: http://mySOAPServerName:8080/axis/MOE.jws

11. Everything should be in place.....just Run the protocol.