Updated XmlServices documentation

git-svn-id: https://brutex.net/svn/xservices/trunk@161 e7e49efb-446e-492e-b9ec-fcafc1997a86
xservices-jre6
Brian Rosenberger 2014-06-16 06:10:23 +00:00
parent ce3aa9d3b4
commit 3032a6bf23
6 changed files with 465 additions and 140 deletions

View File

@ -7,7 +7,9 @@
Its WSDL is located at
http://server:port/XServices/XmlService?wsdl</para>
<xi:include href="./insertNodes.xml" />
<xi:include href="./insertNodes2.xml" />
<xi:include href="./replaceNodes.xml" />
<xi:include href="./replaceNodes2.xml" />
<xi:include href="./selectXPath.xml" />
<xi:include href="./setAttribute.xml" />
<xi:include href="./wrapInCDATA.xml" />

View File

@ -0,0 +1,19 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
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>

View File

@ -1,59 +0,0 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title> ...
</title>
<para>Description here</para>
<section>
<title>&inp;
</title>
<para />
<table frame="all">
<title>Input parameters
</title>
<tgroup cols="4">
<colspec colnum="1" colname="parameter" />
<colspec colnum="2" colname="type" />
<colspec colnum="3" colname="required" />
<colspec colnum="4" colname="description" />
<thead>
<row>
<entry>parameter</entry>
<entry>type</entry>
<entry>required</entry>
<entry>description</entry>
</row>
</thead>
<tbody>
<row>
<entry>host</entry>
<entry>HostConnection</entry>
<entry>Yes</entry>
<entry>
Host where to execute the command. See
<link linkend='hostconnection'>HostConnection</link>
.
</entry>
</row>
<row>
<entry>command</entry>
<entry>String</entry>
<entry>No</entry>
<entry>Any command including arguments</entry>
</row>
&param-timeout;
</tbody>
</tgroup>
</table>
<para />
</section>
<section>
<title>&outp;
</title>
<xi:include href="../types/ReturnCode.xml" />
</section>
</section>

View File

@ -0,0 +1,19 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
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>

View File

@ -2,4 +2,12 @@
pre.programlisting {
background-color: #FFFF99 ;
border: 1px solid #006600 ;
}
/*Section headings*/
div.chapter div.titlepage h2 {
font-size: 180%;
font-family: Helvetica;
font-weight: Bold;
color: #444444
}

View File

@ -1,17 +1,27 @@
<?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: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 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="appendTo" type="tns:appendTo"/>
<xs:element name="appendToResponse" type="tns:appendToResponse"/>
<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="replaceNode" type="tns:replaceNode"/>
<xs:element name="replaceNodeResponse" type="tns:replaceNodeResponse"/>
<xs:complexType name="appendTo">
<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 minOccurs="0" name="xpath" type="xs:string"/>
<xs:element name="xpath" type="xs:string"/>
<xs:element minOccurs="0" name="xmldata" type="xs:string"/>
</xs:sequence>
</xs:complexType>
@ -23,29 +33,106 @@
</xs:complexType>
<xs:complexType name="namespaceListType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="namespace" type="tns:namespaceType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="namespace" type="tns:namespace"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="namespaceType">
<xs:complexType name="namespace">
<xs:sequence>
<xs:element minOccurs="0" name="prefix" type="xs:string"/>
<xs:element minOccurs="0" name="uri" type="xs:string"/>
<xs:element name="prefix" type="xs:string"/>
<xs:element name="uri" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="appendToResponse">
<xs:complexType name="replaceNodes2Response">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="replaceNode">
<xs:complexType name="insertNodes">
<xs:sequence>
<xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
<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 minOccurs="0" name="xpath" type="xs:string"/>
<xs:element name="xpath" type="xs:string"/>
<xs:element minOccurs="0" name="xmldata" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="replaceNodeResponse">
<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>
@ -58,6 +145,7 @@
<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"/>
@ -67,58 +155,177 @@
<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="appendTo">
<wsdl:part element="tns:appendTo" name="parameters"></wsdl:part>
<wsdl:message name="insertNodes2Response">
<wsdl:part element="tns:insertNodes2Response" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="replaceNodeResponse">
<wsdl:part element="tns:replaceNodeResponse" name="parameters"></wsdl:part>
<wsdl:message name="replaceNodes2Response">
<wsdl:part element="tns:replaceNodes2Response" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="replaceNode">
<wsdl:part element="tns:replaceNode" name="parameters"></wsdl:part>
<wsdl:message name="replaceNodes">
<wsdl:part element="tns:replaceNodes" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="appendToResponse">
<wsdl:part element="tns:appendToResponse" name="parameters"></wsdl:part>
<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="appendTo">
<wsdl:documentation>Appends an XML node to all elements matched by the Xpath expression.</wsdl:documentation>
<wsdl:input message="tns:appendTo" name="appendTo"></wsdl:input>
<wsdl:output message="tns:appendToResponse" name="appendToResponse"></wsdl:output>
<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="replaceNode">
<wsdl:documentation>Replace an XML node matched by the Xpath expression.</wsdl:documentation>
<wsdl:input message="tns:replaceNode" name="replaceNode"></wsdl:input>
<wsdl:output message="tns:replaceNodeResponse" name="replaceNodeResponse"></wsdl:output>
<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="appendTo">
<wsdl:operation name="replaceNodes2">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="appendTo">
<wsdl:input name="replaceNodes2">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="appendToResponse">
<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="replaceNode">
<wsdl:operation name="insertNodes">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="replaceNode">
<wsdl:input name="insertNodes">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="replaceNodeResponse">
<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">
@ -131,60 +338,189 @@
<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="appendTo" bindingOperationName="appendTo" type="Request-Response" outputName="appendToResponse" inputName="appendTo" 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/XmlService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
</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:appendTo>
<file>
<type>FILE</type>
<uri>c:/TEMP/test-the-best.chr</uri>
</file>
<namespaceList>
<!-- in order to use xpath you must define namespace correctly.
If there is only a default Namespace defined, it must be specified
as well. Note that the "null" namespace and "" namespaces are treated
different.
-->
<!--Zero or more repetitions:-->
<namespace>
<prefix>zz</prefix>
<uri/>
</namespace>
</namespaceList>
<!--
Search for <document><property></property></document>
-->
<xpath>/zz:document/zz:property</xpath>
<!--
The XML to append into the matched element.
You must specify a valid XML fragment.
-->
<xmldata><![CDATA[ <blub id="some_attr">Viel Neues</blub>text1<blubber/>text2]]]]>><![CDATA[</xmldata>
</ws:appendTo>
</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/appendTo"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="replaceNode" bindingOperationName="replaceNode" type="Request-Response" outputName="replaceNodeResponse" inputName="replaceNode" 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/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:replaceNode>
<ws:replaceNodes2>
<!--Optional:-->
<file>
<type>FILE</type>
<uri>c:/TEMP/test-the-best.chr</uri>
<uri>?</uri>
</file>
<!--Optional:-->
<namespaceList>
<!--Zero or more repetitions:-->
<namespace>
<!--Optional:-->
<prefix>zz</prefix>
<!--Optional:-->
<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">&lt;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:-->
<xpath>/zz:document/zz:property[@name="current_problem"]</xpath>
<!--Optional:-->
<xmldata><![CDATA[ <blub>Viel Neues</blub>Auch &lt; text]]]]>><![CDATA[</xmldata>
</ws:replaceNode>
<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/replaceNode"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project>
</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">&lt;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">&lt;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 &lt;xml&gt; 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">&lt;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>