summaryrefslogtreecommitdiffstats
path: root/axiom/test/resources/wsdl/Attachment1.wsdl
blob: 9c0a7158754cd29e6ca7d2d6f51faff08d0337c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 -->
<wsdl:definitions targetNamespace="http://attachment1" 
	xmlns:impl="http://attachment1" 
	xmlns:intf="http://attachment1" 
	xmlns:tns2="http://xml.apache.org/xml-soap" 
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
	xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
	xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 <wsdl:types>
  <schema elementFormDefault="qualified" 
	targetNamespace="http://attachment1" 
	xmlns="http://www.w3.org/2001/XMLSchema" 
	xmlns:impl="http://attachment1" 
	xmlns:intf="http://attachment1" 
	xmlns:tns2="http://xml.apache.org/xml-soap" 
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://xml.apache.org/xml-soap"/>
   <element name="put">
    <complexType>
     <sequence>
      <element name="arg1" type="tns2:Image"/>
      <element name="arg2" type="tns2:PlainText"/>
      <element name="arg3" type="tns2:Source"/>
      <element name="arg4" type="tns2:octet-stream"/>
      <element name="arg5" type="tns2:DataHandler"/>
      <!-- element name="arg6" type="tns2:MimeMultipart"/ -->
      <element name="arg7" nillable="true" type="tns2:DataHandler"/>
      <element name="arg8" nillable="true" type="tns2:DataHandler"/>
     </sequence>
    </complexType>
   </element>
   <element name="putResponse">
    <complexType>
     <sequence>
      <element name="putReturn" type="xsd:int"/>
     </sequence>
    </complexType>
   </element>
  </schema>
 </wsdl:types>

   <wsdl:message name="putRequest">
      <wsdl:part element="impl:put" name="parameters"/>
   </wsdl:message>
   <wsdl:message name="putResponse">
      <wsdl:part element="impl:putResponse" name="parameters"/>
   </wsdl:message>

   <wsdl:portType name="AttachmentBindingImpl">
      <wsdl:operation name="put">
         <wsdl:input message="impl:putRequest" name="putRequest"/>
         <wsdl:output message="impl:putResponse" name="putResponse"/>
      </wsdl:operation>
   </wsdl:portType>

   <wsdl:binding name="Attachment1SoapBinding" type="impl:AttachmentBindingImpl">
      <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="put">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input name="putRequest">
            <wsdlsoap:body use="literal"/>
         </wsdl:input>
         <wsdl:output name="putResponse">
            <wsdlsoap:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>

   <wsdl:service name="AttachmentBindingImplService">
      <wsdl:port binding="impl:Attachment1SoapBinding" name="Attachment1">
         <wsdlsoap:address location="http://localhost:9080/Attachment1/services/Attachment1"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>