Good Evening,
Using Orbeon forms, we were trying to determine how the exist database is storing the information and returning it when creating the listing for the forms in the system. Our main goal is to backend with another REST based system and hence we were looking at how the information is formatted in the response. Looking at the HTTP requests the following request occurs from Orbeon. "POST /orbeon/exist/rest/db/orbeon/builder/data/?page-size=10&page-number=1&query=&sort-key=&lang=en HTTP/1.1" 200 970 When trying to do this in an HTML form with submission button the following error message is always displayed. HTTP Status 400 - SAX exception while parsing request: Content is not allowed in prolog. Is there any information on what could be causing this issue or indeed what data is required to be sent back. When configuring our REST api we see the following POST come into our server hence is this where we should return XML or should we be returning something else?? "POST /search/orbeon/builder HTTP/1.1" Any advice or guidance regarding this would be greatly appreciated. We checked the http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes integration notes however there did not seem to be any definitive information in there as to what is returned or what is expected when the listing occurs. Respectfully, Darren Ferguson -- 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 |
Administrator
|
The Form Runner search API reads and write XML.
So you can't use an HTML form post for this as that is not able to deal with XML at all. We have some documentation on the format here: http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes#TOC-Data-exchange-format In doubt, you can always observe the XML produced/consumed by Form Runner. -Erik On Thu, Nov 11, 2010 at 3:49 PM, Darren Ferguson <[hidden email]> wrote: > Good Evening, > > Using Orbeon forms, we were trying to determine how the exist database is > storing the information and returning it when creating the listing for the > forms in the system. > > Our main goal is to backend with another REST based system and hence we were > looking at how the information is formatted in the response. > > Looking at the HTTP requests the following request occurs from Orbeon. > > "POST > /orbeon/exist/rest/db/orbeon/builder/data/?page-size=10&page-number=1&query=&sort-key=&lang=en > HTTP/1.1" 200 970 > > When trying to do this in an HTML form with submission button the following > error message is always displayed. > > HTTP Status 400 - SAX exception while parsing request: Content is not > allowed in prolog. > > Is there any information on what could be causing this issue or indeed what > data is required to be sent back. > > When configuring our REST api we see the following POST come into our server > hence is this where we should return XML or should we be returning something > else?? > > "POST /search/orbeon/builder HTTP/1.1" > > Any advice or guidance regarding this would be greatly appreciated. > > We checked the > http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes > integration notes however there did not seem to be any definitive > information in there as to what is returned or what is expected when the > listing occurs. > > Respectfully, > Darren Ferguson > > > -- > 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 |