diff options
Diffstat (limited to 'sca-cpp/branches/cpp-contrib/contrib/runtime/core/test/wsdlTests/wsdls_erroneous/duplicate_bindings.wsdl')
-rwxr-xr-x | sca-cpp/branches/cpp-contrib/contrib/runtime/core/test/wsdlTests/wsdls_erroneous/duplicate_bindings.wsdl | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/sca-cpp/branches/cpp-contrib/contrib/runtime/core/test/wsdlTests/wsdls_erroneous/duplicate_bindings.wsdl b/sca-cpp/branches/cpp-contrib/contrib/runtime/core/test/wsdlTests/wsdls_erroneous/duplicate_bindings.wsdl new file mode 100755 index 0000000000..39932da219 --- /dev/null +++ b/sca-cpp/branches/cpp-contrib/contrib/runtime/core/test/wsdlTests/wsdls_erroneous/duplicate_bindings.wsdl @@ -0,0 +1,77 @@ +<?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. +--> + +<definitions + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:tns="http://www.tuscany.com/tests/duplicate_services.wsdl" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://www.tuscany.com/tests/duplicate_services.wsdl" + name="duplicate_services"> + + <message name="request"> + <part name="zipcode" 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> + + <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> |