Subversion Repositories XServices

Compare Revisions

Ignore whitespace Rev 162 → Rev 163

/xservices/trunk/test/ExecuteService-soapui-project.xml
1,353 → 1,353
<?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">
<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"/>
<xs:element name="rExec" type="tns:rExec"/>
<xs:element name="rExecResponse" type="tns:rExecResponse"/>
<xs:element name="runCommand" type="tns:runCommand"/>
<xs:element name="runCommandAsync" type="tns:runCommandAsync"/>
<xs:element name="runCommandAsyncResponse" type="tns:runCommandAsyncResponse"/>
<xs:element name="runCommandAsyncWithArgs" type="tns:runCommandAsyncWithArgs"/>
<xs:element name="runCommandAsyncWithArgsResponse" type="tns:runCommandAsyncWithArgsResponse"/>
<xs:element name="runCommandResponse" type="tns:runCommandResponse"/>
<xs:element name="runCommandWithArgs" type="tns:runCommandWithArgs"/>
<xs:element name="runCommandWithArgsResponse" type="tns:runCommandWithArgsResponse"/>
<xs:element name="runCommandWithSSH" type="tns:runCommandWithSSH"/>
<xs:element name="runCommandWithSSHKeyAuth" type="tns:runCommandWithSSHKeyAuth"/>
<xs:element name="runCommandWithSSHKeyAuthResponse" type="tns:runCommandWithSSHKeyAuthResponse"/>
<xs:element name="runCommandWithSSHResponse" type="tns:runCommandWithSSHResponse"/>
<xs:element name="runJavaScript" type="tns:runJavaScript"/>
<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: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="connection">
<xs:sequence>
<xs:element name="hostname" type="xs:string"/>
<xs:element name="port" type="xs:int"/>
<xs:element minOccurs="0" name="user" type="xs:string"/>
<xs:element minOccurs="0" name="password" type="xs:string"/>
</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="ReturnCodeType">
<xs:sequence>
<xs:element name="returnCode" type="xs:int"/>
<xs:element minOccurs="0" name="stdOut" type="xs:string"/>
<xs:element minOccurs="0" name="stdErr" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="tns:antProperty"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="antProperty">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<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:sequence>
</xs:complexType>
<xs:complexType name="runJavaScriptResponse">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="telnet">
<xs:sequence>
<xs:element minOccurs="0" name="host" type="tns:connection"/>
<xs:element minOccurs="0" name="prompt" type="xs:string"/>
<xs:element minOccurs="0" name="command" type="xs:string"/>
<xs:element minOccurs="0" name="expect" type="xs:string"/>
<xs:element name="timeout" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="telnetResponse">
<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"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="arg" type="xs:string"/>
<xs:element name="timeout" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandWithArgsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="rExec">
<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="rExecResponse">
<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="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:sequence>
<xs:element name="faultstring" nillable="true" type="xs:string"/>
<xs:element name="username" nillable="true" type="xs:string"/>
<xs:element name="homedir" nillable="true" type="xs:string"/>
<xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
<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">
<wsdl:part element="tns:runCommandAsyncWithArgs" name="parameters"></wsdl:part>
</wsdl:message>
<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="rExec">
<wsdl:part element="tns:rExec" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="runCommandAsync">
<wsdl:part element="tns:runCommandAsync" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="XServicesFault">
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
</wsdl:message>
<wsdl:message name="runJavaScript">
<wsdl:part element="tns:runJavaScript" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="runCommandAsyncResponse">
<wsdl:part element="tns:runCommandAsyncResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="runCommandWithSSH">
<wsdl:part element="tns:runCommandWithSSH" 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>
<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="runJavaScriptResponse">
<wsdl:part element="tns:runJavaScriptResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="telnetResponse">
<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>
</wsdl:operation>
<wsdl:operation name="runJavaScript">
<wsdl:input message="tns:runJavaScript" name="runJavaScript"></wsdl:input>
<wsdl:output message="tns:runJavaScriptResponse" name="runJavaScriptResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</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="runCommandWithArgs">
<wsdl:input message="tns:runCommandWithArgs" name="runCommandWithArgs"></wsdl:input>
<wsdl:output message="tns:runCommandWithArgsResponse" name="runCommandWithArgsResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="rExec">
<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">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandWithSSHResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runJavaScript">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runJavaScript">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runJavaScriptResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="telnet">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="telnet">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="telnetResponse">
<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">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandAsyncResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommand">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommand">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandAsyncWithArgs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandAsyncWithArgs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandAsyncWithArgsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ExecuteService">
<wsdl:port binding="tns:ExecuteServiceSoapBinding" name="ExecuteServiceImplPort">
<soap:address location="http://localhost:8080/XServices/ExecuteService"/>
</wsdl:port>
</wsdl:service>
<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"/>
<xs:element name="rExec" type="tns:rExec"/>
<xs:element name="rExecResponse" type="tns:rExecResponse"/>
<xs:element name="runCommand" type="tns:runCommand"/>
<xs:element name="runCommandAsync" type="tns:runCommandAsync"/>
<xs:element name="runCommandAsyncResponse" type="tns:runCommandAsyncResponse"/>
<xs:element name="runCommandAsyncWithArgs" type="tns:runCommandAsyncWithArgs"/>
<xs:element name="runCommandAsyncWithArgsResponse" type="tns:runCommandAsyncWithArgsResponse"/>
<xs:element name="runCommandResponse" type="tns:runCommandResponse"/>
<xs:element name="runCommandWithArgs" type="tns:runCommandWithArgs"/>
<xs:element name="runCommandWithArgsResponse" type="tns:runCommandWithArgsResponse"/>
<xs:element name="runCommandWithSSH" type="tns:runCommandWithSSH"/>
<xs:element name="runCommandWithSSHKeyAuth" type="tns:runCommandWithSSHKeyAuth"/>
<xs:element name="runCommandWithSSHKeyAuthResponse" type="tns:runCommandWithSSHKeyAuthResponse"/>
<xs:element name="runCommandWithSSHResponse" type="tns:runCommandWithSSHResponse"/>
<xs:element name="runJavaScript" type="tns:runJavaScript"/>
<xs:element name="runJavaScriptResponse" type="tns:runJavaScriptResponse"/>
<xs:element name="telnet" type="tns:telnet"/>
<xs:element name="telnetResponse" type="tns:telnetResponse"/>
<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="connection">
<xs:sequence>
<xs:element name="hostname" type="xs:string"/>
<xs:element name="port" type="xs:int"/>
<xs:element minOccurs="0" name="user" type="xs:string"/>
<xs:element minOccurs="0" name="password" type="xs:string"/>
</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="ReturnCodeType">
<xs:sequence>
<xs:element name="returnCode" type="xs:int"/>
<xs:element minOccurs="0" name="stdOut" type="xs:string"/>
<xs:element minOccurs="0" name="stdErr" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="tns:antProperty"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="antProperty">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runJavaScript">
<xs:sequence>
<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"/>
<xs:element minOccurs="0" name="prompt" type="xs:string"/>
<xs:element minOccurs="0" name="command" type="xs:string"/>
<xs:element minOccurs="0" name="expect" type="xs:string"/>
<xs:element name="timeout" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="telnetResponse">
<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="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"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="arg" type="xs:string"/>
<xs:element name="timeout" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runCommandWithArgsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="rExec">
<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="rExecResponse">
<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"/>
<xs:element name="username" nillable="true" type="xs:string"/>
<xs:element name="homedir" nillable="true" type="xs:string"/>
<xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
<xs:element name="jvmruntime" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="runCommandAsyncWithArgs">
<wsdl:part element="tns:runCommandAsyncWithArgs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="runCommandWithSSHKeyAuth">
<wsdl:part element="tns:runCommandWithSSHKeyAuth" 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>
<wsdl:message name="runCommandAsync">
<wsdl:part element="tns:runCommandAsync" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="XServicesFault">
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
</wsdl:message>
<wsdl:message name="runJavaScript">
<wsdl:part element="tns:runJavaScript" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="runCommandAsyncResponse">
<wsdl:part element="tns:runCommandAsyncResponse" name="parameters"></wsdl:part>
</wsdl:message>
<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="telnet">
<wsdl:part element="tns:telnet" name="parameters"></wsdl:part>
</wsdl:message>
<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="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>
<wsdl:message name="telnetResponse">
<wsdl:part element="tns:telnetResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:portType name="ExecuteService">
<wsdl:operation name="runCommandWithSSH">
<wsdl:input message="tns:runCommandWithSSH" name="runCommandWithSSH"></wsdl:input>
<wsdl:output message="tns:runCommandWithSSHResponse" name="runCommandWithSSHResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="runJavaScript">
<wsdl:input message="tns:runJavaScript" name="runJavaScript"></wsdl:input>
<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>
</wsdl:operation>
<wsdl:operation name="rExec">
<wsdl:input message="tns:rExec" name="rExec"></wsdl:input>
<wsdl:output message="tns:rExecResponse" name="rExecResponse"></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="runCommandWithSSH">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandWithSSH">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandWithSSHResponse">
<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">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runJavaScriptResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="telnet">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="telnet">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="telnetResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandAsync">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandAsync">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandAsyncResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommand">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommand">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="runCommandAsyncWithArgs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="runCommandAsyncWithArgs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="runCommandAsyncWithArgsResponse">
<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">
<soap:address location="http://localhost:8080/XServices/ExecuteService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>http://localhost:8080/XServices/ExecuteService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="rExec" bindingOperationName="rExec" type="Request-Response" outputName="rExecResponse" inputName="rExec" 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>
366,20 → 366,31
<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">&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>?</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">&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:Body>
<ws:runCommandAsync>
<!--Optional:-->
<executable>?</executable>
/xservices/trunk/doc/BruteXServices_User_Guide.dbk
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>
4206,6 → 4261,19
]]></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>
<para>Replace an xml fragment with another xml fragment. This operation is namespace aware.
4274,6 → 4342,19
</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>
<para>Selects xmlfragements, nodes, attribute or text from xml data using an XPath expression.
/xservices/trunk/doc/ExecuteServices/runCommand.xml
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>