cancel
Showing results for 
Search instead for 
Did you mean: 

SoapUI

SOLVED
Highlighted
Occasional Contributor

SoapUI

Hi,

I am trying to control my STM through SoapUI, but i am not able to find any information on the help pages about this, lots about Java/Perl but notthing on SOAPUI.

i have found the basics OK, such as getting the Virtual Servers listed, but no idea on how to actually disabled them!

Has anyone out there done this before?  Or can someone point me towards some documentation.

Thanks in advance.

Martin

1 REPLY
Occasional Contributor

Re: SoapUI

Turns out a developer here managed to get it working, doing some clever .NET scripting and capturing the xml response, not that i understand it. 

In case anyone comes accross this page here is an example of the code to disable a VS with SoapUI:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

  <s:Body s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <q1:setEnabled xmlns:q1="http://soap.zeus.com/zxtm/1.0/VirtualServer/">

      <names href="#id1" />

      <values href="#id2" />

    </q1:setEnabled>

    <q2:Array id="id1" q2:arrayType="xsd:string[2]" xmlns:q2="http://schemas.xmlsoap.org/soap/encoding/">

      <Item>VIRTUAL SERVER NAME</Item>

      <Item>VIRTUAL SERVER NAME</Item>

    </q2:Array>

    <q3:Array id="id2" q3:arrayType="xsd:boolean[2]" xmlns:q3="http://schemas.xmlsoap.org/soap/encoding/">

      <Item>TRUE/FALSE</Item>

      <Item>TRUE/FALSE</Item>

    </q3:Array>

  </s:Body>

</s:Envelope>