blob: 0d2c370d7ba7d7f22c56ccd9ba2288579841f3b5 [file] [log] [blame]
<?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 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:ns0="http://axis2.ode.apache.org/xsd"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:ns1="http://axis2.ode.apache.org"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:odex="http://www.apache.org/ode/type/extension/http"
targetNamespace="http://axis2.ode.apache.org">
<wsdl:message name="helloRequest">
<wsdl:part name="TestPart" type="xs:string"/>
</wsdl:message>
<wsdl:message name="helloResponse">
<wsdl:part name="TestPart" type="xs:string"/>
</wsdl:message>
<wsdl:portType name="DummyServicePortType">
<wsdl:operation name="hello">
<wsdl:input message="ns1:helloRequest" wsaw:Action="urn:hello"/>
<wsdl:output message="ns1:helloResponse" wsaw:Action="urn:helloResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="DummyServiceSOAP11Binding" type="ns1:DummyServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="hello">
<soap:operation soapAction="urn:hello" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="DummyServiceHttpBinding" type="ns1:DummyServicePortType">
<http:binding verb="POST"/>
<wsdl:operation name="hello">
<http:operation location="DummyService/hello"/>
<wsdl:input>
<mime:content type="text/xml" part="hello"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="hello"/>
<!-- dummy headers to test getHeaders() -->
<odex:header name="Age" part="age_part"/>
<odex:foo name="Age" part="age_part"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="DummyServiceHttpBinding_urlReplacement" type="ns1:DummyServicePortType">
<http:binding verb="POST"/>
<wsdl:operation name="hello">
<http:operation location="DummyService/hello/(part1)"/>
<wsdl:input>
<http:urlReplacement/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="hello"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="DummyServiceHttpBinding_urlEncoded" type="ns1:DummyServicePortType">
<http:binding verb="POST"/>
<wsdl:operation name="hello">
<http:operation location="DummyService/hello"/>
<wsdl:input>
<http:urlEncoded/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="hello"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="DummyServiceHttpBinding_form-urlencoded" type="ns1:DummyServicePortType">
<http:binding verb="POST"/>
<wsdl:operation name="hello">
<http:operation location="DummyService/hello"/>
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" part="hello"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="hello"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="DummyService">
<wsdl:port name="DummyServiceSOAP11port_http" binding="ns1:DummyServiceSOAP11Binding">
<soap:address location="http://localhost:8080/processes/DummyService"/>
</wsdl:port>
<wsdl:port name="DummyServiceHttpport" binding="ns1:DummyServiceHttpBinding">
<http:address location="http://localhost:8080/processes/DummyService"/>
</wsdl:port>
<wsdl:port name="DummyService_port_with_no_binding">
<http:address location="http://localhost:8080/processes/DummyService"/>
</wsdl:port>
<wsdl:port name="DummyService_port_with_empty_binding" binding="">
<http:address location="http://localhost:8080/processes/DummyService"/>
</wsdl:port>
<wsdl:port name="DummyServiceHttpport_urlEncoded" binding="ns1:DummyServiceHttpBinding_urlEncoded">
<http:address location="http://localhost:8080/processes/DummyService"/>
</wsdl:port>
<wsdl:port name="DummyServiceHttpport_urlReplacement" binding="ns1:DummyServiceHttpBinding_urlReplacement">
<http:address location="http://localhost:8080/processes/DummyService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>