<?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: AD Web Service</title><link>https://www.infopathdev.com:443/forums/thread/40667.aspx</link><pubDate>Thu, 16 Apr 2009 18:31:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40667</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40667.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=40667</wfw:commentRss><description>&lt;p&gt;I just use the User Profile Service, which pulls from the User Profile database in SharePoint as opposed to trying to connect directly to AD from within a form.&amp;nbsp; The User Profile database should mimic what&amp;#39;s in AD as long as the profile import schedule is set to run regularly.&amp;nbsp; The attribute for email is named WorkEmail, and is extremely easy to retrieve at any given time in any form as long as you have the userName(), which can be automatically retrieved by default for the user opening the form.&amp;nbsp; You can also retrieve 30+ other attributes, such as Manager, Department, PreferredName, LastName, FirstName, AccountName, etc.&lt;/p&gt;</description></item><item><title>Re: AD Web Service</title><link>https://www.infopathdev.com:443/forums/thread/40491.aspx</link><pubDate>Thu, 09 Apr 2009 16:22:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40491</guid><dc:creator>kkhelif</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=40491</wfw:commentRss><description>&lt;p&gt;Jimmy, I did several examples and none of them was successful.&lt;/p&gt;</description></item><item><title>Re: AD Web Service</title><link>https://www.infopathdev.com:443/forums/thread/40490.aspx</link><pubDate>Thu, 09 Apr 2009 16:20:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40490</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40490.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=40490</wfw:commentRss><description>&lt;p&gt;Have you actually set up the form to query the web service?&amp;nbsp; You should do this by using a rule either on the userName field or on a button.&lt;/p&gt;</description></item><item><title>AD Web Service</title><link>https://www.infopathdev.com:443/forums/thread/40486.aspx</link><pubDate>Thu, 09 Apr 2009 15:56:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40486</guid><dc:creator>kkhelif</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40486.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=40486</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I have an AD Web Service that retrieves data from Active Directory based on User ID. When you invoke the method in a browser for example it returns the email address of the User ID you entered, but when I try it in infopath it doesn&amp;#39;t return anything. I am sure I am doing something wrong. How would you go by retrieving the email in infopath using 2 fields User Name and Email address.&lt;/p&gt;
&lt;p&gt;You enter the user id in the infopath User Name field and the email address field should populate based on that User ID invoking the webservice.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any help is appreciated by you GURUS out there.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>