<?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: When writing web services for InfoPath forms, what datatypes do the web methods need to return?</title><link>https://www.infopathdev.com:443/forums/thread/84699.aspx</link><pubDate>Sat, 24 Nov 2012 18:49:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84699</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84699.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=84699</wfw:commentRss><description>&lt;p&gt;Hi IceThatJaw and thanks for posting,&lt;/p&gt;&lt;p&gt;While SQL datatypes are not the same as XML datatypes (obviously, InfoPath uses the latter), your SOAP ore REST Web service will be returning XML. So, for a dropdown, you just have a structure like this:&lt;/p&gt;&lt;p&gt;&amp;lt;listgroup&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;item&amp;gt;foo&amp;lt;/item&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;item&amp;gt;bar&amp;lt;/item&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/itemgroup&amp;gt;&lt;/p&gt;&lt;p&gt;Yes, you can call many web methods from the same form. That is generally what most InfoPath forms do since they have out-of-box support for XML Web service and can easily pull data from multiple sources. Party on!&lt;/p&gt;&lt;p&gt;Correct, you&amp;#39;d want to use one web method for submitting to a DB. &lt;/p&gt;&lt;p&gt;You should take a look at Qdabra&amp;#39;s our generic Web service - DBXL. Instead of creating multiple Web services it allows you to query and submit to a database using separate config files for each query or SQL mapping. Plus, it&amp;#39;s dirt cheap and there&amp;#39;s a free trial. &lt;/p&gt;&lt;p&gt;Let us know if we can help you get it installed and configured. I guarantee it will save you tons of time and life is short.&lt;/p&gt;&lt;p&gt;Best,&lt;/p&gt;&lt;p&gt;P&lt;/p&gt;</description></item><item><title>When writing web services for InfoPath forms, what datatypes do the web methods need to return?</title><link>https://www.infopathdev.com:443/forums/thread/84602.aspx</link><pubDate>Wed, 21 Nov 2012 08:58:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84602</guid><dc:creator>IceThatJaw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=84602</wfw:commentRss><description>For instance if I want to create a form that has a dropdownlist of clients to selects and those clients are stored in a datbase table. When I I go to write a web method to return that list of clients what should the data type be? Should it just be a List ? 

Also, call as many web methods as I want to in a form? For instance, an I populate a dozens dropdowns using a dozen web methods and then us one just  on web method to send all the choices back to the database?

Thanks. 


(Are there any articles ir blogs that go into a bit of depth out there? I read Jane Mathilda&amp;#39;s blog but it just barely scratches the surface and since I am very new to writing web services I would like to see more detailed examples, thanks again)</description></item></channel></rss>