<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Display user profile through AD</title><link>https://www.infopathdev.com:443/forums/thread/22458.aspx</link><pubDate>Tue, 21 Aug 2007 09:07:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22458</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=22458</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Your error is saying that in ‘GetUSerProfileByName’ xml is not valid. Can you check your xml once it does contain root element or not? In your xml should contain only one single root element and under that remaining nodes. &lt;/p&gt;
&lt;p&gt;Hope this Help you.&lt;/p&gt;</description></item><item><title>Display user profile through AD</title><link>https://www.infopathdev.com:443/forums/thread/21927.aspx</link><pubDate>Tue, 24 Jul 2007 12:13:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21927</guid><dc:creator>Sam </dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21927.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=21927</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;With the below method when a user open the InfoPath form from the SharePoint site, his name and email address will automatically populate in their respective fields, so they wont have to type in their name or email id. &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;I am supposed to specify the below link and get &lt;strong&gt;&lt;span style="font-weight:bold;"&gt;GetUSerProfileByName&lt;/span&gt;&lt;/strong&gt;. &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;&lt;a href="http://myportal/_vti_bin/UserProfileService.asmx?WSDL" title="blocked::http://organisation.eu.atkinsglobal.com/_vti_bin/UserProfileService.asmx?WSDL"&gt;&lt;font color="#800080"&gt;http://&lt;strong&gt;MyPortal&lt;/strong&gt;/_vti_bin/UserProfileService.asmx?WSDL&lt;/font&gt;&lt;/a&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;But I end up getting the following error. &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;strong&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-weight:bold;font-size:10pt;color:navy;font-family:Arial;"&gt;The file is not a valid XML file.&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-weight:bold;font-size:10pt;color:navy;font-family:Arial;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-weight:bold;font-size:10pt;color:navy;font-family:Arial;"&gt;The file is not a valid XML document.&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-weight:bold;font-size:10pt;color:navy;font-family:Arial;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-weight:bold;font-size:10pt;color:navy;font-family:Arial;"&gt;A document must contain exactly one root element.&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-weight:bold;font-size:10pt;color:navy;font-family:Arial;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-weight:bold;font-size:10pt;color:navy;font-family:Arial;"&gt;&amp;nbsp; Line 1, Position 0&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;Next, I went to the above link but found nothing on the site. I read little bit about WSDL and I am supposed to see a simple set of definitions. &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;font color="#000080" face="Arial" size="2"&gt;&lt;span style="font-size:10pt;color:navy;font-family:Arial;"&gt;Can you please tell me if there is supposed to be something on that page?&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>