Ladies and gents I am setting up Tridion Experience manager. Everything seems to be working fine ... but ;) Trying to refresh the preview or the automatic update after an edit using the experience manager I recieve a SAX error. Fiddler is was so kind to provide me with the information that:
/WebUI/Models/SiteEdit/Services/Services.svc/GetPreviewToken
Is returning this SAX error
The input data could not be parsed: SAXException occured while trying to parse the input xml., XML document structures must start and end within the same entity., XML document structures must start and end within the same entity., SAXException occured while trying to parse the input xml., XML document structures must start and end within the same entity., XML document structures must start and end within the same entity., SAXException occured while trying to parse the input xml., XML document structures must start and end within the same entity., XML document structures must start and end within the same entity.
I am looking for some clue as to where to start looking what/who is causing this error.
Updated 2013-03-20
Fiddler is showing the SAX error on:
/WebUI/Models/SiteEdit/Services/Services.svc/GetPreviewToken
Core Logging staging server
2013-03-20 14:31:10,443 DEBUG AmbientDataContext - Setting current ambient data context: null
2013-03-20 14:32:39,937 WARN AmbientDataContext - There is no current ambient data context - the ambient data framework is not properly initialised
2013-03-20 14:32:39,953 DEBUG AmbientDataContext - Setting current ambient data context: com.tridion.ambientdata.web.WebContext
2013-03-20 14:32:40,219 ERROR XMLConfigurationReader - Error while validating file 'cd_ambient_conf.xml' with schema 'schemas/cd_ambient_conf.xsd'. cvc-complex-type.2.4.a: Invalid content was found starting with element 'ClaimStoreProvider'. One of '{Cookies}' is expected.
Seems indeed I have misconfigured the Ambientdata stuff. Though I have copied from the sample conf files and edited like the UI Update manual says. Here are the confs:
Ambient Conf
Preview web
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="6.1" xsi:noNamespaceSchemaLocation="schemas/cd_ambient_conf.xsd">
<Cartridges>
<Cartridge File="cd_webservice_preview_cartridge.xml"/>
<Cartridge File="footprint_cartridge_conf.xml"/>
</Cartridges>
<ClaimStoreProvider>com.tridion.siteedit.preview.PreviewClaimStoreProvider</ClaimStoreProvider>
</Configuration>
Preview Webservice
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="6.1" xsi:noNamespaceSchemaLocation="schemas/cd_ambient_conf.xsd">
<Cartridges>
<Cartridge File="cd_webservice_preview_cartridge.xml"/>
</Cartridges>
</Configuration>
Kind regards, Ryan.