Ok, I don't know if this is a result of the editor here on the forums,
but when I took the data from your code above, everywhere that there
was a line break, there was some missing white space that the system
requires. For example, near the beginning of the XDP file, you have a
tag like <?xfa generator...>. There needs to be a space between xfa
and generator, and in the file above, there didn't appear to be one.
The same thing for the pdf href line, there was no space between the
name of the pdf and the xmlns parameter.
In order to see what a valid XDP should look like, on your form, put a
button on it and make it a submit button and on the submit URL, to
mailto:// and some email address. Then test your form in the Designer
and click the button. It should open your mail client and attach an
XDP that you can look at to see what the format should be.
On Jan 15, 1:42 pm, tyhugh2 <
th...@mednethealth.net> wrote:
> Yes
>
> Server: IIS 5.0
> .NET Framework 3.5 - 2.0 can be used
>
> Initially I used a HTTP handler to process the request, however for
> testing purposes i am using a standard aspx page with the code behind
> model. After further reseach, I added uuid and timestamp attributes to
> the <xdp> element (<xdp:xdp xmlns:xdp='
http://ns.adboe.com/xdp/'
> timeStamp='2008-01-15T14:58:18Z' uuid='28dc58ea-57fd-4e7b-
> ab8d-1fa67a9a2872'>). So now im getting the following message
>
> "Unable to locate the form, because the XFA data lacks a reference to
> the PDF document. If the data came back as a result of a submit from a
> PDF, then the URL is probably missing "#FDF" at the end."
>
> I tried different URI's using the file system and HTTP, but still no
> cigar.
>
> Below is a copy of the entire method.
>
> protected void Page_Load(object sender, EventArgs e)
> {
> StringBuilder XDFdataset = new StringBuilder();
> XDFdataset.Append(@"<?xml version='1.0' encoding='UTF-8'?>");
> XDFdataset.Append(@"<?xfa
> generator='AdobeLiveCycleDesigner_V8.0' APIVersion='2.5.6290.0'?>");
> XDFdataset.Append(@"<xdp:xdp xmlns:xdp='
http://ns.adboe.com/
> xdp/' timeStamp='2008-01-15T14:58:18Z' uuid='28dc58ea-57fd-4e7b-
> ab8d-1fa67a9a2872'>");
>
> XDFdataset.Append(@"<xfa:datasets xmlns:xfa='
http://www.xfa.org/schema/xfa-data/1.0/'>");