Return from a Webservice

V

virgul

Hi,

I have a question that can I believe interest a lot of people:

When you have send your document Xml to a webservice for do an
XMLTransform how to send back to infopath?

i explain me I send my xml do a XSLT transformation for WordML and I
wan't to return to infopath for that he launch me Word with the
document that the WS send.

Open a word document with Infopath I know how to do!

but for send and receive to Infopath I don't know?

Has anybody an idea?

If that can help you to see my WS:

public XmlDocument OpenWord(XmlDocument doc)
{
XslTransform xslt = new XslTransform();
xslt.Load(@"C:\WebServices\WordML\word.xslt");
XPathNavigator nav = doc.CreateNavigator();
StringWriter result= new StringWriter();
XmlUrlResolver resolve= new XmlUrlResolver();
xslt.Transform(nav ,null, result, resolve);
XmlDocument infopath = new XmlDocument();
infopath.LoadXml(result.ToString());
infopath.Save(@"C:\WebServices\WordML\ahahaha.doc");
return infopath;
}


Thanks for all your answer

++

Thierry
 

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