<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SharePoint 2007 and InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/24107.aspx</link><pubDate>Thu, 01 Nov 2007 07:46:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24107</guid><dc:creator>amsyo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24107.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=24107</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve found it.&lt;/p&gt;
&lt;p&gt;Ironically, on a post on infopathdev 2007-august.&lt;/p&gt;
&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;&amp;quot;Hi,&lt;/p&gt;
&lt;p&gt;This is how you can change the Web Service URL of a data connection.&lt;/p&gt;
&lt;p&gt;IXMLDOMDocument webserviceOperation;&lt;br /&gt;WebServiceAdapter2 webserviceAdapter = (WebServiceAdapter2) thisXDocument.DataAdapters[dataAdapterName];&lt;/p&gt;
&lt;p&gt;webserviceOperation = thisXDocument.CreateDOM();&lt;br /&gt;webserviceOperation.loadXML(webserviceAdapter.Operation);&lt;br /&gt;SetNodeValue(webserviceOperation.documentElement, &amp;quot;@serviceUrl&amp;quot;, url);&lt;br /&gt;webserviceAdapter.Operation = webserviceOperation.xml;&lt;/p&gt;&lt;/div&gt;
&lt;div class="ForumPostSignature"&gt;&lt;font color="purple"&gt;Agni / &lt;a href="http://www.ggktech.com/"&gt;http://www.ggktech.com&lt;/a&gt;&amp;quot;&lt;/font&gt;&lt;/div&gt;
&lt;div class="ForumPostSignature"&gt;&lt;font color="#800080"&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="ForumPostSignature"&gt;Thanks Agni, and sorry Adam for re-posting a question.&lt;/div&gt;
&lt;div class="ForumPostSignature"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="ForumPostSignature"&gt;*code is JavaScript.&lt;/div&gt;</description></item><item><title>Re: SharePoint 2007 and InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/23996.aspx</link><pubDate>Thu, 25 Oct 2007 19:58:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23996</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23996.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=23996</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;First off I am not a coder so I can&amp;#39;t help you translate your code.&amp;nbsp; On the bright side you can use the link below to find all about the object model in InfoPath 2003.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/aa947605(VS.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa947605(VS.80).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope this helps&lt;/p&gt;</description></item><item><title>SharePoint 2007 and InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/23980.aspx</link><pubDate>Thu, 25 Oct 2007 09:27:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23980</guid><dc:creator>amsyo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23980.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=23980</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to build an InfoPath form 2003 compatible (is a must) that populates multiple drop down boxes&amp;nbsp;using a web service. The form is going to be published on SharePoint 2007.&lt;/p&gt;
&lt;p&gt;The web service is also&amp;nbsp;deployed on SharePoint, on localhost/_vti_bin/mycWebService.asmx.&lt;/p&gt;
&lt;p&gt;I would like to programatically modify the URL of the web service each time I deploy the form on SharePoint. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;So my idea was to code OnFormLoad() as :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Uri templateUri = Template.Uri;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UriBuilder serviceUri = new UriBuilder(templateUri.Scheme, templateUri.Host, templateUri.Port);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serviceUri.Path = &amp;quot;/_vti_bin/mycWebService.asmx&amp;quot;;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataConnection conn = DataConnections[&amp;quot;getNames&amp;quot;];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WebServiceConnection wbC = (WebServiceConnection)conn;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wbC.ServiceUrl = serviceUri.Uri;&lt;/p&gt;
&lt;p&gt;Unfortunately this is 2007 Code,&amp;nbsp; so I need to convert into 2003 code.&lt;/p&gt;
&lt;p&gt;And now, I am kind of lost. I can&amp;#39;t seem to find the a document that describes&amp;nbsp;Object Model for 2003.&lt;/p&gt;
&lt;p&gt;Thank You for any details,&lt;/p&gt;
&lt;p&gt;Andrei Gavrila&lt;/p&gt;</description></item></channel></rss>