test532.txml 778 B

12345678910111213141516171819202122
  1. <!-- test that that if _scxmleventname is not present, the name of the HTTP method is used
  2. as the name of the resulting event. -->
  3. <scxml initial="s0" conf:datamodel="" version="1.0" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  4. <state id="s0">
  5. <onentry>
  6. <send event="timeout" delay="3s"/>
  7. <send conf:basicHTTPAccessURITarget="" type="http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor">
  8. <!-- this content will be ignored, but it's here to make sure we have a message body -->
  9. <content>some content</content>
  10. </send>
  11. </onentry>
  12. <transition event="HTTP.POST" conf:targetpass=""/>
  13. <transition event="*" conf:targetfail=""/>
  14. </state>
  15. <conf:pass/>
  16. <conf:fail/>
  17. </scxml>