<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Call webservice from VBscript</title><link>https://www.infopathdev.com:443/forums/thread/17913.aspx</link><pubDate>Thu, 28 Sep 2006 23:04:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17913</guid><dc:creator>scottr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17913</wfw:commentRss><description>Well I can't really remember the error message I'm getting, but like I said I'm trying to use a "Delete file from SharePoint" how-to (see above) but I'm stuck on the last step. It says to put the following code in formcode.cs&lt;br /&gt;&lt;font color="blue"&gt;&lt;br /&gt;private void deleteFile(string fileName)&lt;br /&gt;{            thisXDocument.GetDOM("UpdateListItemsConfig").selectSingleNode("/UpdateListItemsConfig/SharepointDelete/Batch/Method/Field[@Name = 'FileRef']").text = fileName; &lt;br /&gt;    WebServiceAdapter2 deleteFileFromSharepoint = (WebServiceAdapter2)thisXDocument.DataAdapters["SharePointDelete"];&lt;br /&gt;    deleteFileFromSharepoint.Submit();&lt;br /&gt;&lt;/font id="blue"&gt;&lt;br /&gt;I understand that this is C# code and will not work in VB, but I'm having a hard time trying to convert it over. I've tried removing the 'fileName' and putting the URL to the file I wanted to delete. I also remove 'this' from thisXDocument....&lt;br /&gt;I believe the problem lies somewhere with the 'WebServiceAdapter2'&lt;br /&gt;&lt;br /&gt;Help from anyone is greatly appreciated.</description></item><item><title>Re: Call webservice from VBscript</title><link>https://www.infopathdev.com:443/forums/thread/17912.aspx</link><pubDate>Thu, 28 Sep 2006 13:06:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17912</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17912.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17912</wfw:commentRss><description>Hi scottr Welcome to the Forums,&lt;br /&gt;&lt;br /&gt;In VBScript you should not declare type of the parameter for calling of the function. Have you get the WebService adapter in VB Script? Can you explain me what is the error you are getting exactly&lt;br /&gt;</description></item><item><title>Call webservice from VBscript</title><link>https://www.infopathdev.com:443/forums/thread/17559.aspx</link><pubDate>Tue, 26 Sep 2006 22:23:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17559</guid><dc:creator>scottr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17559.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17559</wfw:commentRss><description>I'm trying to delete a file from SharePoint in infopath once the submit button is pressed. The submit button also submits data to a database and does a couple other things. I've followed a "How to" written by Agni -&lt;br /&lt;a target="_blank" href=http://infopathdev.com/howto/tutorials/default.aspx?i=1d52979046884d8186c9393a1ea95109&gt;http://infopathdev.com/howto/tutorials/default.aspx?i=1d52979046884d8186c9393a1ea95109&lt;/a&gt;&lt;br /&gt;Problem is, I'm trying to use VBScript to call the webservice and pass a parameter to it, but can't seem to figure it out.&lt;br /&gt;&lt;br /&gt;Anyone have any suggestions&lt;br /&gt;&lt;br /&gt;PS. I'm not a coder, so take it easy on me...thanks</description></item></channel></rss>