526 lines
28 KiB
XML
526 lines
28 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<con:soapui-project activeEnvironment="Default" name="XmlServices" resourceRoot="" soapui-version="4.5.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="XmlServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}XmlServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/XmlService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/XmlService?wsdl"><con:part><con:url>http://localhost:8080/XServices/XmlService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="XmlService" 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="insertNodes" type="tns:insertNodes"/>
|
|
<xs:element name="insertNodes2" type="tns:insertNodes2"/>
|
|
<xs:element name="insertNodes2Response" type="tns:insertNodes2Response"/>
|
|
<xs:element name="insertNodesResponse" type="tns:insertNodesResponse"/>
|
|
<xs:element name="namespaceListType" type="tns:namespaceListType"/>
|
|
<xs:element name="replaceNodes" type="tns:replaceNodes"/>
|
|
<xs:element name="replaceNodes2" type="tns:replaceNodes2"/>
|
|
<xs:element name="replaceNodes2Response" type="tns:replaceNodes2Response"/>
|
|
<xs:element name="replaceNodesResponse" type="tns:replaceNodesResponse"/>
|
|
<xs:element name="selectXPath" type="tns:selectXPath"/>
|
|
<xs:element name="selectXPathResponse" type="tns:selectXPathResponse"/>
|
|
<xs:element name="setAttribute" type="tns:setAttribute"/>
|
|
<xs:element name="setAttributeResponse" type="tns:setAttributeResponse"/>
|
|
<xs:element name="wrapInCDATA" type="tns:wrapInCDATA"/>
|
|
<xs:element name="wrapInCDATAResponse" type="tns:wrapInCDATAResponse"/>
|
|
<xs:complexType name="replaceNodes2">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
|
|
<xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
|
|
<xs:element name="xpath" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="xmldata" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="FileResourceType">
|
|
<xs:sequence>
|
|
<xs:element default="FILE" name="type" type="tns:type"/>
|
|
<xs:element name="uri" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="namespaceListType">
|
|
<xs:sequence>
|
|
<xs:element maxOccurs="unbounded" minOccurs="0" name="namespace" type="tns:namespace"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="namespace">
|
|
<xs:sequence>
|
|
<xs:element name="prefix" type="xs:string"/>
|
|
<xs:element name="uri" nillable="true" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="replaceNodes2Response">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="insertNodes">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="sourcexml" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="encoding" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
|
|
<xs:element name="xpath" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="xmldata" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="insertNodesResponse">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="selectXPath">
|
|
<xs:sequence>
|
|
<xs:element name="sourcexml" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="encoding" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
|
|
<xs:element name="xpath" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="selectXPathResponse">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="tns:stringSplitType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="stringSplitType">
|
|
<xs:sequence>
|
|
<xs:element maxOccurs="unbounded" minOccurs="0" name="stringlist" nillable="true" type="xs:string"/>
|
|
<xs:element name="size" type="xs:int"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="wrapInCDATA">
|
|
<xs:sequence>
|
|
<xs:element name="data" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="wrapInCDATAResponse">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="setAttribute">
|
|
<xs:sequence>
|
|
<xs:element name="sourcexml" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="encoding" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
|
|
<xs:element name="xpath" type="xs:string"/>
|
|
<xs:element name="attribute" type="tns:AttributeType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="AttributeType">
|
|
<xs:sequence>
|
|
<xs:element name="name" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="setAttributeResponse">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="replaceNodes">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="sourcexml" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="encoding" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
|
|
<xs:element name="xpath" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="xmldata" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="replaceNodesResponse">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="insertNodes2">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
|
|
<xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
|
|
<xs:element name="xpath" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="xmldata" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="insertNodes2Response">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:simpleType name="type">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="FILE"/>
|
|
<xs:enumeration value="URL"/>
|
|
<xs:enumeration value="GZIP"/>
|
|
<xs:enumeration value="BZIP2"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<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="insertNodes2Response">
|
|
<wsdl:part element="tns:insertNodes2Response" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="replaceNodes2Response">
|
|
<wsdl:part element="tns:replaceNodes2Response" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="replaceNodes">
|
|
<wsdl:part element="tns:replaceNodes" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="selectXPath">
|
|
<wsdl:part element="tns:selectXPath" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="XServicesFault">
|
|
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="insertNodes">
|
|
<wsdl:part element="tns:insertNodes" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="selectXPathResponse">
|
|
<wsdl:part element="tns:selectXPathResponse" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="wrapInCDATAResponse">
|
|
<wsdl:part element="tns:wrapInCDATAResponse" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="setAttributeResponse">
|
|
<wsdl:part element="tns:setAttributeResponse" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="wrapInCDATA">
|
|
<wsdl:part element="tns:wrapInCDATA" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="replaceNodesResponse">
|
|
<wsdl:part element="tns:replaceNodesResponse" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="setAttribute">
|
|
<wsdl:part element="tns:setAttribute" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="insertNodes2">
|
|
<wsdl:part element="tns:insertNodes2" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="insertNodesResponse">
|
|
<wsdl:part element="tns:insertNodesResponse" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="replaceNodes2">
|
|
<wsdl:part element="tns:replaceNodes2" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:portType name="XmlService">
|
|
<wsdl:operation name="replaceNodes2">
|
|
<wsdl:documentation>Replaces matched XML nodes with an XML document given as file.</wsdl:documentation>
|
|
<wsdl:input message="tns:replaceNodes2" name="replaceNodes2"></wsdl:input>
|
|
<wsdl:output message="tns:replaceNodes2Response" name="replaceNodes2Response"></wsdl:output>
|
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="insertNodes">
|
|
<wsdl:documentation>Insert an XML fragment into an XML document given as string.</wsdl:documentation>
|
|
<wsdl:input message="tns:insertNodes" name="insertNodes"></wsdl:input>
|
|
<wsdl:output message="tns:insertNodesResponse" name="insertNodesResponse"></wsdl:output>
|
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="selectXPath">
|
|
<wsdl:documentation>Select from xml document given as string using an XPath expression.</wsdl:documentation>
|
|
<wsdl:input message="tns:selectXPath" name="selectXPath"></wsdl:input>
|
|
<wsdl:output message="tns:selectXPathResponse" name="selectXPathResponse"></wsdl:output>
|
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="wrapInCDATA">
|
|
<wsdl:documentation>Wraps a String into a CDATA element</wsdl:documentation>
|
|
<wsdl:input message="tns:wrapInCDATA" name="wrapInCDATA"></wsdl:input>
|
|
<wsdl:output message="tns:wrapInCDATAResponse" name="wrapInCDATAResponse"></wsdl:output>
|
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="setAttribute">
|
|
<wsdl:documentation>Set an attribute.</wsdl:documentation>
|
|
<wsdl:input message="tns:setAttribute" name="setAttribute"></wsdl:input>
|
|
<wsdl:output message="tns:setAttributeResponse" name="setAttributeResponse"></wsdl:output>
|
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="replaceNodes">
|
|
<wsdl:documentation>Replaces matched XML nodes with an XML document given as string.</wsdl:documentation>
|
|
<wsdl:input message="tns:replaceNodes" name="replaceNodes"></wsdl:input>
|
|
<wsdl:output message="tns:replaceNodesResponse" name="replaceNodesResponse"></wsdl:output>
|
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="insertNodes2">
|
|
<wsdl:documentation>Insert an XML fragment into an XML document given as file.</wsdl:documentation>
|
|
<wsdl:input message="tns:insertNodes2" name="insertNodes2"></wsdl:input>
|
|
<wsdl:output message="tns:insertNodes2Response" name="insertNodes2Response"></wsdl:output>
|
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
|
</wsdl:operation>
|
|
</wsdl:portType>
|
|
<wsdl:binding name="XmlServiceSoapBinding" type="tns:XmlService">
|
|
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
<wsdl:operation name="replaceNodes2">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="replaceNodes2">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="replaceNodes2Response">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
<wsdl:fault name="XServicesFault">
|
|
<soap:fault name="XServicesFault" use="literal"/>
|
|
</wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="insertNodes">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="insertNodes">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="insertNodesResponse">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
<wsdl:fault name="XServicesFault">
|
|
<soap:fault name="XServicesFault" use="literal"/>
|
|
</wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="selectXPath">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="selectXPath">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="selectXPathResponse">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
<wsdl:fault name="XServicesFault">
|
|
<soap:fault name="XServicesFault" use="literal"/>
|
|
</wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="setAttribute">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="setAttribute">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="setAttributeResponse">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
<wsdl:fault name="XServicesFault">
|
|
<soap:fault name="XServicesFault" use="literal"/>
|
|
</wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="wrapInCDATA">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="wrapInCDATA">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="wrapInCDATAResponse">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
<wsdl:fault name="XServicesFault">
|
|
<soap:fault name="XServicesFault" use="literal"/>
|
|
</wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="insertNodes2">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="insertNodes2">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="insertNodes2Response">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
<wsdl:fault name="XServicesFault">
|
|
<soap:fault name="XServicesFault" use="literal"/>
|
|
</wsdl:fault>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="replaceNodes">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="replaceNodes">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="replaceNodesResponse">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
<wsdl:fault name="XServicesFault">
|
|
<soap:fault name="XServicesFault" use="literal"/>
|
|
</wsdl:fault>
|
|
</wsdl:operation>
|
|
</wsdl:binding>
|
|
<wsdl:service name="XmlService">
|
|
<wsdl:port binding="tns:XmlServiceSoapBinding" name="XmlServiceImplPort">
|
|
<soap:address location="http://localhost:8080/XServices/XmlService"/>
|
|
</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/XmlService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="replaceNodes2" bindingOperationName="replaceNodes2" type="Request-Response" outputName="replaceNodes2Response" inputName="replaceNodes2" 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/XmlService</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:replaceNodes2>
|
|
<!--Optional:-->
|
|
<file>
|
|
<type>FILE</type>
|
|
<uri>?</uri>
|
|
</file>
|
|
<!--Optional:-->
|
|
<namespaceList>
|
|
<!--Zero or more repetitions:-->
|
|
<namespace>
|
|
<prefix>?</prefix>
|
|
<uri>?</uri>
|
|
</namespace>
|
|
</namespaceList>
|
|
<xpath>?</xpath>
|
|
<!--Optional:-->
|
|
<xmldata>?</xmldata>
|
|
</ws:replaceNodes2>
|
|
</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/XmlService/replaceNodes2"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="insertNodes" bindingOperationName="insertNodes" type="Request-Response" outputName="insertNodesResponse" inputName="insertNodes" 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/XmlService</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:insertNodes>
|
|
<sourcexml><![CDATA[
|
|
<books>
|
|
<author>
|
|
<name>Mensiok</name>
|
|
<surname>Bello</surname>
|
|
</author>
|
|
<author>
|
|
<name>Schwab</name>
|
|
<surname>Rumsau</surname>
|
|
</author>
|
|
<author>
|
|
<name>Dollibert</name>
|
|
<surname>Rach</surname>
|
|
</author>
|
|
</books>
|
|
]]]]>><![CDATA[</sourcexml>
|
|
<encoding>utf-8</encoding>
|
|
<namespaceList>
|
|
<!--Zero or more repetitions:-->
|
|
<namespace>
|
|
<prefix></prefix>
|
|
<uri></uri>
|
|
</namespace>
|
|
</namespaceList>
|
|
<xpath>/books/author</xpath>
|
|
<!--Optional:-->
|
|
<xmldata><![CDATA[<age namespace="http://btx"/>]]]]>><![CDATA[</xmldata>
|
|
</ws:insertNodes>
|
|
</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/XmlService/insertNodes"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="selectXPath" bindingOperationName="selectXPath" type="Request-Response" outputName="selectXPathResponse" inputName="selectXPath" 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/XmlService</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:selectXPath>
|
|
<sourcexml>
|
|
<![CDATA[<notes xmlns="http://demo.brutex.net" xmlns:bx="http://bx.brutex.net">
|
|
<bx:note>
|
|
<to>Lena</to>
|
|
<from>Jani</from>
|
|
<heading>Reminder ABC</heading>
|
|
<body>Don't forget me this weekend!</body>
|
|
</bx:note>
|
|
<note>
|
|
<to>John</to>
|
|
<from>Lena</from>
|
|
<heading>Call Mr. ABC</heading>
|
|
<body>Please call back</body>
|
|
</note>
|
|
<bx:note>
|
|
<to>Brian</to>
|
|
<from>JJohn</from>
|
|
<heading>Reminder XServices</heading>
|
|
<body>How to use selectXPath?</body>
|
|
</bx:note>
|
|
</notes>
|
|
]]]]>><![CDATA[
|
|
</sourcexml>
|
|
<encoding>utf-8</encoding>
|
|
<namespaceList>
|
|
<namespace>
|
|
<prefix>ns</prefix>
|
|
<uri>http://demo.brutex.net</uri>
|
|
</namespace>
|
|
<namespace>
|
|
<prefix>bx</prefix>
|
|
<uri>http://bx.brutex.net</uri>
|
|
</namespace>
|
|
</namespaceList>
|
|
<xpath>*/bx:note/ns:heading/text()</xpath>
|
|
</ws:selectXPath>
|
|
</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/XmlService/selectXPath"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="setAttribute" bindingOperationName="setAttribute" type="Request-Response" outputName="setAttributeResponse" inputName="setAttribute" 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/XmlService</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:setAttribute>
|
|
<sourcexml>?</sourcexml>
|
|
<!--Optional:-->
|
|
<encoding>?</encoding>
|
|
<!--Optional:-->
|
|
<namespaceList>
|
|
<!--Zero or more repetitions:-->
|
|
<namespace>
|
|
<prefix>?</prefix>
|
|
<uri>?</uri>
|
|
</namespace>
|
|
</namespaceList>
|
|
<xpath>?</xpath>
|
|
<attribute>
|
|
<name>?</name>
|
|
<!--Optional:-->
|
|
<value>?</value>
|
|
</attribute>
|
|
</ws:setAttribute>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/XmlService/setAttribute"/></con:call></con:operation><con:operation isOneWay="false" action="" name="wrapInCDATA" bindingOperationName="wrapInCDATA" type="Request-Response" outputName="wrapInCDATAResponse" inputName="wrapInCDATA" 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/XmlService</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:wrapInCDATA>
|
|
<data>Hello World, here is some <xml> data</data>
|
|
</ws:wrapInCDATA>
|
|
</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/XmlService/wrapInCDATA"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="insertNodes2" bindingOperationName="insertNodes2" type="Request-Response" outputName="insertNodes2Response" inputName="insertNodes2" 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/XmlService</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:insertNodes2>
|
|
<!--Optional:-->
|
|
<file>
|
|
<type>FILE</type>
|
|
<uri>?</uri>
|
|
</file>
|
|
<!--Optional:-->
|
|
<namespaceList>
|
|
<!--Zero or more repetitions:-->
|
|
<namespace>
|
|
<prefix>?</prefix>
|
|
<uri>?</uri>
|
|
</namespace>
|
|
</namespaceList>
|
|
<xpath>?</xpath>
|
|
<!--Optional:-->
|
|
<xmldata>?</xmldata>
|
|
</ws:insertNodes2>
|
|
</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/XmlService/insertNodes2"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="replaceNodes" bindingOperationName="replaceNodes" type="Request-Response" outputName="replaceNodesResponse" inputName="replaceNodes" 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/XmlService</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:replaceNodes>
|
|
<sourcexml><![CDATA[
|
|
<books>
|
|
<author>
|
|
<name>Mensiok</name>
|
|
<surname>Bello</surname>
|
|
</author>
|
|
<author>
|
|
<name>Schwab</name>
|
|
<surname>Rumsau</surname>
|
|
</author>
|
|
<author>
|
|
<name>Dollibert</name>
|
|
<surname>Rach</surname>
|
|
</author>
|
|
</books>
|
|
]]]]>><![CDATA[
|
|
</sourcexml>
|
|
<encoding>utf-8</encoding>
|
|
<namespaceList>
|
|
<!--Zero or more repetitions:-->
|
|
<namespace>
|
|
<prefix></prefix>
|
|
<uri></uri>
|
|
</namespace>
|
|
</namespaceList>
|
|
<xpath>*/name[text()='Schwab']</xpath>
|
|
<!--Optional:-->
|
|
<xmldata><![CDATA[<name>Meyer</name><age>45</age><!--edited here-->]]]]>><![CDATA[</xmldata>
|
|
</ws:replaceNodes>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:credentials><con:username>admin</con:username><con:password/><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/XmlService/replaceNodes"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project> |