London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

EPiServer Webservice PageStoreService

Vote:
 

I am new to EPiServer. I want to get content of the page (page build in EPiServer). I used PageStoreService Webservice, but I am unable to get Credential object for this service. My code is like:

PageStoreService pageContent = new PageStoreService();                

 pageContent.Credentials = new NetworkCredential("xxx", "xxx");

 LanguageSelector selector = new LanguageSelector("en-US");

 RawPage page = new RawPage();

 page = pageContent.GetPage(new EPiServer.Core.PageReference(423),
                                    selector, EPiServer.Security.AccessLevel.Read);

 any idea?

#55254
Nov 23, 2011 18:03
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.