<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Invoking WCF in InfoPath Code Behind</title><link>https://www.infopathdev.com:443/forums/thread/68666.aspx</link><pubDate>Sun, 24 Jul 2011 20:56:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68666</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68666</wfw:commentRss><description>&lt;p&gt;Why do you need to call via code? Why not just use the data connection wizard and add a Receive connection to the WCF Web service and specify populate on load?&lt;/p&gt;</description></item><item><title>Invoking WCF in InfoPath Code Behind</title><link>https://www.infopathdev.com:443/forums/thread/68563.aspx</link><pubDate>Tue, 19 Jul 2011 20:37:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68563</guid><dc:creator>aszia787</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68563.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68563</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;I have an IP 2010&amp;nbsp;form that contains some dropdown fields. Each dropdown field needs to be auto populated utilizing WCF that will fetch data from the DB. &lt;/p&gt;&lt;p&gt;I have a method in the code behind file that connects to the DB, runs a query and returns a Dataset. In the form loading event I need to call WCFthat will return the dataset. I noticed in&amp;nbsp;VTSA&amp;nbsp;I cannot&amp;nbsp;do &amp;quot;Add Service Reference&amp;quot;. The only options I see are &amp;quot;Add Reference&amp;quot; and &amp;quot;Add Web Reference&amp;quot;. How do I add the &amp;quot;Add Service Reference&amp;quot; to actually call the WCF within my form behind code? Is this possible? &lt;/p&gt;</description></item></channel></rss>