soapUI Test

This commit is contained in:
M.Scholz 2011-12-13 15:14:42 +01:00
parent 07173e875e
commit b7c2d3f67b
2 changed files with 360 additions and 0 deletions

2
.gitignore vendored
View File

@ -33,3 +33,5 @@ ws2011/BP/QS-Dokument/Qs-Dokument.gls
ws2011/BP/QS-Dokument/QS-Dokument.dvi
ws2011/BP/QS-Dokument/Qs-Dokument.glg
ws2011/BP/soapUI/.DS_Store

View File

@ -0,0 +1,358 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="da_sense" soapui-version="4.0.1.1" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="da_senseSOAP" type="wsdl" bindingName="{http://www.da-sense.de/}da_senseSOAP" soapVersion="1_1" anonymous="optional" definition="http://da-sense.de/wsdl/da_sense.wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://da-sense.de/wsdl/da_sense.wsdl"><con:part><con:url>http://da-sense.de/wsdl/da_sense.wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="da_sense" targetNamespace="http://www.da-sense.de/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.da-sense.de/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xsd:schema targetNamespace="http://www.da-sense.de/">
<xsd:element name="Types">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="returnAll" type="xsd:boolean"/>
<xsd:element name="returnTypes" type="tns:DataType" maxOccurs="unbounded" minOccurs="0"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="Location">
<xsd:sequence>
<xsd:element name="longitude" type="xsd:double"/>
<xsd:element name="latitude" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LocationExtended">
<xsd:complexContent>
<xsd:extension base="tns:Location">
<xsd:sequence>
<xsd:element name="altitude" type="xsd:double"/>
<xsd:element name="accuracy" type="xsd:double"/>
<xsd:element name="provider" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="DataType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CO"/>
<xsd:enumeration value="CO2"/>
<xsd:enumeration value="LEQ"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DataValue">
<xsd:sequence>
<xsd:element name="type" type="tns:DataType"/>
<xsd:element name="value" type="xsd:double"/>
<xsd:element name="timestamp" type="xsd:decimal"/>
<xsd:element name="samples" type="xsd:int"/>
<xsd:element name="location" type="tns:LocationExtended"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Node">
<xsd:sequence>
<xsd:element name="ID" type="xsd:string"/>
<xsd:element name="type" type="xsd:string"/>
<xsd:element name="description" type="xsd:string"/>
<xsd:element name="values" type="tns:DataValue" maxOccurs="unbounded" minOccurs="0"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Time">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="returnAll" type="xsd:boolean"/>
<xsd:element name="from" type="xsd:decimal" maxOccurs="1" minOccurs="0"/>
<xsd:element name="to" type="xsd:decimal" maxOccurs="1" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Location">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="returnAll" type="xsd:boolean"/>
<xsd:element name="topLeft" type="tns:Location" maxOccurs="1" minOccurs="0"/>
<xsd:element name="bottomRight" type="tns:Location" maxOccurs="1" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getDataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="node" type="tns:Node" maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="setData">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="node" type="tns:Node"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="setDataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="success" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getNodes">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="in" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getNodesResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="node" type="tns:Node" maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:simpleType name="NodeType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ALL"/>
<xsd:enumeration value="PHONE"/>
<xsd:enumeration value="MOTE"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="getDataForNodeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="node" type="tns:Node" maxOccurs="1" minOccurs="0"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getDataTypeInfos">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="in" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getDataTypeInfosResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="info" type="tns:DataTypeInfo" maxOccurs="unbounded" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="DataTypeInfo">
<xsd:sequence>
<xsd:element name="ID" type="xsd:string"/>
<xsd:element name="displayname" type="xsd:string"/>
<xsd:element name="measure" type="xsd:string"/>
<xsd:element name="description" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Credentials">
<xsd:sequence>
<xsd:element name="user" type="xsd:string"/>
<xsd:element name="password" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="getDataRequest">
<wsdl:part name="Types" element="tns:Types"/>
<wsdl:part name="Time" element="tns:Time"/>
<wsdl:part name="Location" element="tns:Location"/>
<wsdl:part name="Credentials" type="tns:Credentials"/>
</wsdl:message>
<wsdl:message name="getDataResponse">
<wsdl:part name="return" element="tns:getDataResponse"/>
</wsdl:message>
<wsdl:message name="getDataForNodeRequest">
<wsdl:part name="nodeID" type="xsd:string"/>
<wsdl:part name="Credentials" type="tns:Credentials"/>
</wsdl:message>
<wsdl:message name="getDataForNodeResponse">
<wsdl:part name="return" element="tns:getDataForNodeResponse"/>
</wsdl:message>
<wsdl:message name="setDataRequest">
<wsdl:part name="node" type="tns:Node"/>
<wsdl:part name="Credentials" type="tns:Credentials"/>
</wsdl:message>
<wsdl:message name="setDataResponse">
<wsdl:part name="return" element="tns:setDataResponse"/>
</wsdl:message>
<wsdl:message name="getNodesRequest">
<wsdl:part name="type" type="tns:NodeType"/>
<wsdl:part name="Credentials" type="tns:Credentials"/>
</wsdl:message>
<wsdl:message name="getNodesResponse">
<wsdl:part name="return" element="tns:getNodesResponse"/>
</wsdl:message>
<wsdl:message name="getDataTypeInfosRequest">
<wsdl:part name="Credentials" type="tns:Credentials"/>
</wsdl:message>
<wsdl:message name="getDataTypeInfosResponse">
<wsdl:part name="return" element="tns:getDataTypeInfosResponse"/>
</wsdl:message>
<wsdl:portType name="da_sense">
<wsdl:operation name="getData">
<wsdl:input message="tns:getDataRequest"/>
<wsdl:output message="tns:getDataResponse"/>
</wsdl:operation>
<wsdl:operation name="getDataForNode">
<wsdl:input message="tns:getDataForNodeRequest"/>
<wsdl:output message="tns:getDataForNodeResponse"/>
</wsdl:operation>
<wsdl:operation name="setData">
<wsdl:input message="tns:setDataRequest"/>
<wsdl:output message="tns:setDataResponse"/>
</wsdl:operation>
<wsdl:operation name="getNodes">
<wsdl:input message="tns:getNodesRequest"/>
<wsdl:output message="tns:getNodesResponse"/>
</wsdl:operation>
<wsdl:operation name="getDataTypeInfos">
<wsdl:input message="tns:getDataTypeInfosRequest"/>
<wsdl:output message="tns:getDataTypeInfosResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="da_senseSOAP" type="tns:da_sense">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getData">
<soap:operation soapAction="http://www.da-sense.de/getData"/>
<wsdl:input>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getDataForNode">
<soap:operation soapAction="http://www.da-sense.de/getDataForNode"/>
<wsdl:input>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="setData">
<soap:operation soapAction="http://www.da-sense.de/setData"/>
<wsdl:input>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getNodes">
<soap:operation soapAction="http://www.da-sense.de/getNodes"/>
<wsdl:input>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getDataTypeInfos">
<soap:operation soapAction="http://www.da-sense.de/getDataTypeInfos"/>
<wsdl:input>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" namespace="http://www.da-sense.de/"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="da_sense">
<wsdl:port binding="tns:da_senseSOAP" name="da_senseSOAP">
<soap:address location="http://www.da-sense.de/wsdl/"/>
</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://www.da-sense.de/wsdl/</con:endpoint></con:endpoints><con:operation isOneWay="false" action="http://www.da-sense.de/getData" name="getData" bindingOperationName="getData" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://www.da-sense.de/wsdl/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:da="http://www.da-sense.de/">
<soapenv:Header/>
<soapenv:Body>
<da:getData>
<da:Types>
<returnAll>?</returnAll>
<!--Zero or more repetitions:-->
<returnTypes>?</returnTypes>
</da:Types>
<da:Time>
<returnAll>?</returnAll>
<!--Optional:-->
<from>?</from>
<!--Optional:-->
<to>?</to>
</da:Time>
<da:Location>
<returnAll>?</returnAll>
<!--Optional:-->
<topLeft>
<longitude>?</longitude>
<latitude>?</latitude>
</topLeft>
<!--Optional:-->
<bottomRight>
<longitude>?</longitude>
<latitude>?</latitude>
</bottomRight>
</da:Location>
<Credentials>
<user>?</user>
<password>?</password>
</Credentials>
</da:getData>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.da-sense.de/getData"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="http://www.da-sense.de/getDataForNode" name="getDataForNode" bindingOperationName="getDataForNode" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://www.da-sense.de/wsdl/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:da="http://www.da-sense.de/">
<soapenv:Header/>
<soapenv:Body>
<da:getDataForNode>
<nodeID>?</nodeID>
<Credentials>
<user>?</user>
<password>?</password>
</Credentials>
</da:getDataForNode>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.da-sense.de/getDataForNode"/></con:call></con:operation><con:operation isOneWay="false" action="http://www.da-sense.de/getDataTypeInfos" name="getDataTypeInfos" bindingOperationName="getDataTypeInfos" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://www.da-sense.de/wsdl/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:da="http://www.da-sense.de/">
<soapenv:Header/>
<soapenv:Body>
<da:getDataTypeInfos>
<Credentials>
<user>?</user>
<password>?</password>
</Credentials>
</da:getDataTypeInfos>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.da-sense.de/getDataTypeInfos"/></con:call></con:operation><con:operation isOneWay="false" action="http://www.da-sense.de/getNodes" name="getNodes" bindingOperationName="getNodes" type="Request-Response" inputName="" 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://www.da-sense.de/wsdl/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:da="http://www.da-sense.de/">
<soapenv:Header/>
<soapenv:Body>
<da:getNodes>
<type>1</type>
<Credentials>
<user>?</user>
<password>?</password>
</Credentials>
</da:getNodes>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.da-sense.de/getNodes"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="http://www.da-sense.de/setData" name="setData" bindingOperationName="setData" type="Request-Response" inputName="" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://www.da-sense.de/wsdl/</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:da="http://www.da-sense.de/">
<soapenv:Header/>
<soapenv:Body>
<da:setData>
<node>
<ID>?</ID>
<type>?</type>
<description>?</description>
<!--Zero or more repetitions:-->
<values>
<type>?</type>
<value>?</value>
<timestamp>?</timestamp>
<samples>?</samples>
<location>
<longitude>?</longitude>
<latitude>?</latitude>
<altitude>?</altitude>
<accuracy>?</accuracy>
<provider>?</provider>
</location>
</values>
</node>
<Credentials>
<user>?</user>
<password>?</password>
</Credentials>
</da:setData>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.da-sense.de/setData"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project>