store xml message for webservice in a file

D

dick wenning

I want to make offline ability for InfoPath 2007. But I can’t get it working.
I’m running into this issue:

Code example:

WebServiceConnection wsc = (WebServiceConnection)this.DataConnections["your
webservice"];
Try
{
Wsc.execute();
}
Catch (WebException)
{
//How can I get the XML message out of the WebServiceConnection
(<Envelop><Header></Header><Body></Body></Envelop>)
//Store the XML message into a file share of the inbound path of AIF.
}
 

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