Is it possible to call a service upon saving a form.

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

Is it possible to call a service upon saving a form.

paul8226
Hi all.  I wanted to see if anyone knew if it was possible to POST to a URL when the user clicks the built in form Save button.  If not, is there a way to have a button which triggers a save of the form to the persistence layer along with POSTing to a URL.

Paul
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to call a service upon saving a form.

Erik Bruchez
Administrator
Paul,

Out of the box, no. It is possible to:

* save to the persistence layer
* send an email
* produce a PDF
* save to Alfresco
* go to a confirmation page

I added an RFE for this:

http://forge.ow2.org/tracker/index.php?func=detail&aid=314761&group_id=168&atid=350207

-Erik

On Fri, Feb 5, 2010 at 7:25 AM, paul8226 <[hidden email]> wrote:

>
> Hi all.  I wanted to see if anyone knew if it was possible to POST to a URL
> when the user clicks the built in form Save button.  If not, is there a way
> to have a button which triggers a save of the form to the persistence layer
> along with POSTing to a URL.
>
> Paul
> --
> View this message in context: http://n4.nabble.com/Is-it-possible-to-call-a-service-upon-saving-a-form-tp1470331p1470331.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
>
>


--
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: Is it possible to call a service upon saving a form.

MichaelCap
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Is it possible to call a service upon saving a form.

pappleby
Out of Office AutoReply: Is it possible to call a service upon saving a form.

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: Re: Is it possible to call a service upon saving a form.

Alessandro  Vernet
Administrator
In reply to this post by MichaelCap
Michael,

This is configured through properties (in your properties-local.xml).
The following properties will impact all your forms, but you can setup
those properties so they only impact specific forms or group of forms.
The first one only shows the "Submit" button. The second one says that
on submit, we want to have "go" button (which takes the user to
another URL). Finally the third on provide the URL. Here is a static
string (hence the quote inside the quote), and you can have there an
XPath expression which dynamically determines the page to go to.

<property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="submit"/>
<property as="xs:string"  name="oxf.fr.detail.submit.buttons.*.*" value="go"/>
<property as="xs:string"  name="oxf.fr.detail.submit.go.uri-xpath.*.*"
value="'http://www.orbeon.com/'"/>

To learn more about those properties, see:
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner

Alex

On Mon, Jul 12, 2010 at 2:25 PM, MichaelCap <[hidden email]> wrote:

>
> Hi,
>
> I am wondering if you would be able to inform me how I can have the save
> button on a new form route to an external url. For example: instead of going
> to a confirmation page I would like the Save button to persist the data like
> normal and go to "http://www.test.com/testapp/app.do".
>
> Thank you,
>
> Michael
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Is-it-possible-to-call-a-service-upon-saving-a-form-tp1470331p2286762.html
> Sent from the Orbeon Forms (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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Is it possible to call a service upon saving a form.

pappleby
Out of Office AutoReply: Is it possible to call a service upon saving a form.

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: Re: Is it possible to call a service upon saving a form.

MichaelCap
In reply to this post by Alessandro Vernet
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Is it possible to call a service upon saving a form.

pappleby
Out of Office AutoReply: Is it possible to call a service upon saving a form.

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

RE: Re: Re: Is it possible to call a service upon saving a form.

Rodney Wild
In reply to this post by Alessandro Vernet
Hi Alex, this might be a newbe question ... but how would you extend that to only apply to a specific form or group of forms?  I'm asking because it relates to one of my other questions that is very similar.  Thanx.

Rod

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]]
Sent: July 12, 2010 4:31 PM
To: ops-users
Subject: [ops-users] Re: Re: Is it possible to call a service upon saving a form.

Michael,

This is configured through properties (in your properties-local.xml).
The following properties will impact all your forms, but you can setup those properties so they only impact specific forms or group of forms.
The first one only shows the "Submit" button. The second one says that on submit, we want to have "go" button (which takes the user to another URL). Finally the third on provide the URL. Here is a static string (hence the quote inside the quote), and you can have there an XPath expression which dynamically determines the page to go to.

<property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="submit"/> <property as="xs:string"  name="oxf.fr.detail.submit.buttons.*.*" value="go"/> <property as="xs:string"  name="oxf.fr.detail.submit.go.uri-xpath.*.*"
value="'http://www.orbeon.com/'"/>

To learn more about those properties, see:
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner

Alex

On Mon, Jul 12, 2010 at 2:25 PM, MichaelCap <[hidden email]> wrote:

>
> Hi,
>
> I am wondering if you would be able to inform me how I can have the
> save button on a new form route to an external url. For example:
> instead of going to a confirmation page I would like the Save button
> to persist the data like normal and go to "http://www.test.com/testapp/app.do".
>
> Thank you,
>
> Michael
> --
> View this message in context:
> http://orbeon-forms-ops-users.24843.n4.nabble.com/Is-it-possible-to-ca
> ll-a-service-upon-saving-a-form-tp1470331p2286762.html
> Sent from the Orbeon Forms (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, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet


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

Out of Office AutoReply: Re: Is it possible to call a service upon saving a form.

pappleby
Out of Office AutoReply: Re: Is it possible to call a service upon saving a form.

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Is it possible to call a service upon saving a form.

Alessandro  Vernet
Administrator
In reply to this post by MichaelCap
Michael,

Are you saying that when users have finished filling out the form
foo/bar, you want them to go to
http://www.test.com/testapp/app.do?app=foo&form=bar?

Alex

On Tue, Jul 13, 2010 at 6:40 AM, MichaelCap <[hidden email]> wrote:

>
> Alessandro,
>
> Thank you for your reply. I am not too familiar with XPath and am not sure
> how I would place the app and form names in the url as a query string. Can
> you please help?
>
> I am looking for something like
> "http://www.test.com/testapp/app.do?app=$app&form=$form" where $app and
> $form are the current app and form names of the form being submitted.
>
> Any help is appreciated.
>
> Michael
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Is-it-possible-to-call-a-service-upon-saving-a-form-tp1470331p2287425.html
> Sent from the Orbeon Forms (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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Re: Is it possible to call a service upon saving a form.

pappleby
Out of Office AutoReply: Re: Is it possible to call a service upon saving a form.

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: Re: Is it possible to call a service upon saving a form.

Alessandro  Vernet
Administrator
In reply to this post by Rodney Wild
Rod,

You can limit the scope of those properties by using something other
than *.* at the end of the name of the property. In general you would
use this to limit them to a specific app/form, or to all the forms in
a given app. You can read more about this in the short section
"Wildcards in properties" on:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties

Alex

On Tue, Jul 13, 2010 at 12:03 PM, Wild, Rodney
<[hidden email]> wrote:

> Hi Alex, this might be a newbe question ... but how would you extend that to only apply to a specific form or group of forms?  I'm asking because it relates to one of my other questions that is very similar.  Thanx.
>
> Rod
>
> -----Original Message-----
> From: Alessandro Vernet [mailto:[hidden email]]
> Sent: July 12, 2010 4:31 PM
> To: ops-users
> Subject: [ops-users] Re: Re: Is it possible to call a service upon saving a form.
>
> Michael,
>
> This is configured through properties (in your properties-local.xml).
> The following properties will impact all your forms, but you can setup those properties so they only impact specific forms or group of forms.
> The first one only shows the "Submit" button. The second one says that on submit, we want to have "go" button (which takes the user to another URL). Finally the third on provide the URL. Here is a static string (hence the quote inside the quote), and you can have there an XPath expression which dynamically determines the page to go to.
>
> <property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="submit"/> <property as="xs:string"  name="oxf.fr.detail.submit.buttons.*.*" value="go"/> <property as="xs:string"  name="oxf.fr.detail.submit.go.uri-xpath.*.*"
> value="'http://www.orbeon.com/'"/>
>
> To learn more about those properties, see:
> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner
>
> Alex
>
> On Mon, Jul 12, 2010 at 2:25 PM, MichaelCap <[hidden email]> wrote:
>>
>> Hi,
>>
>> I am wondering if you would be able to inform me how I can have the
>> save button on a new form route to an external url. For example:
>> instead of going to a confirmation page I would like the Save button
>> to persist the data like normal and go to "http://www.test.com/testapp/app.do".
>>
>> Thank you,
>>
>> Michael
>> --
>> View this message in context:
>> http://orbeon-forms-ops-users.24843.n4.nabble.com/Is-it-possible-to-ca
>> ll-a-service-upon-saving-a-form-tp1470331p2286762.html
>> Sent from the Orbeon Forms (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, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet
>
>
> --
> 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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Re: Re: Is it possible to call a service upon saving a form.

pappleby
Out of Office AutoReply: Re: Re: Is it possible to call a service upon saving a form.

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Is it possible to call a service upon saving a form.

MichaelCap
This post was updated on .
In reply to this post by Alessandro Vernet
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Re: Is it possible to call a service upon saving a form.

pappleby
Out of Office AutoReply: Re: Is it possible to call a service upon saving a form.

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Is it possible to call a service upon saving a form.

Alessandro  Vernet
Administrator
In reply to this post by MichaelCap
Michael,

The following will return the document id:
xxforms:instance('fr-parameters-instance')/document. So you could have
something like:

<property as="xs:string"  name="oxf.fr.detail.submit.go.uri-xpath.*.*"
    value="concat('http://www.orbeon.com/',
xxforms:instance('fr-parameters-instance')/document)"/>

When using undocumented internal instances (like
xxforms:instance('fr-parameters-instance')), you'll want to be a bit
more cautious when upgrading to a new version of Orbeon Forms, but
hey, we're not Apple ;), and won't stop you from using those if it
makes sense for you.

Alex

On Wed, Jul 14, 2010 at 6:31 AM, MichaelCap <[hidden email]> wrote:

>
> Alex,
>
> Yes that is correct. I want the form to go to
> "http://www.test.com/testapp/app.do?app=foo&form=bar" after a form is filled
> out. I have this working now by modifying the properties-local.xml and
> submission-dialog.xhtml.
>
> Thanks for your help in guiding me to the proper files. What I still need to
> do is pass the documentId along with the app and form to the url. ex.
> "http://www.test.com/testapp/app.do?app=foo&form=bar&docid=x" where x is the
> documentId.  Is the document Id available at the time submission-dialog.xml
> is called? and if so, what is the variable name? What I am looking for is
> something like $documentId, which contains the document Id of the form data
> that is persisted to the database.
>
> Any help is appreciated.
>
> Michael
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Is-it-possible-to-call-a-service-upon-saving-a-form-tp1470331p2288748.html
> Sent from the Orbeon Forms (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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Re: Re: Is it possible to call a service upon saving a form.

pappleby
Out of Office AutoReply: Re: Re: Is it possible to call a service upon saving a form.

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: Re: Is it possible to call a service upon saving a form.

Ketan
In reply to this post by Alessandro Vernet
Hi Alex,

I am running Orbeon Forms 3.8 on Tomcat 6.0.20. I have build war file from "3_8_0_201005141841-0-g3fb94bb" tag.

As I want to call the service upon saving a form, I followed your post. I updated my properties-local.xml file with following values.

<property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="submit"/> 
<property as="xs:string"  name="oxf.fr.detail.submit.buttons.*.*" value="go"/> 
<property as="xs:string"  name="oxf.fr.detail.submit.go.uri-xpath.*.*"
value="'http://www.orbeon.com/'"/> 

So, when I click on submit button, I get "Your information has been submitted, thank you." message. And then when I click OK, I got error message. "An error has occured". When I click on Show Details on that error pop up, I see "[No error message provided]".

But in the log I see null pointer exception. Here is the stack trace for the same.

2010-07-23 12:21:01,625 ERROR ProcessorService  - Exception at  (running XForms action: action name='{http://www.w3.org/2002/xforms}load')
java.lang.NullPointerException
        at org.orbeon.saxon.functions.Evaluate.prepareExpression(Evaluate.java:194)
        at org.orbeon.saxon.functions.Evaluate.iterate(Evaluate.java:294)
        at org.orbeon.saxon.instruct.SimpleContentConstructor.evaluateItem(SimpleContentConstructor.java:270)
        at org.orbeon.saxon.expr.Expression.iterate(Expression.java:370)
        at org.orbeon.saxon.sxpath.XPathExpression.iterate(XPathExpression.java:141)
        at org.orbeon.oxf.util.PooledXPathExpression.evaluate(PooledXPathExpression.java:252)
        at org.orbeon.oxf.util.PooledXPathExpression.evaluateSingleKeepNodeInfo(PooledXPathExpression.java:224)
        at org.orbeon.oxf.util.XPathCache.evaluateAsAvt(XPathCache.java:232)
        at org.orbeon.oxf.xforms.XFormsUtils.resolveAttributeValueTemplates(XFormsUtils.java:984)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.resolveAVTProvideValue(XFormsActionInterpreter.java:445)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.resolveAVT(XFormsActionInterpreter.java:492)
        at org.orbeon.oxf.xforms.action.actions.XFormsLoadAction.execute(XFormsLoadAction.java:81)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256)
        at org.orbeon.oxf.xforms.action.actions.XFormsActionAction.execute(XFormsActionAction.java:66)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runSingleIteration(XFormsActionInterpreter.java:295)
        at org.orbeon.oxf.xforms.action.XFormsActionInterpreter.runAction(XFormsActionInterpreter.java:256)
        at org.orbeon.oxf.xforms.event.XFormsEventHandlerImpl.handleEvent(XFormsEventHandlerImpl.java:204)
        at org.orbeon.oxf.xforms.xbl.XBLContainer.dispatchEvent(XBLContainer.java:1000)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEvent(XFormsContainingDocument.java:1012)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.dispatchEventCheckTarget(XFormsContainingDocument.java:925)
        at org.orbeon.oxf.xforms.XFormsContainingDocument.handleExternalEvent(XFormsContainingDocument.java:905)
        at org.orbeon.oxf.xforms.processor.XFormsServer.createAndDispatchEvents(XFormsServer.java:519)
        at org.orbeon.oxf.xforms.processor.XFormsServer.doIt(XFormsServer.java:328)
        at org.orbeon.oxf.xforms.processor.XFormsServer.access$000(XFormsServer.java:63)
        at org.orbeon.oxf.xforms.processor.XFormsServer$1.readImpl(XFormsServer.java:94)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$200(TeeProcessor.java:35)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.read(ProcessorImpl.java:1092)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1238)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:445)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:472)
        at org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:505)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:551)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:503)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:191)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:251)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:620)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
        at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:100)
        at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
        at java.lang.Thread.run(Thread.java:619)

Thank you.

Sincerely,
Ketan

Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Is it possible to call a service upon saving a form.

pappleby
Out of Office AutoReply: Is it possible to call a service upon saving a form.

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

12