Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2005

Tip: Looking for answers? Try searching our database.

select the xml generated by infopath with C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
virgul - 07 Mar 2005 08:13 GMT
hi,

On a button click I try to invoke a webservice the parameter is a
string. I try to send my xml generated by infopath(template.xml) as a
string to a webservice so i do that:

localhost.WordML NewTrans = new WordML();
string Transformed = NewTrans.OpenWord(thisXDocument.ToString());

But before go to the webservice that send me an error like that:
Impossible to find the file
"C:\WINDOWS\system32\Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentWrapper"

and other error (If you wan't I send all the error)

So my question is how to select with C# the result of my form
(TEMPLATE.xml)?

Any help is very appreciate!!!

Thanks

Thierry

++
virgul - 07 Mar 2005 13:28 GMT
I have found it's:

string transformed =
NewTrans.OpenWord(thisXDocument.DOM.xml.ToString());

++

Thierry
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.