Why are you using XmlHttp with the .NET framework? Either use the InfoPath
DAVAdapter (in the UI, set a data connection to submit to a SharePoint form
library, in the object model see the developer documentation/sdk).
Or use the .NET classes, System.Net.HttpWebRequest and
System.Net.WebClient. These don't have the same interface as XMLHTTP, but do
have the same functionality. (WebClient is a wrapper on WebRequest, it is
simpler but can't do everything WebRequest can.)
(Both of these will be covered in _Developing Solutions with Microsoft
InfoPath_)
--Matthew Blain
http://tips.serriform.com/
> Hi there,
>
> I'm using XmlHTTP (ActiveX) object to post a document but it doen't work.
>
> Someone told me that by default we don't grant ComInterop permission to
the
> business logic code and If I want to use XmlHTTP I need to make the solution
> fully trusted or grant COMInterop permission by using InfoPath Form Templates
[quoted text clipped - 3 lines]
>
> Thank u