RE: Re: How to access Shark workflow engine through WebServices?
"Liu, Yifan" <[email protected]> Mon, 20 Oct 2008 17:50:01 -0700
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <4B3FF5EC9B633E488C1B790091F0BF1C0530ACA5@RHV-EXM-03.corp.ebay.com> |
This is a multi-part message in MIME format... ------------=_1224550213-29217-15139 Content-class: urn:content-classes:message Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Sasa. Does the web services war file only work with Shark Professional distribution? I tried the sharkWebServices.war file generated from the cvs source with both community and demo versions of XPDL4JBoss, and got the same errors starting with : 11:51:10,673 ERROR [STDERR] javax.naming.NameNotFoundException: UserTransaction not bound 11:51:10,689 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(Naming Server.java:529) Do I need to do anything in addition to copy sharkWebServices.war to Jboss deploy directory??=20 Thanks, Yifan=20 -----Original Message----- From: Sasa Bojanic [mailto:[email protected]]=20 Sent: Monday, October 20, 2008 2:16 AM To: [email protected] Subject: [shark] Re: How to access Shark workflow engine through WebServices? Hi, when you deploy shark as web services (by deploying the war file from WS-Plain folder of binary distribution) you can e.g. use SwingAdmin application, or you can try with simplier SharkConsoleClient application to access it this way. As you can read in main README file the only thing you need is to edit SharkClient.conf file and change: ClientType=3DWS WebService as well as EJB interface implements POJO interface, so you can use all the shark's stateless APIs the same way you do it through POJO. Regards, Sasa. Liu, Yifan wrote: > > Hello, Everyone. > > We deployed Shark ear file (community version) on JBoss and are=20 > thinking to have our web application on another server to invoke shark > functions through web services (starting a workflow instance, getting=20 > workflow instance status...) . > > Is this approach supported by Shark? Are there any=20 > examples/documentation coming with Shark/SharkWebClient distribution=20 > about how to use shark through WebService wrappers? > > Any help or direction is highly appreciated. > > Yifan > >=20=20 ------------=_1224550213-29217-15139 Content-Type: text/plain; charset="UTF-8"; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: quoted-printable -- You receive this message as a subscriber of the [email protected] mailing lis= t. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=3Dhelp OW2 mailing lists service home page: http://www.ow2.org/wws ------------=_1224550213-29217-15139--