You cannot send the completed form (the PDF and attachments) via a web service call. There is no means to get the PDF programmatically while inside of the form. You can however post the completed form (and attachments) to a servlet and have the servlet create the web service call if required.
You can send just the data through a web service call but that is all.
Hi, sorry to rehash this but I just wanted to make sure I understood.
My scenario is that I have a form that has reader extensions, a policy and digital signatures applied through a custom renderer in workspace. I would like to give them the capability to submit the form both through workspace and to download the form to submit it from their desktop. To allow for the second I have to create a servlet, have the submit button point to it to submit the pdf, and the servlet will in turn submit to the process.
Is that accurate? Is there possible a sample you could point me to?
There is a way!
If you don't want to implement the servlet, you could try this alternate way:
Let the user send an email to the adobe email server with the filled pdf attached. Email end point of your process can receive the email and can process the attachment(s) and go on... You could also start a new process instance after recieving the email.
PS:Need to take care while configuring email end point. If filters are not proper, your process could receive emails designated for other processes too.
The above solution is opt for the forms with attachments and beyond your enterprise firewal (i.e. out of your workspace); however you should convert all form attachments to workflow attachments in order to processing them further.