<?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: Problem in GetListItems Web Service</title><link>https://www.infopathdev.com:443/forums/thread/17836.aspx</link><pubDate>Tue, 14 Mar 2006 16:01:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17836</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17836</wfw:commentRss><description>This is not really an IP issue, I bet you would probably run into the problems if you were writing this .net code outside of IP.  Suggest you do some reading up on how to call WSS Web Services.  They are documented in the MSDN library.</description></item><item><title>Problem in GetListItems Web Service</title><link>https://www.infopathdev.com:443/forums/thread/17523.aspx</link><pubDate>Mon, 06 Mar 2006 12:27:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17523</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17523</wfw:commentRss><description>I have a InfoPathe - code in c# .NET.&lt;br /&gt;I have a Web Reference to SharePoint Web Service - GetListItems().&lt;br /&gt;&lt;br /&gt;I operate this code:&lt;br /&gt;&lt;br /&gt;XmlDocument xmlDoc = new System.Xml.XmlDocument();&lt;br /&gt;XmlNode ndQuery = xmlDoc.CreateNode(XmlNodeType.Element,"Query","");&lt;br /&gt;XmlNode ndViewFields = xmlDoc.CreateNode(XmlNodeType.Element,"ViewFields","");&lt;br /&gt;XmlNode ndQueryOptions = xmlDoc.CreateNode(XmlNodeType.Element,"QueryOptions","");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;string str=this.thisXDocument.DOM.selectSingleNod("//my:IDNumber").text;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ndQueryOptions.InnerXml= "&amp;lt;IncludeMandatoryColumns&amp;gt;FALSE&amp;lt;/IncludeMandatoryColumns&amp;gt;" +&lt;br /&gt;"&amp;lt;DateInUtc&amp;gt;TRUE&amp;lt;/DateInUtc&amp;gt;";&lt;br /&gt;&lt;br /&gt;ndViewFields.InnerXml = "&amp;lt;FieldRef Name='Fname' /&amp;gt;&amp;lt;FieldRef Name='Lname'/&amp;gt;";&lt;br /&gt;&lt;br /&gt;ndQuery.InnerXml="&amp;lt;Where&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name='Fname'/&amp;gt;&amp;lt;Value Type='String'&amp;gt;" + str +"&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Where&amp;gt;";&lt;br /&gt;			&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;XmlNode returnXml = s.GetListItems("MyList",null,ndQuery,ndViewFields,null,ndQueryOptions);&lt;br /&gt;this.thisXDocument.UI.Alert(returnXml.OuterXml);&lt;br /&gt;			&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;catch (System.Web.Services.Protocols.SoapException ex)&lt;br /&gt;{&lt;br /&gt;this.thisXDocument.UI.Alert("Message:\n" + ex.Message + "\nDetail:\n" +&lt;br /&gt;ex.Detail.InnerText +&lt;br /&gt;"\nStackTrace:\n" + ex.StackTrace);&lt;br /&gt;}	&lt;br /&gt;&lt;br /&gt;I get eroor of "Field with this name not exist"&lt;br /&gt;What is the problem</description></item></channel></rss>