RE:Problem with replace="instance" in submission

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

RE:Problem with replace="instance" in submission

Reddy, Gopikrishna
Hi ,
Can anybody help me out in this as iam getting with replace="instance" in submission
 
Here is my code
 <xforms:submission id="onchange-submission" method="post" action="/usertasklist/edit" replace="instance" xxforms:instance="instance('edit-request-instance')" />
 
Iam getting the following error
 
05:23:18,293 ERROR XFormsSubmitErrorEvent: XForms - submission - xforms-submit-error throwable: org.
orbeon.oxf.common.OXFException: Body received with non-XML media type for replace="instance": text/h
tml
        at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.ja
va:758)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.jav
a:920)
        at org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:45)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.ja
va:116)
        at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:3
2)
 
Thanks and Regards,
K Gopikrishna Reddy
 
 
 
This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.



--
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:Problem with replace="instance" in submission

Ryan Puddephatt-3

Hi,

                What are you expecting the response data to be? The error is telling you it is not valid XML, its text/html (which doesn’t need to be well-formed) try returning text/xhtml or text/xml

 

Ryan

 

-----------------------------------------------

Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

Office: +44 (0) 20 7462 4200

Direct: +44 (0) 20 7323 6112

Blackberry: +44 (0) 79 8539 2458

Fax: +44 (0) 20 7462 4242

Email: [hidden email]

Web: http://www.latentzero.com

 

From: Reddy, Gopikrishna [mailto:[hidden email]]
Sent: 04 July 2008 10:20
To: [hidden email]
Subject: [ops-users] RE:Problem with replace="instance" in submission

 

Hi ,

Can anybody help me out in this as iam getting with replace="instance" in submission

 

Here is my code

 <xforms:submission id="onchange-submission" method="post" action="/usertasklist/edit" replace="instance" xxforms:instance="instance('edit-request-instance')" />

 

Iam getting the following error

 

05:23:18,293 ERROR XFormsSubmitErrorEvent: XForms - submission - xforms-submit-error throwable: org.
orbeon.oxf.common.OXFException: Body received with non-XML media type for replace="instance": text/h
tml
        at org.orbeon.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.ja
va:758)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.jav
a:920)
        at org.orbeon.oxf.xforms.action.actions.XFormsSendAction.execute(XFormsSendAction.java:45)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.ja
va:116)
        at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:3
2)

 

Thanks and Regards,

K Gopikrishna Reddy

 

 

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.
 

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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