1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
6  This code is free software; you can redistribute it and/or modify it
7  under the terms of the GNU General Public License version 2 only, as
8  published by the Free Software Foundation.
9
10  This code is distributed in the hope that it will be useful, but WITHOUT
11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13  version 2 for more details (a copy is included in the LICENSE file that
14  accompanied this code).
15
16  You should have received a copy of the GNU General Public License version
17  2 along with this work; if not, write to the Free Software Foundation,
18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19
20  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21  or visit www.oracle.com if you need additional information or have any
22  questions.
23-->
24<definitions name="W2JDLAnnotations"
25             targetNamespace="http://w2jdlannotations.org/wsdl"
26             xmlns:tns="http://w2jdlannotations.org/wsdl"
27             xmlns="http://schemas.xmlsoap.org/wsdl/"
28             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
29             xmlns:types="http://w2jdlannotations.org/types"
30             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
31
32    <types>
33        <xsd:schema targetNamespace="http://w2jdlannotations.org/types" attributeFormDefault="qualified"
34                    elementFormDefault="qualified">
35            <xsd:element name="OneWayStringElement">
36                <xsd:complexType>
37                    <xsd:sequence>
38                        <xsd:element name="argument" type="xsd:string"/>
39                    </xsd:sequence>
40                </xsd:complexType>
41            </xsd:element>
42        </xsd:schema>
43    </types>
44
45    <message name="oneway">
46        <part name="varString" element="types:OneWayStringElement"/>
47    </message>
48    <portType name="W2JDLAnnotationsEndpoint">
49        <operation name="onewayOperation">
50            <input message="tns:oneway"/>
51        </operation>
52    </portType>
53    <binding name="W2JDLAnnotationsEndpointBinding" type="tns:W2JDLAnnotationsEndpoint">
54        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
55        <operation name="onewayOperation">
56            <soap:operation soapAction=""/>
57            <input>
58                <soap:body use="literal"/>
59            </input>
60        </operation>
61    </binding>
62    <service name="W2JDLAnnotations">
63        <port name="W2JDLAnnotationsEndpointPort" binding="tns:W2JDLAnnotationsEndpointBinding">
64            <soap:address location="http://foo:9999/bar"/>
65        </port>
66    </service>
67</definitions>
68