Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

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

Image Added

The related SOAP UI request looks like this.

Code Block
languagexml
<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

Image Added

  • Locate your attachment and attach it.

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

Highlighted “Part”-column in SOAP UI

Image Added

  • Select the name of the attachment as shown below.

Selected attachment in SOAP UI

Image Added

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