CMDBuild Forum

OpenMAINT - REST WO03 Execution Error

Hello

 

I am using SoapUI and running through creating a Workorder and then progressing through the stages, all of the stages work by Simply adding 

 

{

      "_advance" : true,

     "_activity" : (the processActivityId)

}

 

WO01, WO02 works, WO04 works However I can not seem to get WO03 Execution to work, it will not progress to WO04

 

I have added acceptanceAction to WO02 and added ExecAction to WO03 however I get a fault response saying the following.  I assume there is something that I am missing, I can advance the Workorder from WO03 on the openmaint process section clicking the button however through REST i get the below

 

"cause":    {

      "cause": null,

      "stackTrace":       [

                  {

            "methodName": "createFault",

            "fileName": "SOAPFaultBuilder.java",

            "lineNumber": 222,

            "className": "org.apache.axis.message.SOAPFaultBuilder",

            "nativeMethod": false

         },

                  {

            "methodName": "endElement",

            "fileName": "SOAPFaultBuilder.java",

            "lineNumber": 129,

            "className": "org.apache.axis.message.SOAPFaultBuilder",

            "nativeMethod": false

         },

                  {

            "methodName": "endElement",

            "fileName": "DeserializationContext.java",

            "lineNumber": 1087,

            "className": "org.apache.axis.encoding.DeserializationContext",

            "nativeMethod": false

         },

                  {

            "methodName": "endElement",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.parsers.AbstractSAXParser",

            "nativeMethod": false

         },

                  {

            "methodName": "scanEndElement",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.impl.XMLNSDocumentScannerImpl",

            "nativeMethod": false

         },

                  {

            "methodName": "dispatch",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher",

            "nativeMethod": false

         },

                  {

            "methodName": "scanDocument",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.impl.XMLDocumentFragmentScannerImpl",

            "nativeMethod": false

         },

                  {

            "methodName": "parse",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.parsers.XML11Configuration",

            "nativeMethod": false

         },

                  {

            "methodName": "parse",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.parsers.XML11Configuration",

            "nativeMethod": false

         },

                  {

            "methodName": "parse",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.parsers.XMLParser",

            "nativeMethod": false

         },

 

 

I have tried multiple combinations to try and get the below error sorted after no response from Tecnoteca, what I did discover is if you save the workorder the the OpenMAINT web UI and then advance the work workorder in SOAPUI it works, which means something must be triggered by the web UI which is not triggered through REST, 
 
I assume there is a bug in your program as you have not got back with a response, hopefully you will fix this soon
 
Previously Marc wrote:

Hello

 

I am using SoapUI and running through creating a Workorder and then progressing through the stages, all of the stages work by Simply adding 

 

{

      "_advance" : true,

     "_activity" : (the processActivityId)

}

 

WO01, WO02 works, WO04 works However I can not seem to get WO03 Execution to work, it will not progress to WO04

 

I have added acceptanceAction to WO02 and added ExecAction to WO03 however I get a fault response saying the following.  I assume there is something that I am missing, I can advance the Workorder from WO03 on the openmaint process section clicking the button however through REST i get the below

 

"cause":    {

      "cause": null,

      "stackTrace":       [

                  {

            "methodName": "createFault",

            "fileName": "SOAPFaultBuilder.java",

            "lineNumber": 222,

            "className": "org.apache.axis.message.SOAPFaultBuilder",

            "nativeMethod": false

         },

                  {

            "methodName": "endElement",

            "fileName": "SOAPFaultBuilder.java",

            "lineNumber": 129,

            "className": "org.apache.axis.message.SOAPFaultBuilder",

            "nativeMethod": false

         },

                  {

            "methodName": "endElement",

            "fileName": "DeserializationContext.java",

            "lineNumber": 1087,

            "className": "org.apache.axis.encoding.DeserializationContext",

            "nativeMethod": false

         },

                  {

            "methodName": "endElement",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.parsers.AbstractSAXParser",

            "nativeMethod": false

         },

                  {

            "methodName": "scanEndElement",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.impl.XMLNSDocumentScannerImpl",

            "nativeMethod": false

         },

                  {

            "methodName": "dispatch",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher",

            "nativeMethod": false

         },

                  {

            "methodName": "scanDocument",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.impl.XMLDocumentFragmentScannerImpl",

            "nativeMethod": false

         },

                  {

            "methodName": "parse",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.parsers.XML11Configuration",

            "nativeMethod": false

         },

                  {

            "methodName": "parse",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.parsers.XML11Configuration",

            "nativeMethod": false

         },

                  {

            "methodName": "parse",

            "fileName": null,

            "lineNumber": -1,

            "className": "org.apache.xerces.parsers.XMLParser",

            "nativeMethod": false

         },