commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Sparr -" <>
Subject Help with SCXML Send usage
Date Tue, 06 Dec 2005 02:51:27 GMT
We are trying to parse/use the content between <send> </send> tags and
everything we try using the SCXML digester and Send methods retrieves
null.  We have successfully captured the <var> values, but nothing
within <send> tags.  Can you please provide information on how to
retrieve this content using the code?  Our SCXML test document is below:

<?xml version="1.0"?>
<scxml xmlns=""

  <state id="logoff">
      <var name="drink" expr="water" />
	<var name="eat" expr="flies" />
        <send target="http://localhost:8080/VXMLInterpreter"
targettype="v3" xmlns:v3=""
namelist="drink eat" event="" hints="" sendid="" delay="0">
	    <v3:form id="Welcome"> 
	      <v3:block><v3:prompt>Please enter your
	<log expr="'@@@@@@executed send@@@@@@@@'"/>
      <cancel sendId="send12345"/> 
    <transition event="go_login">
      <target next="login"/> 

  <state id="login">
      <transition event="go_logoff">
        <target next="logoff"/>


Please help in allowing us to get the SCXML code to work.  We've tried
getExternalNodes() within Send and looked into the Rules for digester
and do not know how to retrieve the <send>text</send> body elements.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message