summaryrefslogtreecommitdiffstats
path: root/sca-cpp/branches/cpp-contrib/contrib/runtime/core/test/wsdlTests/wsdls_erroneous/missing_name_for_part.wsdl
blob: 4e927e222f202c4ae36c667643c5f1aa23d389c1 (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
<definitions
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://www.tuscany.com/tests/duplicate_services.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    targetNamespace="http://www.tuscany.com/tests/duplicate_services.wsdl"
    name="duplicate_services">

  <message name="request">
<!-- this is the correct form
    <part name="zipcode" type="xsd:string"/>
-->
    <part type="xsd:string"/>
  </message>
  <message name="response">
    <part name="host" type="xsd:string"/>
    <part name="port" type="xsd:string"/>
  </message>
  <portType name="portType">
    <!-- Request/response -->
    <operation name="test">
      <input message="tns:request"/>
      <output message="tns:response"/>
    </operation>
  </portType>
  <binding name="binding" type="tns:portType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="test">
      <soap:operation soapAction="http://www.tuscany.com/test/duplicate_services"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="service">
    <port name="port" binding="tns:binding">
      <soap:address location="http://localhost/sca/tests"/>
    </port>
  </service>
</definitions>