01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: /*
06: * Created by IntelliJ IDEA.
07: * User: plightbo
08: * Date: May 22, 2002
09: * Time: 3:29:26 PM
10: */
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: * DOCUMENT ME!
21: *
22: * @author $author$
23: * @version $Revision: 1.2 $
24: */
25: public class TestClient {
26: //~ Methods ////////////////////////////////////////////////////////////////
27:
28: public static void main(String[] args) throws Exception {
29: Context context = new Context();
30: context.setProperty("authUser", "test");
31: context.setProperty("authPassword", "test");
32:
33: Workflow wf = (Workflow) Registry.bind(
34: "http://localhost/example/glue/oswf.wsdl",
35: Workflow.class, context);
36:
37: //...
38: }
39: }
|