SOAP Support

OSWorkflow comes with support for remote invocation using SOAP. This is accomplished using the Glue SOAP implementation from TheMindElectric. It has not been tested with any other SOAP implementations, but getting C# to integrate in with OSWorkflow should be a fairly trivial task. We hope to include C# sample code in the near future.

GLUE does not come with OSWorkflow and must be downloaded separately from TheMindElectric. GLUE is generally free for most usage. You can find the license agreement when you download GLUE. Again, SOAP and Job Scheduling support will not be available if you do not download GLUE 2.1 and include GLUE-STD.jar in your classpath.

SOAP support is optional and can only be enabled by including the Glue servlet in your web application, as detailed in the installation documentation. SOAP support must be enabled for scheduled jobs to occur, using the Quartz job scheduler. Here is some example code that uses Glue to talk to OSWorkflow:

	import electric.util.Context;
import electric.registry.Registry;
import electric.registry.RegistryException; ... Context context = new Context();
context.setProperty( "authUser", username );
context.setProperty( "authPassword", password );
Workflow wf = (Workflow) Registry.bind("http://localhost/osworkflow/glue/oswf.wsdl", Workflow.class, context);

From this point onward, you can use the Workflow interface just as you normally would.