<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Distribution License v. 1.0, which is available at
    http://www.eclipse.org/org/documents/edl-v10.php.

    SPDX-License-Identifier: BSD-3-Clause

-->

 <definitions
 xmlns="http://schemas.xmlsoap.org/wsdl/" 
 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="AudioStreamerService" targetNamespace="http://provider/" xmlns:tns="http://provider/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:fi="http://java.sun.com/xml/ns/wsit/2006/09/policy/fastinfoset/service" xmlns:tcp="http://java.sun.com/xml/ns/wsit/2006/09/policy/soaptcp/service" xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization" xmlns:wsp="http://www.w3.org/ns/ws-policy"
 >
    <message name="getWavStream"/>
    <message name="getWavStreamResponse"/>
    <message name="main"/>
    <message name="mainResponse"/>
    <portType name="AudioStreamer">
        <operation name="getWavStream">
            <input message="tns:getWavStream"/>
            <output message="tns:getWavStreamResponse"/>
        </operation>
        <operation name="main">
            <input message="tns:main"/>
            <output message="tns:mainResponse"/>
        </operation>
    </portType>
    <binding name="AudioStreamerPortBinding" type="tns:AudioStreamer">
        <wsp:PolicyReference URI="#AudioStreamerPortBindingPolicy"/>
        <operation name="getWavStream">
            <input/>
            <output/>
        </operation>
        <operation name="main">
            <input/>
            <output/>
        </operation>
    </binding>
    <service name="AudioStreamerService">
        <port name="AudioStreamerPort" binding="tns:AudioStreamerPortBinding"/>
    </service>
    <wsp:Policy wsu:Id="AudioStreamerPortBindingPolicy">
        <wsp:ExactlyOne>
            <wsp:All>
                <wsoma:OptimizedMimeSerialization/>
            </wsp:All>
        </wsp:ExactlyOne>
    </wsp:Policy>
</definitions>
