SCXML <invoke>

View: New views
3 Messages — Rating Filter:   Alert me  

SCXML <invoke>

by sim9739 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am new to scxml. I am just wondering whether we can invoke a web service or invoke a java method in scxml document. Thanks.


Sim

Re: SCXML <invoke>

by Rahul Akolkar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, May 11, 2008 at 5:45 AM, sim9739 <sim9739@...> wrote:
>
> Hi,
>
> I am new to scxml. I am just wondering whether we can invoke a web service
> or invoke a java method in scxml document. Thanks.
>
<snip/>

Sure. If you intend to use <invoke> you will need to author an
appropriate Invoker. See the Commons SCXML user guide [1] for general
information and the invoke package Javadocs [2] for specifics.

Ofcourse, there is the W3C WD [3] for the background on the <invoke>
lifecycle etc.

-Rahul

[1] http://commons.apache.org/scxml/guide.html
[2] http://commons.apache.org/scxml/0.7/apidocs/org/apache/commons/scxml/invoke/package-summary.html
[3] http://www.w3.org/TR/scxml/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


Re: SCXML <invoke>

by sim9739 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Rahul Akolkar wrote:
On Sun, May 11, 2008 at 5:45 AM, sim9739 <sim9739@hotmail.com> wrote:
>
> Hi,
>
> I am new to scxml. I am just wondering whether we can invoke a web service
> or invoke a java method in scxml document. Thanks.
>
<snip/>

Sure. If you intend to use <invoke> you will need to author an
appropriate Invoker. See the Commons SCXML user guide [1] for general
information and the invoke package Javadocs [2] for specifics.

Ofcourse, there is the W3C WD [3] for the background on the <invoke>
lifecycle etc.

-Rahul

[1] http://commons.apache.org/scxml/guide.html
[2] http://commons.apache.org/scxml/0.7/apidocs/org/apache/commons/scxml/invoke/package-summary.html
[3] http://www.w3.org/TR/scxml/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org

Thanks a lot.
LightInTheBox - Buy quality products at wholesale price