15.08.2013 Views

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

Ektron CMS400.NET Developer Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Custom JSP Functions<br />

IMPORTANT!<br />

Custom JSP Functions<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> maintains and displays content via custom<br />

<strong>Ektron</strong> JSP functions. For the custom JSP functions to work<br />

properly, do the following:<br />

• In the applicationapi.jsp file, set the WSSoap_address.<br />

The applicationapi.jsp file is located by default in:<br />

http://localhost/CMS400Example/WorkArea/platforms/<br />

JSP/applicationapi.jsp<br />

ContentWS.asmx is the web services file that the custom JSP functions use to<br />

talk to <strong>Ektron</strong> <strong>CMS400.NET</strong>. The WSSoap_address located in the<br />

applicationapi.jsp file must be set to location of the Web services file. The<br />

default WSSoap_address is http://localhost/CMS400Example/<br />

WorkArea/WebServices/ContentWS.asmx. If you have changed the<br />

location of ContentWS.asmx you need to update the WSSoap_address. For<br />

example, if your site is www.myektronsite.com, the WSSoap_address would<br />

be http://www.myektronsite.com/WorkArea/WebServices/<br />

ContentWS.asmx.<br />

• Add the following line to the top of each template.<br />

<br />

This file calls the <strong>Ektron</strong> custom functions file to allow the page<br />

to function properly. It must appear at the top of the template<br />

file.<br />

• Make sure the contentws.jar file is included in your JSP<br />

environment<br />

• <strong>Ektron</strong> recommends running Axis when using a JSP<br />

environment. We have tested on TomCat and JRUN with Axis<br />

v1.2.1. You can download Axis from http://ws.apache.org/axis/<br />

java/.<br />

<strong>Ektron</strong> <strong>CMS400.NET</strong> <strong>Developer</strong> <strong>Reference</strong> <strong>Manual</strong>, Version 5.1, Revision 5 518

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!