To Whom It May Concern:

 

I am trying to create an scxml document that will send a message to another device (in this case a SIP INVITE) and

then test the response’s CSeq method matches the string “INVITE”  before invoking the transition. I have

the document sending the INVITE message just fine, but when I add an if tag to the document I get and exception

trying to digest the document. Any ideas as to what I am doing wrong? Attached is the scxml document I am

using.

 

Exception stack:

Jul 10, 2006 3:46:12 PM org.apache.commons.digester.Digester endElement

SEVERE: End event threw exception

java.lang.NoSuchMethodException: No such accessible method: addAction() on object: org.apache.commons.scxml.model.State

      at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:214)

      at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)

      at org.apache.commons.digester.Rule.end(Rule.java:230)

      at org.apache.commons.digester.Digester.endElement(Digester.java:1130)

      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)

      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)

      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)

      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)

      at org.apache.commons.digester.Digester.parse(Digester.java:1704)

      at org.apache.commons.scxml.io.SCXMLDigester.digest(SCXMLDigester.java:228)

      at org.apache.commons.scxml.io.SCXMLDigester.digest(SCXMLDigester.java:127)

      at test.PCASM.<init>(PCASM.java:67)

      at test.Starter.initSM(Starter.java:496)

      at test.Starter.main(Starter.java:489)  

 

Sincerely,

 

Garey Hassler

 

Software Engineer

Packet Cable

CableLabs

858 Coal Creek Cir.

LouisvilleCO  80027

voice: (303) 661-3327

email: [EMAIL PROTECTED]

 

<!--  Test document for SIP stack interaction -->

<scxml xmlns="http://www.w3.org/2005/07/SCXML"; version="1.0"
     initialstate="setup">

	<state id="setup">
	  <onentry>
			<send targettype="sip" event="INVITE"/>
		</onentry>
		<if cond="200-INVITE.last.CSeq.1.method eq INVITE">
			<log expr="Matched OK"/>
		</if>
		<transition event="Proceeding" target="proceeding"/>
		<transition event="200-INVITE" target="connected"/>
	</state>

	<state id="proceeding"/>

	<state id="alerting"/>

	<state id="connected">
		<onentry>
			<send targettype="sip" event="ACK"/>
		</onentry>
	</state>

	<state id="releasing">
		<onentry>
			<send targettype="sip" event="ACK"/>
		</onentry>
	</state>

  <state id="cleanup" final="true"/>
		
			
</scxml>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to