5

I have installed the DXA 1.3 Java Version in Tomcat.

I have also installed the Session Preview Service in Tomcat. I have verified that the service is working as per the instructions by hitting http://localhost:8080/cd_preview_webservice/ws/odata.svc

However, when I try to use Update Preview in Experience Manager I see the following error:

Unable to update the changes using OData Service. The remote server returned an error: (403) Forbidden.

I see an IPV6 address in the locahost Tomcat access log:

0:0:0:0:0:0:0:1 - - [01/Mar/2016:15:23:18 +0000] "POST /cd_preview_webservice/ws/odata.svc/$batch HTTP/1.1" 403 496

I have tried adding a hostname for the service but that made no difference.

I have added the following url to my Session Preview Pub Target: http://localhost:8080/cd_preview_webservice/ws/odata.svc I feel like I'm missing something obvious...

1
  • How did you configure your Publication Target? Mar 1, 2016 at 18:08

1 Answer 1

2

The cd_ambient_conf.xml for the preview webservice was missing the preview cartridge.

Adding

 <Cartridge File="cd_webservice_preview_cartridge.xml"/>

Fixed the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.