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!
AI OnAI Off
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!
I am calling PageStoreService.asmx with the following parameters nad get the error listed below.
------- REQUEST -------
POST http://localhost:1703/WebServices/PageStoreService.asmx HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://schemas.episerver.com/WebServices/v5/GetDefaultPageData"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:1703
Content-Length: 731
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v5="http://schemas.episerver.com/WebServices/v5/">
<soapenv:Header/>
<soapenv:Body>
<v5:GetDefaultPageData>
<!--Optional:-->
<v5:parentPageLink>
<v5:ID>3</v5:ID>
<v5:WorkID>0</v5:WorkID>
<!--Optional:-->
<v5:RemoteSite></v5:RemoteSite>
</v5:parentPageLink>
<v5:pageTypeID>22</v5:pageTypeID>
<!--Optional:-->
<v5:selector>
<!--Optional:-->
<v5:LanguageBranch>en</v5:LanguageBranch>
</v5:selector>
<v5:access>Read</v5:access>
</v5:GetDefaultPageData>
</soapenv:Body>
</soapenv:Envelope>
------- RESPONSE -------
HTTP/1.1 500 Internal Server Error
Server: ASP.NET Development Server/9.0.0.0
Date: Tue, 06 Apr 2010 05:07:30 GMT
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 965
Connection: Close
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: pageGuid
at EPiServer.Core.PageObjectManager..ctor(Guid pageGuid, String pageLanguageBranch, Int32 workPageId, IPageObjectRepository repository)
at EPiServer.Core.PageObjectManager..ctor(PageData pageData)
at EPiServer.Core.PageData.ToRawPage()
at EPiServer.WebServices.PageStoreService.GetDefaultPageData(PageReference parentPageLink, Int32 pageTypeID, LanguageSelector selector, AccessLevel access)
--- End of inner exception stack trace ---</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>