Hi,
I have created a infopath form, it is web enabled. Upon submit of the form, I invoke the webservice. This is done through Tools-->Submit Options --> (Data connection thru web service, and set the Custom Message for both Success and Failure.). This Infopath form is published and it is published into the sharepoint site thru, "Manage Form Templates" in the Sharepoint Central Administration Site, and placed under "Form Templates Library" in that site.
When the user access the form through browser, upon clicking the submit button the webservice is getting invoked. Assume in case if the webservice is not running or not able to invoke, then the infopath shows the warnning message like below.
|
|
| Some rules were not applied. |
| Click Continue to resume filling out the form. You may want to check your form data for errors. |
| Click Start Over to load a new copy of the form. |
|
|
 |
|
Is there any way we can avoid this warning message. I donot want to show the Infopath warning error message to the end user. Instead I wanted to show the custom error message to the end user, when any problem occurs upon clicking of the submit button. How to handle these kind of errors.
Any help would be greatly appreciated.