error code received when submitting instance: 400

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

error code received when submitting instance: 400

Pieter Hartog
I need some help figuring out what the following error means and how to fix it. I validated the XML instance against the schema and it was valid. In fact, I did not change anything; the form loaded the instance, and the submit submitted the exact same instance to the same file. I tried loading and submitting the file from both the file system and eXist. How can I fix this error? The following is from the stdout file: 2008-06-11 07:09:08,546 DEBUG XFormsServer - XForms - submission - external submission time including handling returned body {time: "531"} 2008-06-11 07:09:08,546 ERROR XFormsServer - XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.xforms.XFormsModelSubmission$XFormsSubmissionException: line 27 of oxf:/config/xforms-widgets.xsl (processing submission response): xforms:submission for submission id: submit_model_CarExport, error code received when submitting instance: 400 oxf:/config/xforms-widgets.xsl, line 27, column -1: xforms:submission for submission id: submit_model_CarExport, error code received when submitting instance: 400 at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:1004) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1155) at org.orbeon.oxf.xforms.control.controls.XFormsSubmitControl.performDefaultAction(XFormsSubmitControl.java:48) at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1155) at org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:935) .... Any help is appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: error code received when submitting instance: 400

Erik Bruchez
Administrator
400 is the error code return by the server, in this case I assume  
eXist? You could use something like TCPMon to see what's happening on  
the wire.

-Erik

On Jun 11, 2008, at 1:31 PM, Pieter Hartog wrote:

> I need some help figuring out what the following error means and how  
> to fix it. I validated the XML instance against the schema and it  
> was valid. In fact, I did not change anything; the form loaded the  
> instance, and the submit submitted the exact same instance to the  
> same file. I tried loading and submitting the file from both the  
> file system and eXist. How can I fix this error? The following is  
> from the stdout file: 2008-06-11 07:09:08,546 DEBUG XFormsServer -  
> XForms - submission - external submission time including handling  
> returned body {time: "531"} 2008-06-11 07:09:08,546 ERROR  
> XFormsServer - XForms - submission - xforms-submit-error throwable:  
> org.orbeon.oxf.xforms.XFormsModelSubmission
> $XFormsSubmissionException: line 27 of oxf:/config/xforms-
> widgets.xsl (processing submission response): xforms:submission for  
> submission id: submit_model_CarExport, error code received when  
> submitting instance: 400 oxf:/config/xforms-widgets.xsl, line 27,  
> column -1: xforms:submission for submission id:  
> submit_model_CarExport, error code received when submitting  
> instance: 400 at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsModelSubmission
> .performDefaultAction(XFormsModelSubmission.java:1004) at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsContainingDocument
> .dispatchEvent(XFormsContainingDocument.java:1155) at  
> org
> .orbeon
> .oxf
> .xforms
> .control
> .controls
> .XFormsSubmitControl.performDefaultAction(XFormsSubmitControl.java:
> 48) at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsContainingDocument
> .dispatchEvent(XFormsContainingDocument.java:1155) at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsContainingDocument
> .executeExternalEvent(XFormsContainingDocument.java:935) .... Any  
> help is appreciated.
> View this message in context: error code received when submitting  
> instance: 400
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: error code received when submitting instance: 400

Pieter Hartog
Erik,

I don't think it's an eXist issue, since the exact same error occurs when I load from and submit to the filesystem.
I execute everything locally on my PC, so the client is one the same machine as the server.
Note that I have the debugging turned on in log4j.xml for all three categories (XFormsServer, XFormsInstance and XFormsModelSubmission). That's why I saw the errors in stdout. Without debugging turned on, I didn't see anything in this log or any other log, just the 'submission failed' error when trying to submit the form.
Other forms (e.g. the sample application forms) work fine, so I suspect there's something wrong with this form. I just don't know where to look.

Should I download the source code and debug using the source code to find out what's wrong? Or are there other ways to research this further?

Thank you,

-Pieter

Erik Bruchez wrote
400 is the error code return by the server, in this case I assume  
eXist? You could use something like TCPMon to see what's happening on  
the wire.

-Erik

On Jun 11, 2008, at 1:31 PM, Pieter Hartog wrote:

> I need some help figuring out what the following error means and how  
> to fix it. I validated the XML instance against the schema and it  
> was valid. In fact, I did not change anything; the form loaded the  
> instance, and the submit submitted the exact same instance to the  
> same file. I tried loading and submitting the file from both the  
> file system and eXist. How can I fix this error? The following is  
> from the stdout file: 2008-06-11 07:09:08,546 DEBUG XFormsServer -  
> XForms - submission - external submission time including handling  
> returned body {time: "531"} 2008-06-11 07:09:08,546 ERROR  
> XFormsServer - XForms - submission - xforms-submit-error throwable:  
> org.orbeon.oxf.xforms.XFormsModelSubmission
> $XFormsSubmissionException: line 27 of oxf:/config/xforms-
> widgets.xsl (processing submission response): xforms:submission for  
> submission id: submit_model_CarExport, error code received when  
> submitting instance: 400 oxf:/config/xforms-widgets.xsl, line 27,  
> column -1: xforms:submission for submission id:  
> submit_model_CarExport, error code received when submitting  
> instance: 400 at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsModelSubmission
> .performDefaultAction(XFormsModelSubmission.java:1004) at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsContainingDocument
> .dispatchEvent(XFormsContainingDocument.java:1155) at  
> org
> .orbeon
> .oxf
> .xforms
> .control
> .controls
> .XFormsSubmitControl.performDefaultAction(XFormsSubmitControl.java:
> 48) at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsContainingDocument
> .dispatchEvent(XFormsContainingDocument.java:1155) at  
> org
> .orbeon
> .oxf
> .xforms
> .XFormsContainingDocument
> .executeExternalEvent(XFormsContainingDocument.java:935) .... Any  
> help is appreciated.
> View this message in context: error code received when submitting  
> instance: 400
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: error code received when submitting instance: 400

Einar Moos
Still have the same problem, the ops log showing "submission occurred during XForms initialization, disabling caching of output "

-- einar moos

On Wed, Jun 11, 2008 at 4:37 PM, Pieter Hartog <[hidden email]> wrote:

Erik,

I don't think it's an eXist issue, since the exact same error occurs when I
load from and submit to the filesystem.
I execute everything locally on my PC, so the client is one the same machine
as the server.
Note that I have the debugging turned on in log4j.xml for all three
categories (XFormsServer, XFormsInstance and XFormsModelSubmission). That's
why I saw the errors in stdout. Without debugging turned on, I didn't see
anything in this log or any other log, just the 'submission failed' error
when trying to submit the form.
Other forms (e.g. the sample application forms) work fine, so I suspect
there's something wrong with this form. I just don't know where to look.

Should I download the source code and debug using the source code to find
out what's wrong? Or are there other ways to research this further?

Thank you,

-Pieter


Erik Bruchez wrote:
>
> 400 is the error code return by the server, in this case I assume
> eXist? You could use something like TCPMon to see what's happening on
> the wire.
>
> -Erik
>
> On Jun 11, 2008, at 1:31 PM, Pieter Hartog wrote:
>
>> I need some help figuring out what the following error means and how
>> to fix it. I validated the XML instance against the schema and it
>> was valid. In fact, I did not change anything; the form loaded the
>> instance, and the submit submitted the exact same instance to the
>> same file. I tried loading and submitting the file from both the
>> file system and eXist. How can I fix this error? The following is
>> from the stdout file: 2008-06-11 07:09:08,546 DEBUG XFormsServer -
>> XForms - submission - external submission time including handling
>> returned body {time: "531"} 2008-06-11 07:09:08,546 ERROR
>> XFormsServer - XForms - submission - xforms-submit-error throwable:
>> org.orbeon.oxf.xforms.XFormsModelSubmission
>> $XFormsSubmissionException: line 27 of oxf:/config/xforms-
>> widgets.xsl (processing submission response): xforms:submission for
>> submission id: submit_model_CarExport, error code received when
>> submitting instance: 400 oxf:/config/xforms-widgets.xsl, line 27,
>> column -1: xforms:submission for submission id:
>> submit_model_CarExport, error code received when submitting
>> instance: 400 at
>> org
>> .orbeon
>> .oxf
>> .xforms
>> .XFormsModelSubmission
>> .performDefaultAction(XFormsModelSubmission.java:1004) at
>> org
>> .orbeon
>> .oxf
>> .xforms
>> .XFormsContainingDocument
>> .dispatchEvent(XFormsContainingDocument.java:1155) at
>> org
>> .orbeon
>> .oxf
>> .xforms
>> .control
>> .controls
>> .XFormsSubmitControl.performDefaultAction(XFormsSubmitControl.java:
>> 48) at
>> org
>> .orbeon
>> .oxf
>> .xforms
>> .XFormsContainingDocument
>> .dispatchEvent(XFormsContainingDocument.java:1155) at
>> org
>> .orbeon
>> .oxf
>> .xforms
>> .XFormsContainingDocument
>> .executeExternalEvent(XFormsContainingDocument.java:935) .... Any
>> help is appreciated.
>> View this message in context: error code received when submitting
>> instance: 400
>> Sent from the ObjectWeb OPS - Users mailing list archive at
>> Nabble.com.
>>
>> --
>> 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
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>
> --
> 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
>
>

--
View this message in context: http://www.nabble.com/error-code-received-when-submitting-instance%3A-400-tp17775435p17779380.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.



--
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




--
-- Einar Moos
-- parisiana.com

Tel: 0676660080



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: error code received when submitting instance: 400

Erik Bruchez
Administrator
That message is informative, it is not a problem.

-Erik

On Jun 11, 2008, at 4:55 PM, Einar Moos wrote:

> Still have the same problem, the ops log showing "submission  
> occurred during XForms initialization, disabling caching of output "
>
> -- einar moos
>
> On Wed, Jun 11, 2008 at 4:37 PM, Pieter Hartog <[hidden email]
> > wrote:
>
> Erik,
>
> I don't think it's an eXist issue, since the exact same error occurs  
> when I
> load from and submit to the filesystem.
> I execute everything locally on my PC, so the client is one the same  
> machine
> as the server.
> Note that I have the debugging turned on in log4j.xml for all three
> categories (XFormsServer, XFormsInstance and XFormsModelSubmission).  
> That's
> why I saw the errors in stdout. Without debugging turned on, I  
> didn't see
> anything in this log or any other log, just the 'submission failed'  
> error
> when trying to submit the form.
> Other forms (e.g. the sample application forms) work fine, so I  
> suspect
> there's something wrong with this form. I just don't know where to  
> look.
>
> Should I download the source code and debug using the source code to  
> find
> out what's wrong? Or are there other ways to research this further?
>
> Thank you,
>
> -Pieter
>
>
> Erik Bruchez wrote:
> >
> > 400 is the error code return by the server, in this case I assume
> > eXist? You could use something like TCPMon to see what's happening  
> on
> > the wire.
> >
> > -Erik
> >
> > On Jun 11, 2008, at 1:31 PM, Pieter Hartog wrote:
> >
> >> I need some help figuring out what the following error means and  
> how
> >> to fix it. I validated the XML instance against the schema and it
> >> was valid. In fact, I did not change anything; the form loaded the
> >> instance, and the submit submitted the exact same instance to the
> >> same file. I tried loading and submitting the file from both the
> >> file system and eXist. How can I fix this error? The following is
> >> from the stdout file: 2008-06-11 07:09:08,546 DEBUG XFormsServer -
> >> XForms - submission - external submission time including handling
> >> returned body {time: "531"} 2008-06-11 07:09:08,546 ERROR
> >> XFormsServer - XForms - submission - xforms-submit-error throwable:
> >> org.orbeon.oxf.xforms.XFormsModelSubmission
> >> $XFormsSubmissionException: line 27 of oxf:/config/xforms-
> >> widgets.xsl (processing submission response): xforms:submission for
> >> submission id: submit_model_CarExport, error code received when
> >> submitting instance: 400 oxf:/config/xforms-widgets.xsl, line 27,
> >> column -1: xforms:submission for submission id:
> >> submit_model_CarExport, error code received when submitting
> >> instance: 400 at
> >> org
> >> .orbeon
> >> .oxf
> >> .xforms
> >> .XFormsModelSubmission
> >> .performDefaultAction(XFormsModelSubmission.java:1004) at
> >> org
> >> .orbeon
> >> .oxf
> >> .xforms
> >> .XFormsContainingDocument
> >> .dispatchEvent(XFormsContainingDocument.java:1155) at
> >> org
> >> .orbeon
> >> .oxf
> >> .xforms
> >> .control
> >> .controls
> >> .XFormsSubmitControl.performDefaultAction(XFormsSubmitControl.java:
> >> 48) at
> >> org
> >> .orbeon
> >> .oxf
> >> .xforms
> >> .XFormsContainingDocument
> >> .dispatchEvent(XFormsContainingDocument.java:1155) at
> >> org
> >> .orbeon
> >> .oxf
> >> .xforms
> >> .XFormsContainingDocument
> >> .executeExternalEvent(XFormsContainingDocument.java:935) .... Any
> >> help is appreciated.
> >> View this message in context: error code received when submitting
> >> instance: 400
> >> Sent from the ObjectWeb OPS - Users mailing list archive at
> >> Nabble.com.
> >>
> >> --
> >> 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
> >
> > --
> > Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> > http://www.orbeon.com/
> >
> >
> >
> > --
> > 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
> >
> >
>
> --
> View this message in context: http://www.nabble.com/error-code-received-when-submitting-instance%3A-400-tp17775435p17779380.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
>
> --
> 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
>
>
>
>
> --
> -- Einar Moos
> -- parisiana.com
>
> Tel: 0676660080
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: error code received when submitting instance: 400

Pieter Hartog
In reply to this post by Pieter Hartog
Error does not occur anymore. I'm not sure what was wrong exactly, but I suspect my triggers and submission elements were not correct. They did not make sense as fas as what I had filled in for context, nodeset, origin etc. So basically I had to clean up my code.

Pieter Hartog wrote
I need some help figuring out what the following error means and how to fix it.
I validated the XML instance against the schema and it was valid. In fact, I did not change anything; the form loaded the instance, and the submit submitted the exact same instance to the same file.
I tried loading and submitting the file from both the file system and eXist.

How can I fix this error?

The following is from the stdout file:

2008-06-11 07:09:08,546 DEBUG XFormsServer  - XForms -     submission - external submission time including handling returned body {time: "531"}
2008-06-11 07:09:08,546 ERROR XFormsServer  - XForms - submission - xforms-submit-error throwable: org.orbeon.oxf.xforms.XFormsModelSubmission$XFormsSubmissionException: line 27 of oxf:/config/xforms-widgets.xsl (processing submission response): xforms:submission for submission id: submit_model_CarExport, error code received when submitting instance: 400
oxf:/config/xforms-widgets.xsl, line 27, column -1: xforms:submission for submission id: submit_model_CarExport, error code received when submitting instance: 400
        at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java:1004)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1155)
        at org.orbeon.oxf.xforms.control.controls.XFormsSubmitControl.performDefaultAction(XFormsSubmitControl.java:48)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1155)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.executeExternalEvent(XFormsContainingDocument.java:935)
....

Any help is appreciated.