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.

Web Services<br />

3. Create a new folder within the CMS400Example folder. This<br />

folder and some of its subfolders have files that are needed to<br />

run Web Services. Place all of your files within the new folder.<br />

4. Using a development tool that supports Web Service<br />

integration (for example, Visual Studio .NET), create a .NET<br />

(.aspx) file that manages page layout. The file must refer to a<br />

Visual Basic or C# file (via a CodeBehind command), which<br />

manages the page’s functionality.<br />

5. Add to each .NET project a Web <strong>Reference</strong> to the WSDL file.<br />

(by default, webroot/CMS400Example/Workarea/webservices/<br />

ContentWS.asmx). The environment then builds the appropriate<br />

proxy class to access the Web Service’s methods. You can use<br />

the proxy class within the application to invoke those methods.<br />

<strong>CMS400.NET</strong> sample .aspx pages demonstrate how to do this.<br />

6. Provide to your consumers a URL to the .NET (.aspx) file.<br />

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

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

Saved successfully!

Ooh no, something went wrong!