HOW TO SET UP A SUBMIT BUTTON TO USE THE DBXL WEB SERVICE
- Configure a Submit button to use the DBXL web service.
a. Double click on the Submit button to display properties.
b. Click on Submit Options.
c. Select Web Service from the first dropdown.
d. Click the Add button.
e. Type in the location of the Qdabra DBXL Web Service in the format http://<servername>/QdabraWebService/DbxlDocumentService.asmx.
f. Click Next. InfoPath will contact the server.
g. In the list of web method operations, choose the web method to use for submitting the form, which is called SubmitDocument.
h. Click Next.
b. Click on Submit Options.
c. Select Web Service from the first dropdown.
d. Click the Add button.
e. Type in the location of the Qdabra DBXL Web Service in the format http://<servername>/QdabraWebService/DbxlDocumentService.asmx.
f. Click Next. InfoPath will contact the server.
g. In the list of web method operations, choose the web method to use for submitting the form, which is called SubmitDocument.
h. Click Next.
- Configure the parameters.
a. Ignore the first parameter, called tns:docTypeName. It will default to the DocType of the form.
b. Select the second parameter, named tns:xml.
b. Select the second parameter, named tns:xml.
- Under Parameter options select the Entire form (XML document, including processing instructions) radio button.
- Check the Submit data as a string checkbox.
c. Select the tns:name parameter. You will notice that steps involved in subsections c, d and e has similar steps.
- Select the radio button Field or Group in the Parameter options section.
- Click the Modify button next to the Field or Group text box. The Select a Field or Group dialog will appear.
- Select the expenseReport/employee/name field, click OK and check the Submit data as a string checkbox.
d. Select the tns:author parameter.
- Select the radio button Field or Group in the Parameter options section.
- Click the Modify button next to the Field or Group text box. The Select a Field or Group dialog will appear.
- Select the expenseReport/employee/emailAddress, click OK and check the Submit data as a string checkbox.
e. Select the tns:description parameter.
- Select the radio button Field or Group in the Parameter options section.
- Click the Modify button next to the Field or Group text box. The Select a Field or Group dialog will appear.
- Select the expenseReport/purpose, click OK and check the Submit data as a string checkbox.
f. Click Next. Click Finish.
- Configure the form to close upon submit.
a. Click Advanced in the Submit Options window.
b. In the After Submit dropdown, select Close the form.
c. Click OK twice.
b. In the After Submit dropdown, select Close the form.
c. Click OK twice.
- Save the updated form.
a. Click Save on the File menu.
b. Close the form.
b. Close the form.