Testing (WA)

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.