Hi!
I’ve got an issue with a submission that is done in a pipeline – it throws an error. In an other page-flow right on the same machine within the same Orbeon version exactly the same submission pipeline is working fine. The code used for the request really is working perfectly as long as it is not included in this special view.xhtml repectively one of it’s includes. I guess the error „submission URL scheme not yet implemented: oxf“ is not the real error but an indicator for the issue (because obviously it is working so the submission scheme has to be implemented, isn’t it?). What do I forget? Has anybody a hint?
Each time I try to send the special request in the target XForms form I get the following error: 2010-02-15 14:40:38,254 DEBUG XFormsServer - XForms - event - start dispatching {name: "xforms-submit-serialize", id: "data-submission"} 2010-02-15 14:40:38,254 DEBUG XFormsServer - XForms - event - end dispatching {time (ms): "0"} 2010-02-15 14:40:38,255 DEBUG XFormsServer - XForms - submission - checking whether optimized submission is allowed {resource: "/ra/getData", noscript: "false", is ajax portlet: "false", is asynchronous: "false", container type: "servlet", norewrite: "false", local-submission-forward: "true", local-submission-include: "true"} 2 2010-02-15 14:15:15,603 DEBUG XFormsServer - XForms - submission - skipping optimized submission {reason: "include submissions are disallowed in properties"} 2010-02-15 14:15:15,603 DEBUG XFormsServer - XForms - connection - forwarding cookies {cookie: "JSESSIONID=CB4761E51BEB247F8D395DF83C025C87"} 2010-02-15 14:15:15,603 DEBUG XFormsServer - XForms - submission - external submission time including handling returned body {time: "0"} 2010-02-15 14:15:15,604 ERROR XFormsServer - XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.common.OXFException: submission URL scheme not yet implemented: oxf at org.orbeon.oxf.util.NetUtils.openConnection(NetUtils.java:1447) at org.orbeon.oxf.util.NetUtils.openConnection(NetUtils.java:1094) at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:814) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:897) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:999) at org.orbeon.oxf.xforms.control.controls.XFormsSubmitControl.performDefaultAction(XFormsSubmitControl.java:49) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:897) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:999) at org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:983) at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:393) at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:57) at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:83) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350) at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36) at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:377) at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:410) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:453) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:408) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:242) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:92) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - start dispatching {name: "xforms-submit-error", id: "data-submission"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - end dispatching {time (ms): "0"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - submission - total submission time {time: "82"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - end dispatching {time (ms): "82"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - end dispatching {time (ms): "82"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - XForms server - end handling external event {time (ms): "82"}
When I run this workflow in a seperate test XForms form it works. I know there are a lot of things we can do better but I just want to get this to work and make little steps to improve the system. Thanks a lot in advance, JT
I skip most the including model/view because it is much to big to post here: ========================================================================================= <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:exforms="http://www.exforms.org/exf/1-0" xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:widget="http://orbeon.org/oxf/xml/widget" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:portlet="http://www.studiosus.com/srm3/portlet"> <!-- INCLUDE TICKET :: START --> ...
The included form: ======================================================================================== <?xml version="1.0" encoding="UTF-8"?>
The included model f/model.xml: ======================================================================================== <?xml version="1.0" encoding="UTF-8"?>
The pipeline /ra/getData (/ra/getData.xpl): ======================================================================================== <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:atom="http://www.w3.org/2005/Atom">
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi! Update: I found the error – it is not possible to insert a model via xinclude if you do a orbeon internal submission. Or so it seems... Is there an option to set it up or to activate this? Regards, JT Von: Stumpf, Jens Thorsten [mailto:[hidden email]] Hi! I’ve got an issue with a submission that is done in a pipeline – it throws an error. In an other page-flow right on the same machine within the same Orbeon version exactly the same submission pipeline is working fine. The code used for the request really is working perfectly as long as it is not included in this special view.xhtml repectively one of it’s includes. I guess the error „submission URL scheme not yet implemented: oxf“ is not the real error but an indicator for the issue (because obviously it is working so the submission scheme has to be implemented, isn’t it?). What do I forget? Has anybody a hint? Each time I try to send the special request in the target XForms form I get the following error: 2010-02-15 14:40:38,254 DEBUG XFormsServer - XForms - event - start dispatching {name: "xforms-submit-serialize", id: "data-submission"} 2010-02-15 14:40:38,254 DEBUG XFormsServer - XForms - event - end dispatching {time (ms): "0"} 2010-02-15 14:40:38,255 DEBUG XFormsServer - XForms - submission - checking whether optimized submission is allowed {resource: "/ra/getData", noscript: "false", is ajax portlet: "false", is asynchronous: "false", container type: "servlet", norewrite: "false", local-submission-forward: "true", local-submission-include: "true"} 2 2010-02-15 14:15:15,603 DEBUG XFormsServer - XForms - submission - skipping optimized submission {reason: "include submissions are disallowed in properties"} 2010-02-15 14:15:15,603 DEBUG XFormsServer - XForms - connection - forwarding cookies {cookie: "JSESSIONID=CB4761E51BEB247F8D395DF83C025C87"} 2010-02-15 14:15:15,603 DEBUG XFormsServer - XForms - submission - external submission time including handling returned body {time: "0"} 2010-02-15 14:15:15,604 ERROR XFormsServer - XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.common.OXFException: submission URL scheme not yet implemented: oxf at org.orbeon.oxf.util.NetUtils.openConnection(NetUtils.java:1447) at org.orbeon.oxf.util.NetUtils.openConnection(NetUtils.java:1094) at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:814) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:897) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:999) at org.orbeon.oxf.xforms.control.controls.XFormsSubmitControl.performDefaultAction(XFormsSubmitControl.java:49) at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:897) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:999) at org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:983) at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:393) at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:57) at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:83) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350) at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36) at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:377) at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:410) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:453) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:408) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:242) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:92) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - start dispatching {name: "xforms-submit-error", id: "data-submission"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - end dispatching {time (ms): "0"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - submission - total submission time {time: "82"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - end dispatching {time (ms): "82"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - end dispatching {time (ms): "82"} 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - XForms server - end handling external event {time (ms): "82"} When I run this workflow in a seperate test XForms form it works. I know there are a lot of things we can do better but I just want to get this to work and make little steps to improve the system. Thanks a lot in advance, JT I skip most the including model/view because it is much to big to post here: ========================================================================================= <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:exforms="http://www.exforms.org/exf/1-0" xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:widget="http://orbeon.org/oxf/xml/widget" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:portlet="http://www.studiosus.com/srm3/portlet"> <!-- INCLUDE TICKET :: START --> ... The included form: ======================================================================================== <?xml version="1.0" encoding="UTF-8"?> The included model f/model.xml: ======================================================================================== <?xml version="1.0" encoding="UTF-8"?> The pipeline /ra/getData (/ra/getData.xpl): ======================================================================================== <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:atom="http://www.w3.org/2005/Atom"> -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
JT,
When using xi:include, an xml:base attribute is set. Since you are including a file under oxf:/..., that becomes the new root for resolution. Try this to remove the addition of xml:base: <xi:include href="model.xml" xxi:omit-xml-base="true"/> with: xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" -Erik On Mon, Feb 15, 2010 at 6:01 AM, Stumpf, Jens Thorsten <[hidden email]> wrote: > Hi! > > > > Update: > > I found the error – it is not possible to insert a model via xinclude if you > do a orbeon internal submission. > > Or so it seems... > > Is there an option to set it up or to activate this? > > > > Regards, > > > > JT > > > > > > Von: Stumpf, Jens Thorsten [mailto:[hidden email]] > Gesendet: Montag, 15. Februar 2010 14:46 > An: [hidden email] > Betreff: [ops-users] Error on submission by XPL > > > > Hi! > > I’ve got an issue with a submission that is done in a pipeline – it throws > an error. > > In an other page-flow right on the same machine within the same Orbeon > version exactly the same submission pipeline is working fine. > > The code used for the request really is working perfectly as long as it is > not included in this special view.xhtml repectively one of it’s includes. > > I guess the error „submission URL scheme not yet implemented: oxf“ is not > the real error but an indicator for the issue (because obviously it is > working so the submission scheme has to be implemented, isn’t it?). > > What do I forget? Has anybody a hint? > > Each time I try to send the special request in the target XForms form I get > the following error: > > 2010-02-15 14:40:38,254 DEBUG XFormsServer - XForms - event - > start dispatching {name: "xforms-submit-serialize", id: "data-submission"} > > 2010-02-15 14:40:38,254 DEBUG XFormsServer - XForms - event - > end dispatching {time (ms): "0"} > > 2010-02-15 14:40:38,255 DEBUG XFormsServer - XForms - > submission - checking whether optimized submission is allowed {resource: > "/ra/getData", noscript: "false", is ajax portlet: "false", is asynchronous: > "false", container type: "servlet", norewrite: "false", > local-submission-forward: "true", local-submission-include: "true"} > > 2 2010-02-15 14:15:15,603 DEBUG XFormsServer - XForms - > submission - skipping optimized submission {reason: "include submissions are > disallowed in properties"} > > 2010-02-15 14:15:15,603 DEBUG XFormsServer - XForms - > connection - forwarding cookies {cookie: > "JSESSIONID=CB4761E51BEB247F8D395DF83C025C87"} > > 2010-02-15 14:15:15,603 DEBUG XFormsServer - XForms - > submission - external submission time including handling returned body > {time: "0"} > > 2010-02-15 14:15:15,604 ERROR XFormsServer - XForms - submission - > xforms-submit-error throwable: org.orbeon.oxf.common.OXFException: > submission URL scheme not yet implemented: oxf > > at org.orbeon.oxf.util.NetUtils.openConnection(NetUtils.java:1447) > > at org.orbeon.oxf.util.NetUtils.openConnection(NetUtils.java:1094) > > at > org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:814) > > at > org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:897) > > at > org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:999) > > at > org.orbeon.oxf.xforms.control.controls.XFormsSubmitControl.performDefaultAction(XFormsSubmitControl.java:49) > > at > org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:897) > > at > org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:999) > > at > org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:983) > > at > org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:393) > > at > org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:57) > > at > org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:83) > > at > org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995) > > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178) > > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350) > > at > org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36) > > at > org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59) > > at > org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995) > > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178) > > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350) > > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:377) > > at > org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:410) > > at > org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:453) > > at > org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:408) > > at > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189) > > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) > > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519) > > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) > > at > org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:242) > > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) > > at > org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:519) > > at > org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) > > at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:92) > > at > org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) > > at > org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > > at > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) > > at > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) > > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) > > at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) > > at > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) > > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) > > at java.lang.Thread.run(Thread.java:619) > > 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - > start dispatching {name: "xforms-submit-error", id: "data-submission"} > > 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - > end dispatching {time (ms): "0"} > > 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - > submission - total submission time {time: "82"} > > 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - end > dispatching {time (ms): "82"} > > 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - event - end > dispatching {time (ms): "82"} > > 2010-02-15 14:15:15,604 DEBUG XFormsServer - XForms - XForms server - end > handling external event {time (ms): "82"} > > When I run this workflow in a seperate test XForms form it works. > > I know there are a lot of things we can do better but I just want to get > this to work and make little steps to improve the system. > > Thanks a lot in advance, > > JT > > I skip most the including model/view because it is much to big to post here: > > ========================================================================================= > > <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:f="http://orbeon.org/oxf/xml/formatting" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" > xmlns:oxf="http://www.orbeon.com/oxf/processors" > xmlns:xi="http://www.w3.org/2001/XInclude" > xmlns:exforms="http://www.exforms.org/exf/1-0" > xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:widget="http://orbeon.org/oxf/xml/widget" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:portlet="http://www.studiosus.com/srm3/portlet"> > <xhtml:head> > <xhtml:title> > <xforms:model id="ra" xxforms:computed-binds="revalidate"> > ... > > <!-- INCLUDE TICKET :: START --> > <xforms:instance id="ticket"> > <xi:include href="ticket.stml" /> > </xforms:instance> > <!-- INCLUDE TICKET :: ENDE --> > > ... > <!-- include dynamic f request --> > <xi:include href="f/form.xhtml" /> > <!-- /include dynamic f request --> > ... > > The included form: > > ======================================================================================== > > <?xml version="1.0" encoding="UTF-8"?> > <xforms:group model="flights" xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:oxf="http://www.orbeon.com/oxf/processors" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:f="http://orbeon.org/oxf/xml/formatting" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" > xmlns:xi="http://www.w3.org/2001/XInclude" > xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:widget="http://orbeon.org/oxf/xml/widget" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <xi:include href="model.xml"/> > > <xhtml:p> > <xforms:submit submission="data-submission"> > <xforms:label>send</xforms:label> > </xforms:submit> > <xforms:select1 model="ra" ref="instance('ticket')//foo/bar "> > <xforms:label>Ticket data</xforms:label> > <xforms:item> > <xforms:value /> > <xforms:label>select!</xforms:label> > </xforms:item> > > <xforms:itemset nodeset="instance(data-response')//baz/bar" > model="f"> > <xforms:label ref="moo" /> > <xforms:value ref="moo/@id" /> > </xforms:itemset> > </xforms:select1> > </xhtml:p> > > </xforms:group> > > The included model f/model.xml: > > ======================================================================================== > > <?xml version="1.0" encoding="UTF-8"?> > <xforms:model id="f" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:oxf="http://www.orbeon.com/oxf/processors" > xmlns:f="http://orbeon.org/oxf/xml/formatting" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" > xmlns:xi="http://www.w3.org/2001/XInclude" > xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:widget="http://orbeon.org/oxf/xml/widget" > xmlns:ev="http://www.w3.org/2001/xml-events" > xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > <xforms:instance id="data-response"> > <bookingResponse xmlns="" /> > </xforms:instance> > > <xforms:submission id="data-submission" > method="post" action="/ra/getData" > ref="instance('ticket')" replace="instance" > xxforms:instance="data-response" model="ra"/> > > </xforms:model> > > The pipeline /ra/getData (/ra/getData.xpl): > > ======================================================================================== > > <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:fo="http://www.w3.org/1999/XSL/Format" > xmlns:svg="http://www.w3.org/2000/svg" > xmlns:xhtml="http://www.w3.org/1999/xhtml" > xmlns:oxf="http://www.orbeon.com/oxf/processors" > xmlns:xforms="http://www.w3.org/2002/xforms" > xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:atom="http://www.w3.org/2005/Atom"> > > <p:param type="input" name="instance" /> > > <p:processor name="oxf:xslt"> > <p:input name="data" href="#instance" /> > <p:input name="config" href="transform.xsl" /> > <p:output name="data" id="request" /> > </p:processor> > > <p:processor name="oxf:xforms-submission"> > <p:input name="submission"> > <xforms:submission method="post" > action="http://service.loc:8080/xml/" /> > </p:input> > <p:input name="request" href="#request"/> > <p:output name="response" id="response" /> > </p:processor> > > <p:processor name="oxf:xml-converter"> > <p:input name="config"> > <config> > <encoding>utf-8</encoding> > <indent>true</indent> > </config> > </p:input> > <p:input name="data" href="#response" /> > <p:output name="data" id="converted" /> > </p:processor> > > > <p:processor name="oxf:http-serializer"> > <p:input name="config"> > <config> > <header> > <name>Cache-Control</name> > <value>post-check=0, > pre-check=0</value> > </header> > </config> > </p:input> > <p:input name="data" href="#converted" /> > </p:processor> > > </p:config> > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |