Subversion Repositories XServices

Rev

Rev 100 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
100 brianR 1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
3
  <wsdl:types>
4
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:xs="http://www.w3.org/2001/XMLSchema">
5
      <xs:element name="appendTo" type="tns:appendTo"/>
6
      <xs:element name="appendToResponse" type="tns:appendToResponse"/>
7
      <xs:element name="namespaceListType" type="tns:namespaceListType"/>
8
      <xs:element name="replaceNode" type="tns:replaceNode"/>
9
      <xs:element name="replaceNodeResponse" type="tns:replaceNodeResponse"/>
10
      <xs:complexType name="appendTo">
11
        <xs:sequence>
12
          <xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
13
          <xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
14
          <xs:element minOccurs="0" name="xpath" type="xs:string"/>
15
          <xs:element minOccurs="0" name="xmldata" type="xs:string"/>
16
        </xs:sequence>
17
      </xs:complexType>
18
      <xs:complexType name="FileResourceType">
19
        <xs:sequence>
20
          <xs:element default="FILE" name="type" type="tns:type"/>
21
          <xs:element name="uri" type="xs:string"/>
22
        </xs:sequence>
23
      </xs:complexType>
24
      <xs:complexType name="namespaceListType">
25
        <xs:sequence>
26
          <xs:element maxOccurs="unbounded" minOccurs="0" name="namespace" type="tns:namespaceType"/>
27
        </xs:sequence>
28
      </xs:complexType>
29
      <xs:complexType name="namespaceType">
30
        <xs:sequence>
31
          <xs:element minOccurs="0" name="prefix" type="xs:string"/>
32
          <xs:element minOccurs="0" name="uri" type="xs:string"/>
33
        </xs:sequence>
34
      </xs:complexType>
35
      <xs:complexType name="appendToResponse">
36
        <xs:sequence>
37
          <xs:element minOccurs="0" name="return" type="xs:string"/>
38
        </xs:sequence>
39
      </xs:complexType>
40
      <xs:complexType name="replaceNode">
41
        <xs:sequence>
42
          <xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
43
          <xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
44
          <xs:element minOccurs="0" name="xpath" type="xs:string"/>
45
          <xs:element minOccurs="0" name="xmldata" type="xs:string"/>
46
        </xs:sequence>
47
      </xs:complexType>
48
      <xs:complexType name="replaceNodeResponse">
49
        <xs:sequence>
50
          <xs:element minOccurs="0" name="return" type="xs:string"/>
51
        </xs:sequence>
52
      </xs:complexType>
53
      <xs:simpleType name="type">
54
        <xs:restriction base="xs:string">
55
          <xs:enumeration value="FILE"/>
56
          <xs:enumeration value="URL"/>
57
          <xs:enumeration value="GZIP"/>
58
          <xs:enumeration value="BZIP2"/>
59
        </xs:restriction>
60
      </xs:simpleType>
61
      <xs:complexType name="XServicesFault">
62
        <xs:sequence>
63
          <xs:element name="faultstring" nillable="true" type="xs:string"/>
64
          <xs:element name="username" nillable="true" type="xs:string"/>
65
          <xs:element name="homedir" nillable="true" type="xs:string"/>
66
          <xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
67
          <xs:element name="jvmruntime" nillable="true" type="xs:string"/>
68
        </xs:sequence>
69
      </xs:complexType>
70
      <xs:element name="XServicesFault" type="tns:XServicesFault"/>
71
    </xs:schema>
72
  </wsdl:types>
73
  <wsdl:message name="appendTo">
74
    <wsdl:part element="tns:appendTo" name="parameters"></wsdl:part>
75
  </wsdl:message>
76
  <wsdl:message name="replaceNodeResponse">
77
    <wsdl:part element="tns:replaceNodeResponse" name="parameters"></wsdl:part>
78
  </wsdl:message>
79
  <wsdl:message name="replaceNode">
80
    <wsdl:part element="tns:replaceNode" name="parameters"></wsdl:part>
81
  </wsdl:message>
82
  <wsdl:message name="appendToResponse">
83
    <wsdl:part element="tns:appendToResponse" name="parameters"></wsdl:part>
84
  </wsdl:message>
85
  <wsdl:message name="XServicesFault">
86
    <wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
87
  </wsdl:message>
88
  <wsdl:portType name="XmlService">
89
    <wsdl:operation name="appendTo">
90
      <wsdl:documentation>Appends an XML node to all elements matched by the Xpath expression.</wsdl:documentation>
91
      <wsdl:input message="tns:appendTo" name="appendTo"></wsdl:input>
92
      <wsdl:output message="tns:appendToResponse" name="appendToResponse"></wsdl:output>
93
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
94
    </wsdl:operation>
95
    <wsdl:operation name="replaceNode">
96
      <wsdl:documentation>Replace an XML node matched by the Xpath expression.</wsdl:documentation>
97
      <wsdl:input message="tns:replaceNode" name="replaceNode"></wsdl:input>
98
      <wsdl:output message="tns:replaceNodeResponse" name="replaceNodeResponse"></wsdl:output>
99
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
100
    </wsdl:operation>
101
  </wsdl:portType>
102
  <wsdl:binding name="XmlServiceSoapBinding" type="tns:XmlService">
103
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
104
    <wsdl:operation name="appendTo">
105
      <soap:operation soapAction="" style="document"/>
106
      <wsdl:input name="appendTo">
107
        <soap:body use="literal"/>
108
      </wsdl:input>
109
      <wsdl:output name="appendToResponse">
110
        <soap:body use="literal"/>
111
      </wsdl:output>
112
      <wsdl:fault name="XServicesFault">
113
        <soap:fault name="XServicesFault" use="literal"/>
114
      </wsdl:fault>
115
    </wsdl:operation>
116
    <wsdl:operation name="replaceNode">
117
      <soap:operation soapAction="" style="document"/>
118
      <wsdl:input name="replaceNode">
119
        <soap:body use="literal"/>
120
      </wsdl:input>
121
      <wsdl:output name="replaceNodeResponse">
122
        <soap:body use="literal"/>
123
      </wsdl:output>
124
      <wsdl:fault name="XServicesFault">
125
        <soap:fault name="XServicesFault" use="literal"/>
126
      </wsdl:fault>
127
    </wsdl:operation>
128
  </wsdl:binding>
129
  <wsdl:service name="XmlService">
130
    <wsdl:port binding="tns:XmlServiceSoapBinding" name="XmlServiceImplPort">
131
      <soap:address location="http://localhost:8080/XServices/XmlService"/>
132
    </wsdl:port>
133
  </wsdl:service>
134
</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">
135
   <soapenv:Header/>
136
   <soapenv:Body>
137
      <ws:appendTo>
138
         <file>
139
            <type>FILE</type>
140
            <uri>c:/TEMP/test-the-best.chr</uri>
141
         </file>
142
         <namespaceList>
143
         	<!-- in order to use xpath you must define namespace correctly.
144
         		If there is only a default Namespace defined, it must be specified
145
         		as well. Note that the "null" namespace and "" namespaces are treated
146
         		different.
147
         	-->
148
         	  <!--Zero or more repetitions:-->
149
            <namespace>
150
               <prefix>zz</prefix>
151
               <uri/>
152
            </namespace>
153
         </namespaceList>
154
         <!--
155
         		Search for <document><property></property></document>
156
         	-->
157
         <xpath>/zz:document/zz:property</xpath>
158
         <!--
159
         		The XML to append into the matched element.
160
         		You must specify a valid XML fragment.
161
         	-->
162
         <xmldata><![CDATA[ <blub id="some_attr">Viel Neues</blub>text1<blubber/>text2]]]]>><![CDATA[</xmldata>
163
      </ws:appendTo>
164
   </soapenv:Body>
165
</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">
166
   <soapenv:Header/>
167
   <soapenv:Body>
168
      <ws:replaceNode>
169
         <!--Optional:-->
170
         <file>
171
            <type>FILE</type>
172
            <uri>c:/TEMP/test-the-best.chr</uri>
173
         </file>
174
         <!--Optional:-->
175
         <namespaceList>
176
            <!--Zero or more repetitions:-->
177
            <namespace>
178
               <!--Optional:-->
179
               <prefix>zz</prefix>
180
               <!--Optional:-->
181
               <uri></uri>
182
            </namespace>
183
         </namespaceList>
184
         <!--Optional:-->
185
         <xpath>/zz:document/zz:property[@name="current_problem"]</xpath>
186
         <!--Optional:-->
187
         <xmldata><![CDATA[ <blub>Viel Neues</blub>Auch &lt; text]]]]>><![CDATA[</xmldata>
188
      </ws:replaceNode>
189
   </soapenv:Body>
190
</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>