Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Introduction

Error rendering macro 'excerpt-include' : No link could be created for 'Introduction (WA)'.

System requirements

Error rendering macro 'excerpt-include' : No link could be created for 'System requirements (WA)'.

Installation

Error rendering macro 'excerpt-include' : No link could be created for 'Installation (WA)'.

Licensing

Error rendering macro 'excerpt-include' : No link could be created for 'Licensing (WA)'.

Configuration

Error rendering macro 'excerpt-include' : No link could be created for 'Configuration (WA)'.

Webservice API

Error rendering macro 'excerpt-include' : No link could be created for 'Webservice API (WA)'.

Automation of configuration

Error rendering macro 'excerpt-include' : No link could be created for 'Automation of configuration (WA)'.

Security

Error rendering macro 'excerpt-include' : No link could be created for 'Security (WA)'.

Testing

Testing with SOAP UI

Testing without a signed key

A normal „serviceCheck“ request for an instance “Cortex” is configured the following way.

Configured instance of Web Service

The related SOAP UI request looks like this.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:int="http://interfaces.webservice.kgs.software.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <int:ServiceCheck>
         <!--Optional:-->
         <applicationName>Cortex</applicationName>
         <!--Optional:-->
         <username>David</username>
         <!--Optional:-->
         <seckey></seckey>
      </int:ServiceCheck>
   </soapenv:Body>
</soapenv:Envelope>

Testing MTOM with SOAP UI

Please follow the following steps to send an attachment using MTOM;

  • We assume that the MTOM interfaces (located at http://Server-IP-Address:Server-Port/WebApplicationName/ webservice/apiV2?wsdl) have been configured in the SOAP UI

  • Select the “ContentServerDocCreate” interface

  • Configure the tag “imageData” with the following format; <imageData>cid:Name -Of-The-File-With-Extension</imageData>

  • Click on the ‘Plus’ sign as shown below.

Highlighted Plus-button in SOAP UI

  • Locate your attachment and attach it.

  • Click on the ‘Part’ box as shown below.

Highlighted “Part”-column in SOAP UI

  • Select the name of the attachment as shown below.

Selected attachment in SOAP UI

  • At this point, your attachment along with your create request is ready.

Testing with SOAP UI

Testing without a signed key

A normal „serviceCheck“ request for an instance “Cortex” is configured the following way.

Configured instance of Web Service

The related SOAP UI request looks like this.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:int="http://interfaces.webservice.kgs.software.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <int:ServiceCheck>
         <!--Optional:-->
         <applicationName>Cortex</applicationName>
         <!--Optional:-->
         <username>David</username>
         <!--Optional:-->
         <seckey></seckey>
      </int:ServiceCheck>
   </soapenv:Body>
</soapenv:Envelope>

Testing MTOM with SOAP UI

Please follow the following steps to send an attachment using MTOM;

  • We assume that the MTOM interfaces (located at http://Server-IP-Address:Server-Port/WebApplicationName/ webservice/apiV2?wsdl) have been configured in the SOAP UI

  • Select the “ContentServerDocCreate” interface

  • Configure the tag “imageData” with the following format; <imageData>cid:Name -Of-The-File-With-Extension</imageData>

  • Click on the ‘Plus’ sign as shown below.

Highlighted Plus-button in SOAP UI

  • Locate your attachment and attach it.

  • Click on the ‘Part’ box as shown below.

Highlighted “Part”-column in SOAP UI

  • Select the name of the attachment as shown below.

Selected attachment in SOAP UI

  • At this point, your attachment along with your create request is ready.

Scheduler

Error rendering macro 'excerpt-include' : No link could be created for 'Scheduler (WA)'.
Error rendering macro 'excerpt-include' : No link could be created for 'Scheduler (WA)'.

Historical Documents

The Webservice contains the proxy logic for re-routing “read” and “get” requests to a historical repository or to a historical content server. Below are few Sample Configurations.

Scenario A: The historical and new repositories are located on the same Content Server, but have different content repository Ids.

Configuration for scenario A

Scenario B: The historical and new repositories are located on different Content Servers, but have the same content repository Id.

Configuration for scenario B

Scenario C: The historical and new repositories are located on different Content Servers and have different content repository Ids.

Configuration for scenario B

Document Type mapping

The following document types are mapped with the corresponding MIME-types.

Name

Mime Type

323

text/h323

3g2

video/3gpp2

3gp

video/3gpp

7z

application/x-7z-compressed

AA

audio/audible

AAC

audio/aac

ALF

application/x-alf

BIN

application/octet-stream

BMP

image/bmp

CSV

text/csv

DOC

application/msword

DOCX

application/vnd.openxmlformats-officedocument.word-processingml.document

DWF

drawing/x-dwf

FAX

image/tiff

GIF

image/gif

GTAR

application/x-gtar

GZ

application/x-gzip

HTM

text/html

HTML

text/html

JPG

image/jpeg

M4A

audio/m4a

M4B

audio/m4b

M4P

audio/m4p

M4R

audio/x-m4r

M4V

audio/x-m4v

MOVIE

video/x-sgi-movie

MP3

audio/mpeg

MP4

video/mp4

MP4V

video/mp4

MPG

video/mpeg

MPP

application/vnd.ms-project

MSG

application/vnd.ms-outlook

OTF

application/x-otf

PCX

image/pcx

PDF

application/pdf

PNG

image/png

PPT

application/vnd.ms-powerpoint

PS

application/postscript

RAW

application/x-raw

REO

application/octet-stream

RTF

application/rtf

SCR

application/x-scr

TAR

application/x-tar

TIF

image/tiff

TIFF

image/tiff

TXT

text/plain

VSD

application/vnd.visio

WAV

audio/wav

XLS

application/vnd.ms-excel

XML

application/xml

Z

application/x-compress

ZIP

application/x-zip-compressed

In case no suitable mime type is found in our internal table (as shown above), Java will try to detect the appropriate mime-type. If no suitable mime-type is found even by Java, then an error will be re-turned. It is also possible to override the mime types or introduce new/customized mime types with the parameter “MimeType Path” available at “OSGi” -> “WebService MainConfiguration”. This op-tion allows us to specify a file which contains a table. This table can be used to override the mime type. The installation contains a sample file (\mimeType) which would allow us to override the mime types.

Example;
C:\mimetype\mime.types
Following line specifies that the “pdf” will be mapped to “application/pdf”.

application/pdf pdf
Following line specifies that both “bin” and “dms” will be mapped to “application/octet-stream”;
application/octet-stream bin dms
Following line will be ignored (‘#’ would allow the mime type reader to ignore the line);

application/ocsp-response ocsp

If the text file is updated, please restart the instance(s) in order to take effect. To configure a specific instance to read from the mimeType table, simply activate the flag “Override Mime-Types” located at “Main -> KGS Web Service -> Application Manager “. Edit the Instance configuration and under “Common”, the flag is located. Simply check the box to configure the in-stance to read from the mime type table as shown below.

Highlighted Mime type override option

  • No labels