1 5 11 package com.opensymphony.workflow.soap; 12 13 import com.opensymphony.workflow.Workflow; 14 15 import electric.registry.Registry; 16 17 import electric.util.Context; 18 19 20 26 public class TestClient { 27 29 public static void main(String [] args) throws Exception { 30 Context context = new Context(); 31 context.setProperty("authUser", "test"); 32 context.setProperty("authPassword", "test"); 33 34 Workflow wf = (Workflow) Registry.bind("http://localhost/example/glue/oswf.wsdl", Workflow.class, context); 35 36 } 38 } 39 | Popular Tags |