File: selectiveFileGen.wsdl

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (73 lines) | stat: -rw-r--r-- 2,692 bytes parent folder | download | duplicates (10)
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
<?xml version="1.0" ?>

<definitions 
    name="name selectivefilegen test"
    targetNamespace="urn:services.selectivefilegen.wsdl.test"
    xmlns:tns="urn:services.selectivefilegen.wsdl.test"
    xmlns:bean1="urn:bean1.selectivefilegen.wsdl.test"
    xmlns:bean2="urn:bean2.selectivefilegen.wsdl.test"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">

   <!-- types
        Define a couple of types in different namespaces to simulate importing
        types from different packages. Some, we'll want to generate code for
        and others we'll want to use use custom-generated types.
       -->
   <wsdl:types>
       <xsd:schema targetNamespace="urn:bean1.selectivefilegen.wsdl.test"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <xsd:complexType name="Bean1">
                <xsd:sequence>
                    <xsd:element name="domain" type="xsd:string"/>
                    <xsd:element name="service" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:schema>
       <xsd:schema targetNamespace="urn:bean2.selectivefilegen.wsdl.test"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <xsd:complexType name="Bean2">
                <xsd:sequence>
                    <xsd:element name="domain" type="xsd:string"/>
                    <xsd:element name="service" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:schema>
    </wsdl:types>
    
    <!-- Messages
    -->
    <wsdl:message name="BeanMessage">
        <wsdl:part name="b1" type="bean1:Bean1"/>
        <wsdl:part name="b2" type="bean2:Bean2"/>
    </wsdl:message>


    <!-- port types
        -->
    <wsdl:portType name="Reporter">
       <wsdl:operation name="sendBeans">
          <wsdl:input name="beanMessage" message="tns:BeanMessage"/>
       </wsdl:operation>
    </wsdl:portType>  
 
    <!-- bindings
        -->
    <wsdl:binding name="ReporterSoapBinding"
              type="tns:Reporter">
        <soap:binding style="rpc"
                          transport="http://schemas.xmlsoap.org/soap/http"/>

        <wsdl:operation name="sendBeans">
            <soap:operation soapAction=""/>
            <wsdl:input name="beanMessage">
                <soap:body use="literal"
                               namespace="urn:services.selectivefilegen.wsdl.test"/>
            </wsdl:input>
        </wsdl:operation>
    </wsdl:binding>

</definitions>