<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>WCF hosted in SharePoint site</title><link>https://www.infopathdev.com:443/forums/thread/31169.aspx</link><pubDate>Mon, 04 Aug 2008 01:41:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31169</guid><dc:creator>luisin22</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31169</wfw:commentRss><description>&lt;p&gt;Hi I have a question, recently I hosted a WCF inside a SharePoint site and it&amp;#39;s being called by and infopath form, but I was seeing that SPContext.Current is null the same happens with HttpContext.current, so I read some MSDN and the suggest to use OperationContext.Current, which it is not null, but I don&amp;#39;t see the Url of the site that actually called the service so I can open the SPSite&lt;/p&gt;
&lt;p&gt;Is there any other object that I can use to have the Url of the site where the infopath form called my WCF service?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Luis&lt;/p&gt;</description></item></channel></rss>