Final WSDL 2.0 description.
[PFCLatex/.git] / source / mobiads.wsdl
diff --git a/source/mobiads.wsdl b/source/mobiads.wsdl
new file mode 100644 (file)
index 0000000..5ca9d76
--- /dev/null
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:description 
+    xmlns:wsdl="http://www.w3.org/ns/wsdl"
+    targetNamespace="http://users.mobiads.gumartinm.name/adslist/wsdl"
+    xmlns:tns="http://users.mobiads.gumartinm.name/adslist/wsdl"
+    xmlns:whttp="http://www.w3.org/ns/wsdl/http"
+    xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:msg="http://users.mobiads.gumartinm.name/adslist/xsd">
+    <wsdl:documentation>
+        This is a WSDL 2.0 description of a service which is intended to retrive
+        ads depending on the calling GPS coordinates.  
+    </wsdl:documentation>
+    <wsdl:types>
+        <xs:import namespace="http://users.mobiads.gumartinm.name/adslist/xsd" 
+            schemaLocation="booklist.xsd"/>
+    </wsdl:types>
+    <wsdl:interface name="GPSAdsInterface">
+        <wsdl:operation name="getAdsbyGPS"
+            pattern="http://www.w3.org/ns/wsdl/in-out"
+            wsdlx:safe="true">
+            <wsdl:documentation>
+                This operation returns a list of ads.
+            </wsdl:documentation>
+            <wsdl:input element="#none"/>
+            <wsdl:ouput element="msg:adsList"/>
+        </wsdl:operation>
+    </wsdl:interface>
+    <wsdl:binding name="GPSAdsHTTPBinding"
+        type="http://www.w3.org/ns/wsdl/http"
+        interface="tns:GPSAdsInterface">
+        <wsdl:documentation>
+            The RESTfull HTTP binding for the GPS Ads service.
+        </wsdl:documentation>
+        <wsdl:operation ref="tns:getAdsbyGPS" whttp:method="GET"/>
+    </wsd:binding>
+    <wsdl:service name="GPSAds" interface="tns:GPSAdsInterface">
+        <wsdl:documentation>
+            GPS Ads service: retrieve Ads by GPS coordinates.
+        </wsdl:documentation>
+        <wsdl:endpoint name="GPSAdsHTTPEndpoint"
+            binding="GPSAdsHTTPBinding"
+            address="http://users.mobiads.gumartinm.name/api/latitude/longitude/gpsads.json">
+        </wsdl:endpoint>
+    </wsdl:service>
+</wsdl:description>