
Signature
Greg Collins
Microsoft MVP
Visit Braintrove at http://www.braintrove.com
Visit InfoPathDev at http://www.infopathdev.com
Yes, when I use IE to browse the page(http://localsite/getfile.aspx),
IE display it in styled xml format, this prove that the return ouput
is valid. But the page with form viewer shows "The form has been
closed".
Maybe the from service does not support this? I guest form service is
not retrieving the file content by http call to the url, but translate
the url into object model call.
Thanks
> In your ASPX page do you set the content type?
>
[quoted text clipped - 6 lines]
> Visit Braintrove athttp://www.braintrove.com
> Visit InfoPathDev athttp://www.infopathdev.com
Greg Collins - 03 Apr 2008 21:44 GMT
Don't trust just browsing to the page... make sure the actual page itself
has the content type set to XML.
Outside that I can't help any more here... someone else will have to jump in
if they have ideas.

Signature
Greg Collins
Microsoft MVP
Visit Braintrove at http://www.braintrove.com
Visit InfoPathDev at http://www.infopathdev.com