Hi all, I am having some trouble integrating my XForms application with another web service.
I receive the call on the server side, set the content type for the response, and then write my XML
response.setContentType("application/xml");
But then I get a SAXException "Bad envelope tag" when receiving the response. See below.
But how do I continue from here? Do I really need to build a SOAP envelope? How do I do that in the simplest way?
2009-02-17 17:33:54,803 ERROR ProcessorService - Exception at line 34, column 42 of oxf:/apps/my-sandbox/evaluate.xpl (reading processor output: name='data', id='evaluation') org.xml.sax.SAXException: Bad envelope tag: evaluation
at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1755) at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324) at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
Many thanks for any tips on this issue. Patrik Helsing
-- 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
Patrik
How
about implementing your service as a REST service?
You
could then either
a) use
the oxf:url-generator processor to get the data (passing any data as url
parameters); or
b) use
the oxf:xforms-submission processor, which means you could POST data to your URL
- see http://www.orbeon.com/ops/doc/processors-submission
Steve
-- 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 |
In reply to this post by Helsing, Patrik
Hi
Patrik
How
about implementing your service as a REST service?
You
could then either
a) use
the oxf:url-generator processor to get the data (passing any data as url
parameters); or
b) use
the oxf:xforms-submission processor, which means you could POST data to your URL
- see http://www.orbeon.com/ops/doc/processors-submission
Steve
-- 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 |
In reply to this post by Steve Bayliss
Thank you very much, Steve. That made the trick!
:-)
Patrik
Helsing From: Steve Bayliss [mailto:[hidden email]] Sent: den 17 februari 2009 18:34 To: [hidden email] Subject: [ops-users] RE: Bad envelope tag? Hi
Patrik
How
about implementing your service as a REST service?
You
could then either
a) use
the oxf:url-generator processor to get the data (passing any data as url
parameters); or
b) use
the oxf:xforms-submission processor, which means you could POST data to your URL
- see http://www.orbeon.com/ops/doc/processors-submission
Steve
-- 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 |