Example running SoapUI to test Web Service configured in LiveCompare

To run the service in SoapUI to test a LiveCompare Web Service:

• Copy the shortcut WSDL from Web Services for the workflow In LiveCompare.

• In SoapUI, right-click Projects and select New SoapUI Project

• Paste the WSDL into the popup window

• Expand either of the two soaps directories and double-click on the "Request 1" under the StartWorkflow

• You will then see xml similar to the below that needs to be manually populated as follows:

If the Input list is a LiveCompare table:

• Define the metadata for the table in the <liv:head> section in as highlighted below. (Note, you can override the table as it was defined here)

• Input the transport names in the <liv:body> section as highlighted below. (Note, you can input as many as you need)

• Input the RFC after </liv:RfcDestination> as highlighted below.

<soap:Envelope xmlns:soap="www.w3.org/.../soap-envelope" xmlns:liv="schemas.intellicorp.com/.../">

  <soap:Header/>

  <soap:Body>

     <liv:StartWorkflow>

        <liv:Transport_List>

           <!--Optional:-->

           <liv:head>

              <!--Zero or more repetitions:-->

              <liv:field>

                 <!--Optional:-->

                 <liv:name>NAME</liv:name>

                 <!--Optional:-->

                 <liv:type>nvarchar</liv:type>

                 <!--Optional:-->

                 <liv:length>120</liv:length>

              </liv:field>

           </liv:head>

           <!--Optional:-->

           <liv:body>

              <!--Zero or more repetitions:-->

              <liv:row>

                 <!--Zero or more repetitions:-->

                 <liv:cell>EC6K900175</liv:cell>

              </liv:row>

              <liv:row>

                 <!--Zero or more repetitions:-->

                 <liv:cell>EC7K900176</liv:cell>

              </liv:row>

           </liv:body>

        </liv:Transport_List>

 <liv:RfcDestination>EC6</liv:RfcDestination>

     </liv:StartWorkflow>

  </soap:Body>

</soap:Envelope>

----------------------------------------------------------------------------------------------------------

If the Input list is a LiveCompare string list,

• Input the transport names in the <liv:body> section as highlighted below. (Note, you can input as many as you need)

• Input the RFC after </liv:RfcDestination> as highlighted below.

<soapenv:Envelope xmlns:soapenv="schemas.xmlsoap.org/.../" xmlns:liv="schemas.intellicorp.com/.../">

  <soapenv:Header/>

  <soapenv:Body>

     <liv:StartWorkflow>

        <liv:RfcDestination>EC6</liv:RfcDestination>

        <liv:Transports>

           <!--Zero or more repetitions:-->

           <liv:string>EC6K900175</liv:string>

           <liv:string>EC7K900176</liv:string>

        </liv:Transports>

     </liv:StartWorkflow>

  </soapenv:Body>

</soapenv:Envelope>

• Hit the green Run button in the top left corner of the xml window

• The panel that appears to the right should show a token name under the StartWorkflowResult

• Copy the token name

• Expand the EndWorkflow and double-click on the "Request 1"

• Replace the "?" with the copied token name

• Hit the green Run button in the top left corner of the xml window

• You should now find the URL for the report returned from the service that ran in LiveCompare Remote Runs workdspace.

  • LiveCompare provides an action - Run Web Service - that you can use to test LiveCompare powered web services. Just copy the WSDL link and use the 'Configure Web Service' command to start a Wizard that will help you bind to the web service. In effect you make LiveCompare a client of itself.