<?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: How to populate a dropdown with a WS in C#</title><link>https://www.infopathdev.com:443/forums/thread/17634.aspx</link><pubDate>Thu, 23 Jun 2005 06:49:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17634</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17634.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17634</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Thanks a lot !&lt;br /&gt;&lt;br /&gt;It's very strange that you can directly populate the primary database with the XMLDocument! But it's like this!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item><item><title>Re: How to populate a dropdown with a WS in C#</title><link>https://www.infopathdev.com:443/forums/thread/17633.aspx</link><pubDate>Tue, 21 Jun 2005 19:35:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17633</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17633</wfw:commentRss><description>Hi,&lt;br /&gt;You need to copy this XMLDocument to a dataconecction which is actually binded to the dropdown in the designer.&lt;br /&gt;&lt;br /&gt;So you need to maintain a secondary data connection which binds to the dropdown and you need to Copy the data to that dataconnection with help of c#/Managed code. &lt;br /&gt;&lt;br /&gt;There are some posts in this forum about how to copy data into a dataconnection with the help of c# code. &lt;br /&gt;&lt;br /&gt;Hope this Helps!&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: How to populate a dropdown with a WS in C#</title><link>https://www.infopathdev.com:443/forums/thread/17632.aspx</link><pubDate>Tue, 21 Jun 2005 14:31:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17632</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17632</wfw:commentRss><description>Ok thanks for your answer and sorry for my late reply!&lt;br /&gt;&lt;br /&gt;What I want to do is on a button click:&lt;br /&gt;&lt;br /&gt;Call a webservice with C# not with infopath design mode! I am ok for That!&lt;br /&gt;&lt;br /&gt;receive an answer and catch him! ok&lt;br /&gt;&lt;br /&gt;Now I have a XMLDocument that contain the value of what I whant in my Dropdown listebox:&lt;br /&gt;&lt;br /&gt;&amp;lt;text&amp;gt;&lt;br /&gt;&amp;lt;content&amp;gt;Marcel&amp;lt;/content&amp;gt;&lt;br /&gt;&amp;lt;content&amp;gt;Henry&amp;lt;/content&amp;gt;&lt;br /&gt;&amp;lt;content&amp;gt;Bernard&amp;lt;/content&amp;gt;&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&lt;br /&gt;Now how to do (with a C# code) for put this my listebox (location: /my:Case/my:Name)?&lt;br /&gt;&lt;br /&gt;I hope you understand!&lt;br /&gt;&lt;br /&gt;Thanks a lot for your help!&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry</description></item><item><title>Re: How to populate a dropdown with a WS in C#</title><link>https://www.infopathdev.com:443/forums/thread/17631.aspx</link><pubDate>Thu, 16 Jun 2005 22:19:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17631</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17631.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17631</wfw:commentRss><description>Hello Virgul,&lt;br /&gt;   I'm not sure if i fully understood the issue so let me put it my own words and you can correct me if i have it wrong.&lt;br /&gt;&lt;br /&gt;You have a data connection to a Webservice. This is a Recieve data connection and you get data from the Web service that you now want to use to populate a dropdown in the UI?&lt;br /&gt;&lt;br /&gt;To do this in the Dropdown properties you need to select the third option "Look up values in a data connection to a database ....", choose the appropriate data conection and then map the Entries, Value and Display ame to the data that you want to see in the dropdown.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>How to populate a dropdown with a WS in C#</title><link>https://www.infopathdev.com:443/forums/thread/17464.aspx</link><pubDate>Tue, 14 Jun 2005 15:02:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17464</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17464.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17464</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have make a webservice I can make a call with the managed code C#  and I have a return !&lt;br /&gt;no more probleme with that! I'm happy&lt;br /&gt;&lt;br /&gt;But now I have my result in a XMLDocumenthow I can populate my dropdown listebox in my infopath form?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks for your help&lt;br /&gt;It's very appreciated&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;Every moment hesitated is a moment gone for life!!! Think about it</description></item></channel></rss>