AnsweredAssumed Answered

Update Requisition Object status via XOG SOAP call

Question asked by cocopuff137 on Sep 2, 2008
Latest reply on Sep 2, 2008 by ca.portal.admin
Hi,I have created a requisition object with status set to "Open" via XOG successfully. Now I would like to update the requisition object and change the status from "Open" to either "Proposed" or "Booked". But when I invoke the XOG process again, I got the following error:  
     
     
             
                     
                             
                             
                             
                             
                                     
                                             
                                             
                                                      FATAL
                                                      XOG-5001: Failed to import
                                                              requisitions .
                                                      java.lang.Exception: XOG-5001: Failed to import requisitions . Current statusCode = Open, cannot set statusCode = Booked
 at com.niku.xog.util.XOGContinueHandler.postProcess(XOGContinueHandler.java:36)
 at com.niku.xql2.handlers.BaseHandler.postProcess(BaseHandler.java:48)
 at com.niku.xql2.XQLVisitor.postProcess(XQLVisitor.java:1355)
 at com.niku.union.xml.dom.DOMWalker.postProcess(DOMWalker.java:210)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:94)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.TryHandler.preProcess(TryHandler.java:50)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:161)
 at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:91)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:161)
 at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:91)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:161)
 at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:91)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:36)
 at com.niku.xog.service.XOGXBLHandler.processXBL(XOGXBLHandler.java:243)
 at com.niku.xog.service.XOGXBLHandler.process(XOGXBLHandler.java:149)
 at com.niku.xog.service.AbstractObjectHandler.processRequest(AbstractObjectHandler.java:261)
 at com.niku.xog.service.AbstractObjectHandler.process(AbstractObjectHandler.java:208)
 at com.niku.xog.service.XOGDispatch.processMessage(XOGDispatch.java:114)
 at com.niku.xog.service.XOGSOAPServlet.processMessage(XOGSOAPServlet.java:265)
 at com.niku.xog.service.XOGSOAPServlet.doPost(XOGSOAPServlet.java:87)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
 at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
 at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
 at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
 at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
 at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3241)
 at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
 at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
 at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
 at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
 at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
 at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
]]>
                                             
                                     
                             
                     
             
        It looks like I was able to change the status from Clarity GUI but not programatically. I have been spinning my wheels trying to figure out what I am missing here. Really appreciate if someone can provide me some ideas. Thanks.

Outcomes