Enhanced ExecuteService:runCommand documentation with sample requests

git-svn-id: https://brutex.net/svn/xservices/trunk@163 e7e49efb-446e-492e-b9ec-fcafc1997a86
xservices-jre6
Brian Rosenberger 2014-06-17 06:27:39 +00:00
parent 261810858b
commit eb7a20b60b
3 changed files with 501 additions and 354 deletions

View File

@ -3555,6 +3555,61 @@
</section> </section>
</section> </section>
<section>
<para>
Sample request: Start Windows Command Interpreter and print "Hello World" to STDOUT.
<programlisting language="xml">
<![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:runCommand>
<executable>c:/windows/system32/cmd.exe</executable>
<argline>/C "echo Hallo Welt!"</argline>
<timeout>3000</timeout>
</ws:runCommand>
</soapenv:Body>
</soapenv:Envelope>]]>
</programlisting>
Sample response:
<programlisting language="xml">
<![CDATA[<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:runCommandResponse xmlns:ns2="http://ws.xservices.brutex.net">
<return>
<returnCode>0</returnCode>
<stdOut/>
<stdErr/>
<propertyList>
<name>ExecuteService.result</name>
<value>0</value>
</propertyList>
<propertyList>
<name>ExecuteService.stdout</name>
<value>Hallo Welt!</value>
</propertyList>
<propertyList>
<name>ExecuteService.stderr</name>
<value/>
</propertyList>
</return>
</ns2:runCommandResponse>
</soap:Body>
</soap:Envelope>]]></programlisting></para></section>
<section>
<para>
Sample request: Start notepad.exe and close it after 15 seconds.
<programlisting language="xml">
<![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:runCommand>
<executable>c:/windows/system32/notepad.exe</executable>
<argline></argline>
<timeout>15000</timeout>
</ws:runCommand>
</soapenv:Body>
</soapenv:Envelope>]]></programlisting></para></section>
</section> </section>
<section version="5.0" xml:base="ExecuteServices/runCommandWithSSH.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"> <section version="5.0" xml:base="ExecuteServices/runCommandWithSSH.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>runCommandWithSSH</title> <title>runCommandWithSSH</title>
@ -4205,6 +4260,19 @@ xmlns:ws="http://ws.xservices.brutex.net">
</soap:Envelope> </soap:Envelope>
]]></programlisting> ]]></programlisting>
</para> </para>
</section>
<section version="5.0" xml:base="XmlServices/insertNodes2.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>insertNodes2</title>
<para>Insert an xml fragment into xml resource (i.e. file, URL) specified by an XPath expression.
This operation is namespace aware.
Sample request:
<programlisting language="xml"><![CDATA[
...]]></programlisting>
Sample response:
<programlisting language="xml"><![CDATA[
...]]></programlisting>
</para>
</section> </section>
<section version="5.0" xml:base="XmlServices/replaceNodes.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"> <section version="5.0" xml:base="XmlServices/replaceNodes.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>replaceNodes</title> <title>replaceNodes</title>
@ -4273,6 +4341,19 @@ xmlns:ws="http://ws.xservices.brutex.net">
</soap:Body> </soap:Body>
</soap:Envelope>]]></programlisting> </soap:Envelope>]]></programlisting>
</para> </para>
</section>
<section version="5.0" xml:base="XmlServices/replaceNodes2.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>replaceNodes2</title>
<para>Replace an xml fragment with another xml fragment read from a resource (i.e. file, URL). This operation is namespace aware.
Sample request:
<programlisting language="xml">
...
</programlisting>
Sample response:
<programlisting language="xml"><![CDATA[
...]]></programlisting>
</para>
</section> </section>
<section version="5.0" xml:base="XmlServices/selectXPath.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"> <section version="5.0" xml:base="XmlServices/selectXPath.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>selectXPath</title> <title>selectXPath</title>

View File

@ -53,4 +53,59 @@
</title> </title>
<xi:include href="../types/ReturnCode.xml" /> <xi:include href="../types/ReturnCode.xml" />
</section> </section>
<section>
<para>
Sample request: Start Windows Command Interpreter and print "Hello World" to STDOUT.
<programlisting language="xml">
<![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:runCommand>
<executable>c:/windows/system32/cmd.exe</executable>
<argline>/C "echo Hallo Welt!"</argline>
<timeout>3000</timeout>
</ws:runCommand>
</soapenv:Body>
</soapenv:Envelope>]]>
</programlisting>
Sample response:
<programlisting language="xml">
<![CDATA[<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:runCommandResponse xmlns:ns2="http://ws.xservices.brutex.net">
<return>
<returnCode>0</returnCode>
<stdOut/>
<stdErr/>
<propertyList>
<name>ExecuteService.result</name>
<value>0</value>
</propertyList>
<propertyList>
<name>ExecuteService.stdout</name>
<value>Hallo Welt!</value>
</propertyList>
<propertyList>
<name>ExecuteService.stderr</name>
<value/>
</propertyList>
</return>
</ns2:runCommandResponse>
</soap:Body>
</soap:Envelope>]]></programlisting></para></section>
<section>
<para>
Sample request: Start notepad.exe and close it after 15 seconds.
<programlisting language="xml">
<![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:runCommand>
<executable>c:/windows/system32/notepad.exe</executable>
<argline></argline>
<timeout>15000</timeout>
</ws:runCommand>
</soapenv:Body>
</soapenv:Envelope>]]></programlisting></para></section>
</section> </section>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="ExecuteService" soapui-version="4.0.1.1" abortOnError="false" runType="SEQUENTIAL" resourceRoot="" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="ExecuteServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}ExecuteServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/ExecuteService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/ExecuteService?wsdl"><con:part><con:url>http://localhost:8080/XServices/ExecuteService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="ExecuteService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <con:soapui-project name="ExecuteService" soapui-version="4.5.1" abortOnError="false" runType="SEQUENTIAL" resourceRoot="" activeEnvironment="Default" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="ExecuteServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}ExecuteServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/ExecuteService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/ExecuteService?wsdl"><con:part><con:url>http://localhost:8080/XServices/ExecuteService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="ExecuteService" targetNamespace="http://ws.xservices.brutex.net" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http">
<wsdl:types> <wsdl:types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="antProperty" type="tns:antProperty"/> <xs:element name="antProperty" type="tns:antProperty"/>
@ -21,10 +21,9 @@
<xs:element name="runJavaScriptResponse" type="tns:runJavaScriptResponse"/> <xs:element name="runJavaScriptResponse" type="tns:runJavaScriptResponse"/>
<xs:element name="telnet" type="tns:telnet"/> <xs:element name="telnet" type="tns:telnet"/>
<xs:element name="telnetResponse" type="tns:telnetResponse"/> <xs:element name="telnetResponse" type="tns:telnetResponse"/>
<xs:complexType name="runCommandWithSSHKeyAuth"> <xs:complexType name="runCommandWithSSH">
<xs:sequence> <xs:sequence>
<xs:element minOccurs="0" name="host" type="tns:connection"/> <xs:element minOccurs="0" name="host" type="tns:connection"/>
<xs:element minOccurs="0" name="keyfile" type="xs:string"/>
<xs:element minOccurs="0" name="command" type="xs:string"/> <xs:element minOccurs="0" name="command" type="xs:string"/>
<xs:element name="timeout" type="xs:long"/> <xs:element name="timeout" type="xs:long"/>
</xs:sequence> </xs:sequence>
@ -37,7 +36,7 @@
<xs:element minOccurs="0" name="password" type="xs:string"/> <xs:element minOccurs="0" name="password" type="xs:string"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="runCommandWithSSHKeyAuthResponse"> <xs:complexType name="runCommandWithSSHResponse">
<xs:sequence> <xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/> <xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence> </xs:sequence>
@ -56,26 +55,27 @@
<xs:element name="value" type="xs:string"/> <xs:element name="value" type="xs:string"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="runCommandWithSSH">
<xs:sequence>
<xs:element minOccurs="0" name="host" type="tns:connection"/>
<xs:element minOccurs="0" name="command" type="xs:string"/>
<xs:element name="timeout" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandWithSSHResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runJavaScript"> <xs:complexType name="runJavaScript">
<xs:sequence> <xs:sequence>
<xs:element minOccurs="0" name="script" type="xs:string"/> <xs:element name="script" type="xs:string"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="runJavaScriptResponse"> <xs:complexType name="runJavaScriptResponse">
<xs:sequence/> <xs:sequence/>
</xs:complexType> </xs:complexType>
<xs:complexType name="runCommandWithSSHKeyAuth">
<xs:sequence>
<xs:element minOccurs="0" name="host" type="tns:connection"/>
<xs:element minOccurs="0" name="keyfile" type="xs:string"/>
<xs:element minOccurs="0" name="command" type="xs:string"/>
<xs:element name="timeout" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandWithSSHKeyAuthResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="telnet"> <xs:complexType name="telnet">
<xs:sequence> <xs:sequence>
<xs:element minOccurs="0" name="host" type="tns:connection"/> <xs:element minOccurs="0" name="host" type="tns:connection"/>
@ -90,6 +90,40 @@
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/> <xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="runCommand">
<xs:sequence>
<xs:element minOccurs="0" name="executable" type="xs:string"/>
<xs:element minOccurs="0" name="argline" type="xs:string"/>
<xs:element name="timeout" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandAsync">
<xs:sequence>
<xs:element minOccurs="0" name="executable" type="xs:string"/>
<xs:element minOccurs="0" name="argline" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandAsyncResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandAsyncWithArgs">
<xs:sequence>
<xs:element minOccurs="0" name="executable" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="arg" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandAsyncWithArgsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandWithArgs"> <xs:complexType name="runCommandWithArgs">
<xs:sequence> <xs:sequence>
<xs:element minOccurs="0" name="executable" type="xs:string"/> <xs:element minOccurs="0" name="executable" type="xs:string"/>
@ -114,40 +148,7 @@
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/> <xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="runCommandAsync"> <xs:element name="XServicesFault" type="tns:XServicesFault"/>
<xs:sequence>
<xs:element minOccurs="0" name="executable" type="xs:string"/>
<xs:element minOccurs="0" name="argline" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandAsyncResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommand">
<xs:sequence>
<xs:element minOccurs="0" name="executable" type="xs:string"/>
<xs:element minOccurs="0" name="argline" type="xs:string"/>
<xs:element name="timeout" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandAsyncWithArgs">
<xs:sequence>
<xs:element minOccurs="0" name="executable" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="arg" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandAsyncWithArgsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XServicesFault"> <xs:complexType name="XServicesFault">
<xs:sequence> <xs:sequence>
<xs:element name="faultstring" nillable="true" type="xs:string"/> <xs:element name="faultstring" nillable="true" type="xs:string"/>
@ -157,7 +158,6 @@
<xs:element name="jvmruntime" nillable="true" type="xs:string"/> <xs:element name="jvmruntime" nillable="true" type="xs:string"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:element name="XServicesFault" type="tns:XServicesFault"/>
</xs:schema> </xs:schema>
</wsdl:types> </wsdl:types>
<wsdl:message name="runCommandAsyncWithArgs"> <wsdl:message name="runCommandAsyncWithArgs">
@ -166,12 +166,12 @@
<wsdl:message name="runCommandWithSSHKeyAuth"> <wsdl:message name="runCommandWithSSHKeyAuth">
<wsdl:part element="tns:runCommandWithSSHKeyAuth" name="parameters"></wsdl:part> <wsdl:part element="tns:runCommandWithSSHKeyAuth" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
<wsdl:message name="runCommandWithSSHKeyAuthResponse">
<wsdl:part element="tns:runCommandWithSSHKeyAuthResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="runCommandWithArgsResponse"> <wsdl:message name="runCommandWithArgsResponse">
<wsdl:part element="tns:runCommandWithArgsResponse" name="parameters"></wsdl:part> <wsdl:part element="tns:runCommandWithArgsResponse" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
<wsdl:message name="runCommandWithSSHKeyAuthResponse">
<wsdl:part element="tns:runCommandWithSSHKeyAuthResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="rExec"> <wsdl:message name="rExec">
<wsdl:part element="tns:rExec" name="parameters"></wsdl:part> <wsdl:part element="tns:rExec" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
@ -190,27 +190,27 @@
<wsdl:message name="runCommandWithSSH"> <wsdl:message name="runCommandWithSSH">
<wsdl:part element="tns:runCommandWithSSH" name="parameters"></wsdl:part> <wsdl:part element="tns:runCommandWithSSH" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
<wsdl:message name="rExecResponse">
<wsdl:part element="tns:rExecResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="runCommandAsyncWithArgsResponse"> <wsdl:message name="runCommandAsyncWithArgsResponse">
<wsdl:part element="tns:runCommandAsyncWithArgsResponse" name="parameters"></wsdl:part> <wsdl:part element="tns:runCommandAsyncWithArgsResponse" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
<wsdl:message name="runCommand">
<wsdl:part element="tns:runCommand" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="telnet"> <wsdl:message name="telnet">
<wsdl:part element="tns:telnet" name="parameters"></wsdl:part> <wsdl:part element="tns:telnet" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
<wsdl:message name="rExecResponse"> <wsdl:message name="runCommand">
<wsdl:part element="tns:rExecResponse" name="parameters"></wsdl:part> <wsdl:part element="tns:runCommand" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
<wsdl:message name="runCommandWithArgs"> <wsdl:message name="runCommandWithArgs">
<wsdl:part element="tns:runCommandWithArgs" name="parameters"></wsdl:part> <wsdl:part element="tns:runCommandWithArgs" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
<wsdl:message name="runCommandResponse">
<wsdl:part element="tns:runCommandResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="runCommandWithSSHResponse"> <wsdl:message name="runCommandWithSSHResponse">
<wsdl:part element="tns:runCommandWithSSHResponse" name="parameters"></wsdl:part> <wsdl:part element="tns:runCommandWithSSHResponse" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
<wsdl:message name="runCommandResponse">
<wsdl:part element="tns:runCommandResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="runJavaScriptResponse"> <wsdl:message name="runJavaScriptResponse">
<wsdl:part element="tns:runJavaScriptResponse" name="parameters"></wsdl:part> <wsdl:part element="tns:runJavaScriptResponse" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
@ -218,10 +218,6 @@
<wsdl:part element="tns:telnetResponse" name="parameters"></wsdl:part> <wsdl:part element="tns:telnetResponse" name="parameters"></wsdl:part>
</wsdl:message> </wsdl:message>
<wsdl:portType name="ExecuteService"> <wsdl:portType name="ExecuteService">
<wsdl:operation name="runCommandWithSSHKeyAuth">
<wsdl:input message="tns:runCommandWithSSHKeyAuth" name="runCommandWithSSHKeyAuth"></wsdl:input>
<wsdl:output message="tns:runCommandWithSSHKeyAuthResponse" name="runCommandWithSSHKeyAuthResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandWithSSH"> <wsdl:operation name="runCommandWithSSH">
<wsdl:input message="tns:runCommandWithSSH" name="runCommandWithSSH"></wsdl:input> <wsdl:input message="tns:runCommandWithSSH" name="runCommandWithSSH"></wsdl:input>
<wsdl:output message="tns:runCommandWithSSHResponse" name="runCommandWithSSHResponse"></wsdl:output> <wsdl:output message="tns:runCommandWithSSHResponse" name="runCommandWithSSHResponse"></wsdl:output>
@ -231,10 +227,26 @@
<wsdl:output message="tns:runJavaScriptResponse" name="runJavaScriptResponse"></wsdl:output> <wsdl:output message="tns:runJavaScriptResponse" name="runJavaScriptResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault> <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation> </wsdl:operation>
<wsdl:operation name="runCommandWithSSHKeyAuth">
<wsdl:input message="tns:runCommandWithSSHKeyAuth" name="runCommandWithSSHKeyAuth"></wsdl:input>
<wsdl:output message="tns:runCommandWithSSHKeyAuthResponse" name="runCommandWithSSHKeyAuthResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="telnet"> <wsdl:operation name="telnet">
<wsdl:input message="tns:telnet" name="telnet"></wsdl:input> <wsdl:input message="tns:telnet" name="telnet"></wsdl:input>
<wsdl:output message="tns:telnetResponse" name="telnetResponse"></wsdl:output> <wsdl:output message="tns:telnetResponse" name="telnetResponse"></wsdl:output>
</wsdl:operation> </wsdl:operation>
<wsdl:operation name="runCommand">
<wsdl:input message="tns:runCommand" name="runCommand"></wsdl:input>
<wsdl:output message="tns:runCommandResponse" name="runCommandResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandAsync">
<wsdl:input message="tns:runCommandAsync" name="runCommandAsync"></wsdl:input>
<wsdl:output message="tns:runCommandAsyncResponse" name="runCommandAsyncResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandAsyncWithArgs">
<wsdl:input message="tns:runCommandAsyncWithArgs" name="runCommandAsyncWithArgs"></wsdl:input>
<wsdl:output message="tns:runCommandAsyncWithArgsResponse" name="runCommandAsyncWithArgsResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandWithArgs"> <wsdl:operation name="runCommandWithArgs">
<wsdl:input message="tns:runCommandWithArgs" name="runCommandWithArgs"></wsdl:input> <wsdl:input message="tns:runCommandWithArgs" name="runCommandWithArgs"></wsdl:input>
<wsdl:output message="tns:runCommandWithArgsResponse" name="runCommandWithArgsResponse"></wsdl:output> <wsdl:output message="tns:runCommandWithArgsResponse" name="runCommandWithArgsResponse"></wsdl:output>
@ -243,30 +255,9 @@
<wsdl:input message="tns:rExec" name="rExec"></wsdl:input> <wsdl:input message="tns:rExec" name="rExec"></wsdl:input>
<wsdl:output message="tns:rExecResponse" name="rExecResponse"></wsdl:output> <wsdl:output message="tns:rExecResponse" name="rExecResponse"></wsdl:output>
</wsdl:operation> </wsdl:operation>
<wsdl:operation name="runCommandAsync">
<wsdl:input message="tns:runCommandAsync" name="runCommandAsync"></wsdl:input>
<wsdl:output message="tns:runCommandAsyncResponse" name="runCommandAsyncResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommand">
<wsdl:input message="tns:runCommand" name="runCommand"></wsdl:input>
<wsdl:output message="tns:runCommandResponse" name="runCommandResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandAsyncWithArgs">
<wsdl:input message="tns:runCommandAsyncWithArgs" name="runCommandAsyncWithArgs"></wsdl:input>
<wsdl:output message="tns:runCommandAsyncWithArgsResponse" name="runCommandAsyncWithArgsResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType> </wsdl:portType>
<wsdl:binding name="ExecuteServiceSoapBinding" type="tns:ExecuteService"> <wsdl:binding name="ExecuteServiceSoapBinding" type="tns:ExecuteService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="runCommandWithSSHKeyAuth">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandWithSSHKeyAuth">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandWithSSHKeyAuthResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandWithSSH"> <wsdl:operation name="runCommandWithSSH">
<soap:operation soapAction="" style="document"/> <soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandWithSSH"> <wsdl:input name="runCommandWithSSH">
@ -276,6 +267,15 @@
<soap:body use="literal"/> <soap:body use="literal"/>
</wsdl:output> </wsdl:output>
</wsdl:operation> </wsdl:operation>
<wsdl:operation name="runCommandWithSSHKeyAuth">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandWithSSHKeyAuth">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandWithSSHKeyAuthResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runJavaScript"> <wsdl:operation name="runJavaScript">
<soap:operation soapAction="" style="document"/> <soap:operation soapAction="" style="document"/>
<wsdl:input name="runJavaScript"> <wsdl:input name="runJavaScript">
@ -297,24 +297,6 @@
<soap:body use="literal"/> <soap:body use="literal"/>
</wsdl:output> </wsdl:output>
</wsdl:operation> </wsdl:operation>
<wsdl:operation name="rExec">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="rExec">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="rExecResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandWithArgs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandWithArgs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandWithArgsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandAsync"> <wsdl:operation name="runCommandAsync">
<soap:operation soapAction="" style="document"/> <soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandAsync"> <wsdl:input name="runCommandAsync">
@ -342,6 +324,24 @@
<soap:body use="literal"/> <soap:body use="literal"/>
</wsdl:output> </wsdl:output>
</wsdl:operation> </wsdl:operation>
<wsdl:operation name="rExec">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="rExec">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="rExecResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandWithArgs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandWithArgs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandWithArgsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding> </wsdl:binding>
<wsdl:service name="ExecuteService"> <wsdl:service name="ExecuteService">
<wsdl:port binding="tns:ExecuteServiceSoapBinding" name="ExecuteServiceImplPort"> <wsdl:port binding="tns:ExecuteServiceSoapBinding" name="ExecuteServiceImplPort">
@ -366,18 +366,29 @@
<timeout>?</timeout> <timeout>?</timeout>
</ws:rExec> </ws:rExec>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/ExecuteService/rExec"/></con:call></con:operation><con:operation isOneWay="false" action="" name="runCommand" bindingOperationName="runCommand" type="Request-Response" outputName="runCommandResponse" inputName="runCommand" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/ExecuteService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/ExecuteService/rExec"/></con:call></con:operation><con:operation isOneWay="false" action="" name="runCommand" bindingOperationName="runCommand" type="Request-Response" outputName="runCommandResponse" inputName="runCommand" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/ExecuteService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:runCommand> <ws:runCommand>
<!--Optional:--> <!--Optional:-->
<executable>?</executable> <executable>c:/windows/system32/cmd.exe</executable>
<!--Optional:--> <!--Optional:-->
<argline>?</argline> <argline>/C "echo Hallo Welt!"</argline>
<timeout>?</timeout> <timeout>15000</timeout>
</ws:runCommand> </ws:runCommand>
</soapenv:Body> </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/ExecuteService/runCommand"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="runCommandAsync" bindingOperationName="runCommandAsync" type="Request-Response" outputName="runCommandAsyncResponse" inputName="runCommandAsync" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/ExecuteService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net"> </soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/ExecuteService/runCommand"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request notepad"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/ExecuteService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:runCommand>
<!--Optional:-->
<executable>c:/windows/system32/notepad.exe</executable>
<!--Optional:-->
<argline></argline>
<timeout>15000</timeout>
</ws:runCommand>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/ExecuteService/runCommand"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="runCommandAsync" bindingOperationName="runCommandAsync" type="Request-Response" outputName="runCommandAsyncResponse" inputName="runCommandAsync" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/ExecuteService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/> <soapenv:Header/>
<soapenv:Body> <soapenv:Body>
<ws:runCommandAsync> <ws:runCommandAsync>