<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:org:mindswap:services:PharmacyLocator" xmlns:impl="urn:org:mindswap:services:PharmacyLocator-impl" xmlns:intf="urn:org:mindswap:services:PharmacyLocator" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns1="urn:org:mindswap:services" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
 <wsdl:types>
  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:org:mindswap:services">
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="Pharmacy">
    <sequence>
     <element name="name" nillable="true" type="soapenc:string"/>
     <element name="address" nillable="true" type="tns1:Address"/>
    </sequence>
   </complexType>
   <complexType name="Address">
    <sequence>
     <element name="street" nillable="true" type="soapenc:string"/>
     <element name="city" nillable="true" type="soapenc:string"/>
     <element name="state" nillable="true" type="soapenc:string"/>
     <element name="zipCode" nillable="true" type="soapenc:string"/>
    </sequence>
   </complexType>
   <element name="Pharmacy" nillable="true" type="tns1:Pharmacy"/>
  </schema>
 </wsdl:types>

   <wsdl:message name="findPharmacyRequest">

      <wsdl:part name="in0" type="soapenc:string"/>

      <wsdl:part name="in1" type="soapenc:string"/>

   </wsdl:message>

   <wsdl:message name="findPharmacyResponse">

      <wsdl:part name="return" type="tns1:Pharmacy"/>

   </wsdl:message>

   <wsdl:portType name="PharmacyLocator">

      <wsdl:operation name="findPharmacy" parameterOrder="in0 in1">

         <wsdl:input name="findPharmacyRequest" message="intf:findPharmacyRequest"/>

         <wsdl:output name="findPharmacyResponse" message="intf:findPharmacyResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="rpcrouterSoapBinding" type="intf:PharmacyLocator">

      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="findPharmacy">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="findPharmacyRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:org:mindswap:services:PharmacyLocator"/>

         </wsdl:input>

         <wsdl:output name="findPharmacyResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:org:mindswap:services:PharmacyLocator"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="PharmacyLocatorService">

      <wsdl:port name="rpcrouter" binding="intf:rpcrouterSoapBinding">

         <wsdlsoap:address location="http://www.mindswap.org:8080/soap/servlet/rpcrouter"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>
