« Return to Thread: Submission not occuring

Re: Re: Submission not occuring

by marnold :: Rate this Message:

Reply to Author | View in Thread

Thanks Eric.

Erik Bruchez wrote:
Did you enable XForms logging? You may see some interesting  
information there:

   http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-logging
Yes, I've uncommented those bits from config/log4j.xml and restarted Tomcat.  Now where is this logging supposed to spew out to?

Erik Bruchez wrote:
> 2) When I perform my submission to my servlet, it does the POST, but  
> my
> browser gets redirected to /opt/xforms-server-submit and there I get  
> the
> error:
>
> Path http://localhost:8000/TW/ReceiveMessageXML does not start with  
> a "/"
> character
>
> And ideas why I would be getting this?  Or course it doesn't start  
> with a
> "/"!?  Is this due to POSTing to a servlet in a separate webapp?

Try disabling optimized submissions in properties.xml:

<property as="xs:boolean" name="oxf.xforms.optimize-local-submission"  
value="false"/>
Thanks - that works (after I fixed the deliberate error in my servlet ;-).  What are the side effects of making this setting?  I want all my submissions as optimised as possible!  

Erik Bruchez wrote:
> 3) When I perform my submission to eXist, it does the PUT, but I get  
> an HTTP
> 403 Forbidden.  This suggests that it's an authorisation problem.  
> But the
> bookcast example provides no username/password and works, so why  
> should my
> form?


By default, eXist supports a "guest" mode. Maybe your separately  
deployed eXist (if that's what you are using) doesn't?
I'm trying to use the eXist built-in with Orbeon.  That's why I don't why the bookcast example works with no authentication, yet my xform doesn't.

Malcolm

 « Return to Thread: Submission not occuring