Infopath as an email attachment

R

Raj

Guys,
Iam trying to send an infopath as an email attachment and use the attached
infopath to collect the data from the enduser and publish it back to the
orchestration which is exposed as a webservice.
Iam able to send the infopath as an attachment in an email but when I open
the form from the email, it gives an error as below

The element '{http://InfoPathWorkflow.Orchestrations.Approve}Approve' is
used but not declared in the DTD/Schema.

But when I open the form residing in my local file system (thats the same
file which Iam referencing in my orchestration for attaching to the email
using SMTPUtils.Part.SetInfopathForm), Iam able to submit data to the
webservice.

Any help would be much appreciated.
Thanks
Raj
 
L

Lee Rosenberg [MSFT]

You're getting this file because when you open the form template from the
email message, it's attempting to open with an older version of the template
that doesn't have the data field 'Approve' defined. Make sure that the most
current template is available from that machine and also make sure that the
file attachment is pointing to it in its 'href' tag (open it in Notepad and
search for 'href').
 
L

Lee Rosenberg [MSFT]

Raj,

Did you create this workflow by using the New from Web Service wizard in
InfoPath or did you hand-edit the webservice to create the connection?

This error could also occur in a case where a resource file is missing from
the InfoPath template.

Lee
 
L

Lee Rosenberg [MSFT]

Raj,

Did you create this workflow by using the New from Web Service wizard in
InfoPath or did you hand-edit the webservice to create the connection?

This error could also occur in a case where a resource file is missing from
the InfoPath template.

Lee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top