Subversion Repositories XServices

Rev

Rev 89 | Rev 94 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 92
Line 32... Line 32...
32
      <xs:element name="copyResponse" type="tns:copyResponse"/>
32
      <xs:element name="copyResponse" type="tns:copyResponse"/>
33
      <xs:element name="downloadFile" type="tns:downloadFile"/>
33
      <xs:element name="downloadFile" type="tns:downloadFile"/>
34
      <xs:element name="downloadFileResponse" type="tns:downloadFileResponse"/>
34
      <xs:element name="downloadFileResponse" type="tns:downloadFileResponse"/>
35
      <xs:element name="echoToFile" type="tns:echoToFile"/>
35
      <xs:element name="echoToFile" type="tns:echoToFile"/>
36
      <xs:element name="echoToFileResponse" type="tns:echoToFileResponse"/>
36
      <xs:element name="echoToFileResponse" type="tns:echoToFileResponse"/>
-
 
37
      <xs:element name="encodeFile" type="tns:encodeFile"/>
-
 
38
      <xs:element name="encodeFileResponse" type="tns:encodeFileResponse"/>
37
      <xs:element name="loadResource" type="tns:loadResource"/>
39
      <xs:element name="loadResource" type="tns:loadResource"/>
38
      <xs:element name="loadResourceFromArchive" type="tns:loadResourceFromArchive"/>
40
      <xs:element name="loadResourceFromArchive" type="tns:loadResourceFromArchive"/>
39
      <xs:element name="loadResourceFromArchiveResponse" type="tns:loadResourceFromArchiveResponse"/>
41
      <xs:element name="loadResourceFromArchiveResponse" type="tns:loadResourceFromArchiveResponse"/>
40
      <xs:element name="loadResourceResponse" type="tns:loadResourceResponse"/>
42
      <xs:element name="loadResourceResponse" type="tns:loadResourceResponse"/>
41
      <xs:element name="replaceInFile" type="tns:replaceInFile"/>
43
      <xs:element name="replaceInFile" type="tns:replaceInFile"/>
Line 67... Line 69...
67
        <xs:sequence>
69
        <xs:sequence>
68
          <xs:element minOccurs="0" name="content" ns1:expectedContentTypes="application/octet-stream" type="xs:base64Binary" xmlns:ns1="http://www.w3.org/2005/05/xmlmime"/>
70
          <xs:element minOccurs="0" name="content" ns1:expectedContentTypes="application/octet-stream" type="xs:base64Binary" xmlns:ns1="http://www.w3.org/2005/05/xmlmime"/>
69
          <xs:element minOccurs="0" name="filename" type="xs:string"/>
71
          <xs:element minOccurs="0" name="filename" type="xs:string"/>
70
        </xs:sequence>
72
        </xs:sequence>
71
      </xs:complexType>
73
      </xs:complexType>
-
 
74
      <xs:complexType name="encodeFile">
-
 
75
        <xs:sequence>
-
 
76
          <xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
-
 
77
        </xs:sequence>
-
 
78
      </xs:complexType>
-
 
79
      <xs:complexType name="encodeFileResponse">
-
 
80
        <xs:sequence>
-
 
81
          <xs:element minOccurs="0" name="return" type="xs:base64Binary"/>
-
 
82
        </xs:sequence>
-
 
83
      </xs:complexType>
72
      <xs:complexType name="replaceInFileRegEx">
84
      <xs:complexType name="replaceInFileRegEx">
73
        <xs:sequence>
85
        <xs:sequence>
74
          <xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
86
          <xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
75
          <xs:element minOccurs="0" name="search" type="xs:string"/>
87
          <xs:element minOccurs="0" name="search" type="xs:string"/>
76
          <xs:element minOccurs="0" name="replace" type="xs:string"/>
88
          <xs:element minOccurs="0" name="replace" type="xs:string"/>
Line 359... Line 371...
359
    <wsdl:part element="tns:copyResponse" name="parameters"></wsdl:part>
371
    <wsdl:part element="tns:copyResponse" name="parameters"></wsdl:part>
360
  </wsdl:message>
372
  </wsdl:message>
361
  <wsdl:message name="basename">
373
  <wsdl:message name="basename">
362
    <wsdl:part element="tns:basename" name="parameters"></wsdl:part>
374
    <wsdl:part element="tns:basename" name="parameters"></wsdl:part>
363
  </wsdl:message>
375
  </wsdl:message>
-
 
376
  <wsdl:message name="encodeFile">
-
 
377
    <wsdl:part element="tns:encodeFile" name="parameters"></wsdl:part>
-
 
378
  </wsdl:message>
364
  <wsdl:message name="uploadFile">
379
  <wsdl:message name="uploadFile">
365
    <wsdl:part element="tns:uploadFile" name="parameters"></wsdl:part>
380
    <wsdl:part element="tns:uploadFile" name="parameters"></wsdl:part>
366
  </wsdl:message>
381
  </wsdl:message>
367
  <wsdl:message name="uploadFileResponse">
382
  <wsdl:message name="uploadFileResponse">
368
    <wsdl:part element="tns:uploadFileResponse" name="parameters"></wsdl:part>
383
    <wsdl:part element="tns:uploadFileResponse" name="parameters"></wsdl:part>
Line 383... Line 398...
383
    <wsdl:part element="tns:echoToFileResponse" name="parameters"></wsdl:part>
398
    <wsdl:part element="tns:echoToFileResponse" name="parameters"></wsdl:part>
384
  </wsdl:message>
399
  </wsdl:message>
385
  <wsdl:message name="replaceInFileRegExResponse">
400
  <wsdl:message name="replaceInFileRegExResponse">
386
    <wsdl:part element="tns:replaceInFileRegExResponse" name="parameters"></wsdl:part>
401
    <wsdl:part element="tns:replaceInFileRegExResponse" name="parameters"></wsdl:part>
387
  </wsdl:message>
402
  </wsdl:message>
-
 
403
  <wsdl:message name="encodeFileResponse">
-
 
404
    <wsdl:part element="tns:encodeFileResponse" name="parameters"></wsdl:part>
-
 
405
  </wsdl:message>
388
  <wsdl:message name="replaceInFileResponse">
406
  <wsdl:message name="replaceInFileResponse">
389
    <wsdl:part element="tns:replaceInFileResponse" name="parameters"></wsdl:part>
407
    <wsdl:part element="tns:replaceInFileResponse" name="parameters"></wsdl:part>
390
  </wsdl:message>
408
  </wsdl:message>
391
  <wsdl:message name="copyFileResponse">
409
  <wsdl:message name="copyFileResponse">
392
    <wsdl:part element="tns:copyFileResponse" name="parameters"></wsdl:part>
410
    <wsdl:part element="tns:copyFileResponse" name="parameters"></wsdl:part>
393
  </wsdl:message>
411
  </wsdl:message>
394
  <wsdl:message name="echoToFile">
-
 
395
    <wsdl:part element="tns:echoToFile" name="parameters"></wsdl:part>
-
 
396
  </wsdl:message>
-
 
397
  <wsdl:message name="basenameResponse">
412
  <wsdl:message name="basenameResponse">
398
    <wsdl:part element="tns:basenameResponse" name="parameters"></wsdl:part>
413
    <wsdl:part element="tns:basenameResponse" name="parameters"></wsdl:part>
399
  </wsdl:message>
414
  </wsdl:message>
-
 
415
  <wsdl:message name="echoToFile">
-
 
416
    <wsdl:part element="tns:echoToFile" name="parameters"></wsdl:part>
-
 
417
  </wsdl:message>
400
  <wsdl:message name="copyFile">
418
  <wsdl:message name="copyFile">
401
    <wsdl:part element="tns:copyFile" name="parameters"></wsdl:part>
419
    <wsdl:part element="tns:copyFile" name="parameters"></wsdl:part>
402
  </wsdl:message>
420
  </wsdl:message>
403
  <wsdl:portType name="FileService">
421
  <wsdl:portType name="FileService">
404
    <wsdl:operation name="downloadFile">
422
    <wsdl:operation name="downloadFile">
405
      <wsdl:documentation>Download a file from the maschine where the service is running in order to process it with the client. The file is either downloaded as a MTOM attachment or as inline base64 encoded block. Keep in mind that unless you are using MTOM, a lot of java heap memory is used.</wsdl:documentation>
423
      <wsdl:documentation>Download a file from the maschine where the service is running in order to process it with the client. The file is either downloaded as a MTOM attachment or as inline base64 encoded block. Keep in mind that unless you are using MTOM, a lot of java heap memory is used.</wsdl:documentation>
406
      <wsdl:input message="tns:downloadFile" name="downloadFile"></wsdl:input>
424
      <wsdl:input message="tns:downloadFile" name="downloadFile"></wsdl:input>
407
      <wsdl:output message="tns:downloadFileResponse" name="downloadFileResponse"></wsdl:output>
425
      <wsdl:output message="tns:downloadFileResponse" name="downloadFileResponse"></wsdl:output>
408
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
426
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
409
    </wsdl:operation>
427
    </wsdl:operation>
-
 
428
    <wsdl:operation name="encodeFile">
-
 
429
      <wsdl:documentation>Encodes a file.</wsdl:documentation>
-
 
430
      <wsdl:input message="tns:encodeFile" name="encodeFile"></wsdl:input>
-
 
431
      <wsdl:output message="tns:encodeFileResponse" name="encodeFileResponse"></wsdl:output>
-
 
432
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
-
 
433
    </wsdl:operation>
410
    <wsdl:operation name="replaceInFileRegEx">
434
    <wsdl:operation name="replaceInFileRegEx">
411
      <wsdl:documentation>Replaces every &lt;regex pattern> with a string in an ascii file</wsdl:documentation>
435
      <wsdl:documentation>Replaces every &lt;regex pattern> with a string in an ascii file</wsdl:documentation>
412
      <wsdl:input message="tns:replaceInFileRegEx" name="replaceInFileRegEx"></wsdl:input>
436
      <wsdl:input message="tns:replaceInFileRegEx" name="replaceInFileRegEx"></wsdl:input>
413
      <wsdl:output message="tns:replaceInFileRegExResponse" name="replaceInFileRegExResponse"></wsdl:output>
437
      <wsdl:output message="tns:replaceInFileRegExResponse" name="replaceInFileRegExResponse"></wsdl:output>
414
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
438
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
Line 491... Line 515...
491
      </wsdl:output>
515
      </wsdl:output>
492
      <wsdl:fault name="XServicesFault">
516
      <wsdl:fault name="XServicesFault">
493
        <soap:fault name="XServicesFault" use="literal"/>
517
        <soap:fault name="XServicesFault" use="literal"/>
494
      </wsdl:fault>
518
      </wsdl:fault>
495
    </wsdl:operation>
519
    </wsdl:operation>
-
 
520
    <wsdl:operation name="encodeFile">
-
 
521
      <soap:operation soapAction="" style="document"/>
-
 
522
      <wsdl:input name="encodeFile">
-
 
523
        <soap:body use="literal"/>
-
 
524
      </wsdl:input>
-
 
525
      <wsdl:output name="encodeFileResponse">
-
 
526
        <soap:body use="literal"/>
-
 
527
      </wsdl:output>
-
 
528
      <wsdl:fault name="XServicesFault">
-
 
529
        <soap:fault name="XServicesFault" use="literal"/>
-
 
530
      </wsdl:fault>
-
 
531
    </wsdl:operation>
496
    <wsdl:operation name="changeMode">
532
    <wsdl:operation name="changeMode">
497
      <soap:operation soapAction="" style="document"/>
533
      <soap:operation soapAction="" style="document"/>
498
      <wsdl:input name="changeMode">
534
      <wsdl:input name="changeMode">
499
        <soap:body use="literal"/>
535
        <soap:body use="literal"/>
500
      </wsdl:input>
536
      </wsdl:input>
Line 789... Line 825...
789
   <soapenv:Body>
825
   <soapenv:Body>
790
<!-- downloads a file from the XServices server as base64 encoded -->
826
<!-- downloads a file from the XServices server as base64 encoded -->
791
      <ws:downloadFile>
827
      <ws:downloadFile>
792
         <file>
828
         <file>
793
            <type>FILE</type>
829
            <type>FILE</type>
794
            <uri>c:\temp\test.docx</uri>
830
            <uri>c:/temp/test.docx</uri>
795
         </file>
831
         </file>
796
      </ws:downloadFile>
832
      </ws:downloadFile>
797
   </soapenv:Body>
833
   </soapenv:Body>
798
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/downloadFile"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="echoToFile" bindingOperationName="echoToFile" type="Request-Response" outputName="echoToFileResponse" inputName="echoToFile" 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/FileService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
834
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/downloadFile"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="echoToFile" bindingOperationName="echoToFile" type="Request-Response" outputName="echoToFileResponse" inputName="echoToFile" 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/FileService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
799
   <soapenv:Header/>
835
   <soapenv:Header/>
800
   <soapenv:Body>
836
   <soapenv:Body>
801
      <ws:echoToFile>
837
      <ws:echoToFile>
802
         <message>Here is some text with german umlauts (äöü).</message>
838
         <message>Here is some text with german umlauts (äöü).</message>
-
 
839
         <!-- File _must_ exist in advance -->
803
         <file>c:/temp/somefile.txt</file>
840
	 <file>c:/temp/somefile.txt</file>
804
         <!--Optional:-->
-
 
805
         <encoding>utf-8</encoding>
841
         <encoding>utf-8</encoding>
806
         <append>false</append>
842
         <append>hallo</append>
807
      </ws:echoToFile>
843
      </ws:echoToFile>
808
   </soapenv:Body>
844
   </soapenv:Body>
809
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/echoToFile"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="loadResource" bindingOperationName="loadResource" type="Request-Response" outputName="loadResourceResponse" inputName="loadResource" 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/FileService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
845
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/echoToFile"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="loadResource" bindingOperationName="loadResource" type="Request-Response" outputName="loadResourceResponse" inputName="loadResource" 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/FileService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
810
   <soapenv:Header/>
846
   <soapenv:Header/>
811
   <soapenv:Body>
847
   <soapenv:Body>
Line 885... Line 921...
885
            <!--Optional:-->
921
            <!--Optional:-->
886
            <filename>?</filename>
922
            <filename>?</filename>
887
         </file>
923
         </file>
888
      </ws:uploadFile>
924
      </ws:uploadFile>
889
   </soapenv:Body>
925
   </soapenv:Body>
890
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/uploadFile"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/><con:sensitiveInformation/></con:soapui-project>
-
 
891
 
926
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/uploadFile"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="encodeFile" bindingOperationName="encodeFile" type="Request-Response" outputName="encodeFileResponse" inputName="encodeFile" 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/FileService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
-
 
927
   <soapenv:Header/>
-
 
928
   <soapenv:Body>
-
 
929
      <ws:encodeFile>
-
 
930
         <!--Optional:-->
-
 
931
         <file>
-
 
932
            <type>FILE</type>
-
 
933
            <uri>c:\temp\test.docx</uri>
-
 
934
         </file>
-
 
935
      </ws:encodeFile>
-
 
936
   </soapenv:Body>
-
 
937
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/encodeFile"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/><con:sensitiveInformation/></con:soapui-project>
-
 
938
 
892
Generated by GNU Enscript 1.6.5.90.
939
Generated by GNU Enscript 1.6.5.90.