Enhanced ExecuteService:runCommand documentation with sample requests
git-svn-id: https://brutex.net/svn/xservices/trunk@163 e7e49efb-446e-492e-b9ec-fcafc1997a86xservices-jre6
parent
261810858b
commit
eb7a20b60b
|
@ -3555,6 +3555,61 @@
|
|||
|
||||
</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 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>
|
||||
|
@ -4205,6 +4260,19 @@ xmlns:ws="http://ws.xservices.brutex.net">
|
|||
</soap:Envelope>
|
||||
]]></programlisting>
|
||||
</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 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>
|
||||
|
@ -4273,6 +4341,19 @@ xmlns:ws="http://ws.xservices.brutex.net">
|
|||
</soap:Body>
|
||||
</soap:Envelope>]]></programlisting>
|
||||
</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 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>
|
||||
|
|
|
@ -53,4 +53,59 @@
|
|||
</title>
|
||||
<xi:include href="../types/ReturnCode.xml" />
|
||||
</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>
|
|
@ -1,5 +1,5 @@
|
|||
<?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>
|
||||
<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"/>
|
||||
|
@ -21,10 +21,9 @@
|
|||
<xs:element name="runJavaScriptResponse" type="tns:runJavaScriptResponse"/>
|
||||
<xs:element name="telnet" type="tns:telnet"/>
|
||||
<xs:element name="telnetResponse" type="tns:telnetResponse"/>
|
||||
<xs:complexType name="runCommandWithSSHKeyAuth">
|
||||
<xs:complexType name="runCommandWithSSH">
|
||||
<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>
|
||||
|
@ -37,7 +36,7 @@
|
|||
<xs:element minOccurs="0" name="password" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="runCommandWithSSHKeyAuthResponse">
|
||||
<xs:complexType name="runCommandWithSSHResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
|
||||
</xs:sequence>
|
||||
|
@ -56,26 +55,27 @@
|
|||
<xs:element name="value" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</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:sequence>
|
||||
<xs:element minOccurs="0" name="script" type="xs:string"/>
|
||||
<xs:element name="script" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="runJavaScriptResponse">
|
||||
<xs:sequence/>
|
||||
</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:sequence>
|
||||
<xs:element minOccurs="0" name="host" type="tns:connection"/>
|
||||
|
@ -90,6 +90,40 @@
|
|||
<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="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:sequence>
|
||||
<xs:element minOccurs="0" name="executable" type="xs:string"/>
|
||||
|
@ -114,40 +148,7 @@
|
|||
<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="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:element name="XServicesFault" type="tns:XServicesFault"/>
|
||||
<xs:complexType name="XServicesFault">
|
||||
<xs:sequence>
|
||||
<xs:element name="faultstring" nillable="true" type="xs:string"/>
|
||||
|
@ -157,7 +158,6 @@
|
|||
<xs:element name="jvmruntime" nillable="true" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="XServicesFault" type="tns:XServicesFault"/>
|
||||
</xs:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="runCommandAsyncWithArgs">
|
||||
|
@ -166,12 +166,12 @@
|
|||
<wsdl:message name="runCommandWithSSHKeyAuth">
|
||||
<wsdl:part element="tns:runCommandWithSSHKeyAuth" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runCommandWithSSHKeyAuthResponse">
|
||||
<wsdl:part element="tns:runCommandWithSSHKeyAuthResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runCommandWithArgsResponse">
|
||||
<wsdl:part element="tns:runCommandWithArgsResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runCommandWithSSHKeyAuthResponse">
|
||||
<wsdl:part element="tns:runCommandWithSSHKeyAuthResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="rExec">
|
||||
<wsdl:part element="tns:rExec" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
|
@ -190,27 +190,27 @@
|
|||
<wsdl:message name="runCommandWithSSH">
|
||||
<wsdl:part element="tns:runCommandWithSSH" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="rExecResponse">
|
||||
<wsdl:part element="tns:rExecResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runCommandAsyncWithArgsResponse">
|
||||
<wsdl:part element="tns:runCommandAsyncWithArgsResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runCommand">
|
||||
<wsdl:part element="tns:runCommand" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="telnet">
|
||||
<wsdl:part element="tns:telnet" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="rExecResponse">
|
||||
<wsdl:part element="tns:rExecResponse" name="parameters"></wsdl:part>
|
||||
<wsdl:message name="runCommand">
|
||||
<wsdl:part element="tns:runCommand" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runCommandWithArgs">
|
||||
<wsdl:part element="tns:runCommandWithArgs" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runCommandResponse">
|
||||
<wsdl:part element="tns:runCommandResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runCommandWithSSHResponse">
|
||||
<wsdl:part element="tns:runCommandWithSSHResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runCommandResponse">
|
||||
<wsdl:part element="tns:runCommandResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="runJavaScriptResponse">
|
||||
<wsdl:part element="tns:runJavaScriptResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
|
@ -218,10 +218,6 @@
|
|||
<wsdl:part element="tns:telnetResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<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:input message="tns:runCommandWithSSH" name="runCommandWithSSH"></wsdl:input>
|
||||
<wsdl:output message="tns:runCommandWithSSHResponse" name="runCommandWithSSHResponse"></wsdl:output>
|
||||
|
@ -231,10 +227,26 @@
|
|||
<wsdl:output message="tns:runJavaScriptResponse" name="runJavaScriptResponse"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</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:input message="tns:telnet" name="telnet"></wsdl:input>
|
||||
<wsdl:output message="tns:telnetResponse" name="telnetResponse"></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="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:input message="tns:runCommandWithArgs" name="runCommandWithArgs"></wsdl:input>
|
||||
<wsdl:output message="tns:runCommandWithArgsResponse" name="runCommandWithArgsResponse"></wsdl:output>
|
||||
|
@ -243,30 +255,9 @@
|
|||
<wsdl:input message="tns:rExec" name="rExec"></wsdl:input>
|
||||
<wsdl:output message="tns:rExecResponse" name="rExecResponse"></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="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:binding name="ExecuteServiceSoapBinding" type="tns:ExecuteService">
|
||||
<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">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="runCommandWithSSH">
|
||||
|
@ -276,6 +267,15 @@
|
|||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</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">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="runJavaScript">
|
||||
|
@ -297,24 +297,6 @@
|
|||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</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">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="runCommandAsync">
|
||||
|
@ -342,6 +324,24 @@
|
|||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</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:service name="ExecuteService">
|
||||
<wsdl:port binding="tns:ExecuteServiceSoapBinding" name="ExecuteServiceImplPort">
|
||||
|
@ -366,18 +366,29 @@
|
|||
<timeout>?</timeout>
|
||||
</ws:rExec>
|
||||
</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"><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>?</executable>
|
||||
<executable>c:/windows/system32/cmd.exe</executable>
|
||||
<!--Optional:-->
|
||||
<argline>?</argline>
|
||||
<timeout>?</timeout>
|
||||
<argline>/C "echo Hallo Welt!"</argline>
|
||||
<timeout>15000</timeout>
|
||||
</ws:runCommand>
|
||||
</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"><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:Body>
|
||||
<ws:runCommandAsync>
|
||||
|
|
Loading…
Reference in New Issue