You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by aj...@apache.org on 2007/03/09 13:26:56 UTC

svn commit: r516386 - in /incubator/tuscany/cpp/sca: ./ samples/PythonWeatherForecast/sample.weather/ samples/RestYahoo/sample.yahoo/

Author: ajborley
Date: Fri Mar  9 04:26:55 2007
New Revision: 516386

URL: http://svn.apache.org/viewvc?view=rev&rev=516386
Log:
Final final doc updates + minor PythonWeatherForecast & RestYahoo sample updates

Modified:
    incubator/tuscany/cpp/sca/INSTALL
    incubator/tuscany/cpp/sca/README
    incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/WeatherForecast.wsdl
    incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/sample.weather.composite
    incubator/tuscany/cpp/sca/samples/RestYahoo/sample.yahoo/YahooWebSearchResponse.xsd

Modified: incubator/tuscany/cpp/sca/INSTALL
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/INSTALL?view=diff&rev=516386&r1=516385&r2=516386
==============================================================================
--- incubator/tuscany/cpp/sca/INSTALL (original)
+++ incubator/tuscany/cpp/sca/INSTALL Fri Mar  9 04:26:55 2007
@@ -1,2 +1,2 @@
 Please read the GettingStarted.html document for information on 
-building and installing Tuscany SCA for C++
+building and installing Tuscany SCA Native

Modified: incubator/tuscany/cpp/sca/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/README?view=diff&rev=516386&r1=516385&r2=516386
==============================================================================
--- incubator/tuscany/cpp/sca/README (original)
+++ incubator/tuscany/cpp/sca/README Fri Mar  9 04:26:55 2007
@@ -1,5 +1,5 @@
-Apache Tuscany C++ M2 build (October, 2006)
-===========================================
+Apache Tuscany SCA Native M3 build (March, 2007)
+================================================
 
 http://incubator.apache.org/tuscany
 
@@ -34,20 +34,20 @@
 The specifications can be found at
 http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications 
 
-It is possible to interoperate with Tuscany SCA Java via the Web Service bindings
-for services and references but restrictions apply. This is not yet a complete
-implementation and known restrictions are described below.
+It is possible to interoperate with Tuscany SCA Java via the Web Service 
+bindings for services and references but restrictions apply. This is not yet a 
+complete implementation and known restrictions are described below.
 
 Supported SCA Assembly Model features
-  *  All features are supported unless listed under the known restrictions
-     below. See SCA Assembly Model specification.
+  * All features are supported unless listed under the known restrictions
+    below. See SCA Assembly Model specification.
 
 Supported language bindings
   * Component implementations written in C++. See the SCA C++ Client and 
     Implementation Model specification.
-  * Component implementations written in Python. See the doc/PythonExtension.html 
-    documentation.
-  * Component implementations written in Python. See the doc/RubyExtension.html 
+  * Component implementations written in Python. See the 
+    doc/PythonExtension.html documentation.
+  * Component implementations written in Ruby. See the doc/RubyExtension.html 
     documentation.
   * Component interfaces described by C++ classes. See SCA Client and
     Implementation Model specification.
@@ -56,6 +56,11 @@
   * The web service binding is supported. This implementation will support
     web services which using document literal SOAP bindings conforming to the
     WS-I basic profile (rpc/encoded is not yet supported).
+  * A REST binding is supported. This implementation supports HTTP calls using
+    a resource or RPC pattern depending on the use of a REST interface. See the
+    doc/RESTExtension.html documentation.
+  * A SCA binding is supported. This implementation uses the web services 
+    binding to provide the "default" binding.
 
 Known restrictions
   * Local service interfaces cannot use overloaded operations (the SCA
@@ -66,7 +71,11 @@
   * No load time validation of the deployed SCA application (run time 
     validation only).
   * No metadata API. 
-
+  * Components implemented in Python and Ruby are restricted to passing
+    simple types and language-specific XML objects as parameters and return
+    values.
+  * Composites that use the Web Services, REST and SCA bindings are restricted 
+    to transporting simple types and XML.
 
 
 Thank you for using Tuscany!

Modified: incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/WeatherForecast.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/WeatherForecast.wsdl?view=diff&rev=516386&r1=516385&r2=516386
==============================================================================
--- incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/WeatherForecast.wsdl (original)
+++ incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/WeatherForecast.wsdl Fri Mar  9 04:26:55 2007
@@ -1,210 +1,133 @@
 <?xml version="1.0" encoding="utf-8"?>
-<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.webservicex.net" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.webservicex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-  <wsdl:types>
-    <s:schema elementFormDefault="qualified" targetNamespace="http://www.webservicex.net">
-      <s:element name="GetWeatherByZipCode">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="GetWeatherByZipCodeResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="GetWeatherByZipCodeResult" type="tns:WeatherForecasts" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:complexType name="WeatherForecasts">
-        <s:sequence>
-          <s:element minOccurs="1" maxOccurs="1" name="Latitude" type="s:float" />
-          <s:element minOccurs="1" maxOccurs="1" name="Longitude" type="s:float" />
-          <s:element minOccurs="1" maxOccurs="1" name="AllocationFactor" type="s:float" />
-          <s:element minOccurs="0" maxOccurs="1" name="FipsCode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="PlaceName" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="StateCode" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="Details" type="tns:ArrayOfWeatherData" />
-        </s:sequence>
-      </s:complexType>
-      <s:complexType name="ArrayOfWeatherData">
-        <s:sequence>
-          <s:element minOccurs="0" maxOccurs="unbounded" name="WeatherData" type="tns:WeatherData" />
-        </s:sequence>
-      </s:complexType>
-      <s:complexType name="WeatherData">
-        <s:sequence>
-          <s:element minOccurs="0" maxOccurs="1" name="Day" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="WeatherImage" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MaxTemperatureF" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MinTemperatureF" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MaxTemperatureC" type="s:string" />
-          <s:element minOccurs="0" maxOccurs="1" name="MinTemperatureC" type="s:string" />
-        </s:sequence>
-      </s:complexType>
-      <s:element name="GetWeatherByPlaceName">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="PlaceName" type="s:string" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="GetWeatherByPlaceNameResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="1" maxOccurs="1" name="GetWeatherByPlaceNameResult" type="tns:WeatherForecasts" />
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="WeatherForecasts" type="tns:WeatherForecasts" />
-    </s:schema>
-  </wsdl:types>
-  <wsdl:message name="GetWeatherByZipCodeSoapIn">
-    <wsdl:part name="parameters" element="tns:GetWeatherByZipCode" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByZipCodeSoapOut">
-    <wsdl:part name="parameters" element="tns:GetWeatherByZipCodeResponse" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByPlaceNameSoapIn">
-    <wsdl:part name="parameters" element="tns:GetWeatherByPlaceName" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByPlaceNameSoapOut">
-    <wsdl:part name="parameters" element="tns:GetWeatherByPlaceNameResponse" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByZipCodeHttpGetIn">
-    <wsdl:part name="ZipCode" type="s:string" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByZipCodeHttpGetOut">
-    <wsdl:part name="Body" element="tns:WeatherForecasts" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByPlaceNameHttpGetIn">
-    <wsdl:part name="PlaceName" type="s:string" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByPlaceNameHttpGetOut">
-    <wsdl:part name="Body" element="tns:WeatherForecasts" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByZipCodeHttpPostIn">
-    <wsdl:part name="ZipCode" type="s:string" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByZipCodeHttpPostOut">
-    <wsdl:part name="Body" element="tns:WeatherForecasts" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByPlaceNameHttpPostIn">
-    <wsdl:part name="PlaceName" type="s:string" />
-  </wsdl:message>
-  <wsdl:message name="GetWeatherByPlaceNameHttpPostOut">
-    <wsdl:part name="Body" element="tns:WeatherForecasts" />
-  </wsdl:message>
-  <wsdl:portType name="WeatherForecastSoap">
-    <wsdl:operation name="GetWeatherByZipCode">
-      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get one week weather forecast for a valid Zip Code(USA)</documentation>
-      <wsdl:input message="tns:GetWeatherByZipCodeSoapIn" />
-      <wsdl:output message="tns:GetWeatherByZipCodeSoapOut" />
-    </wsdl:operation>
-    <wsdl:operation name="GetWeatherByPlaceName">
-      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get one week  weather forecast for a place name(USA)</documentation>
-      <wsdl:input message="tns:GetWeatherByPlaceNameSoapIn" />
-      <wsdl:output message="tns:GetWeatherByPlaceNameSoapOut" />
-    </wsdl:operation>
-  </wsdl:portType>
-  <wsdl:portType name="WeatherForecastHttpGet">
-    <wsdl:operation name="GetWeatherByZipCode">
-      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get one week weather forecast for a valid Zip Code(USA)</documentation>
-      <wsdl:input message="tns:GetWeatherByZipCodeHttpGetIn" />
-      <wsdl:output message="tns:GetWeatherByZipCodeHttpGetOut" />
-    </wsdl:operation>
-    <wsdl:operation name="GetWeatherByPlaceName">
-      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get one week  weather forecast for a place name(USA)</documentation>
-      <wsdl:input message="tns:GetWeatherByPlaceNameHttpGetIn" />
-      <wsdl:output message="tns:GetWeatherByPlaceNameHttpGetOut" />
-    </wsdl:operation>
-  </wsdl:portType>
-  <wsdl:portType name="WeatherForecastHttpPost">
-    <wsdl:operation name="GetWeatherByZipCode">
-      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get one week weather forecast for a valid Zip Code(USA)</documentation>
-      <wsdl:input message="tns:GetWeatherByZipCodeHttpPostIn" />
-      <wsdl:output message="tns:GetWeatherByZipCodeHttpPostOut" />
-    </wsdl:operation>
-    <wsdl:operation name="GetWeatherByPlaceName">
-      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get one week  weather forecast for a place name(USA)</documentation>
-      <wsdl:input message="tns:GetWeatherByPlaceNameHttpPostIn" />
-      <wsdl:output message="tns:GetWeatherByPlaceNameHttpPostOut" />
-    </wsdl:operation>
-  </wsdl:portType>
-  <wsdl:binding name="WeatherForecastSoap" type="tns:WeatherForecastSoap">
-    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-    <wsdl:operation name="GetWeatherByZipCode">
-      <soap:operation soapAction="http://www.webservicex.net/GetWeatherByZipCode" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="GetWeatherByPlaceName">
-      <soap:operation soapAction="http://www.webservicex.net/GetWeatherByPlaceName" 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="WeatherForecastHttpGet" type="tns:WeatherForecastHttpGet">
-    <http:binding verb="GET" />
-    <wsdl:operation name="GetWeatherByZipCode">
-      <http:operation location="/GetWeatherByZipCode" />
-      <wsdl:input>
-        <http:urlEncoded />
-      </wsdl:input>
-      <wsdl:output>
-        <mime:mimeXml part="Body" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="GetWeatherByPlaceName">
-      <http:operation location="/GetWeatherByPlaceName" />
-      <wsdl:input>
-        <http:urlEncoded />
-      </wsdl:input>
-      <wsdl:output>
-        <mime:mimeXml part="Body" />
-      </wsdl:output>
-    </wsdl:operation>
-  </wsdl:binding>
-  <wsdl:binding name="WeatherForecastHttpPost" type="tns:WeatherForecastHttpPost">
-    <http:binding verb="POST" />
-    <wsdl:operation name="GetWeatherByZipCode">
-      <http:operation location="/GetWeatherByZipCode" />
-      <wsdl:input>
-        <mime:content type="application/x-www-form-urlencoded" />
-      </wsdl:input>
-      <wsdl:output>
-        <mime:mimeXml part="Body" />
-      </wsdl:output>
-    </wsdl:operation>
-    <wsdl:operation name="GetWeatherByPlaceName">
-      <http:operation location="/GetWeatherByPlaceName" />
-      <wsdl:input>
-        <mime:content type="application/x-www-form-urlencoded" />
-      </wsdl:input>
-      <wsdl:output>
-        <mime:mimeXml part="Body" />
-      </wsdl:output>
-    </wsdl:operation>
-  </wsdl:binding>
-  <wsdl:service name="WeatherForecast">
-    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get one week weather forecast for valid zip code or Place name in USA</documentation>
-    <wsdl:port name="WeatherForecastSoap" binding="tns:WeatherForecastSoap">
-      <soap:address location="http://www.webservicex.net/WeatherForecast.asmx" />
-    </wsdl:port>
-    <wsdl:port name="WeatherForecastHttpGet" binding="tns:WeatherForecastHttpGet">
-      <http:address location="http://www.webservicex.net/WeatherForecast.asmx" />
-    </wsdl:port>
-    <wsdl:port name="WeatherForecastHttpPost" binding="tns:WeatherForecastHttpPost">
-      <http:address location="http://www.webservicex.net/WeatherForecast.asmx" />
-    </wsdl:port>
-  </wsdl:service>
+<!--
+   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:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+                  xmlns:tns="http://www.webservicex.net"
+                  targetNamespace="http://www.webservicex.net"
+                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+   <wsdl:types>
+      <xsd:schema elementFormDefault="qualified" targetNamespace="http://www.webservicex.net">
+         <xsd:element name="GetWeatherByZipCode">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element minOccurs="0" maxOccurs="1" name="ZipCode" type="xsd:string" />
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+         <xsd:element name="GetWeatherByZipCodeResponse">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element minOccurs="1" maxOccurs="1" name="GetWeatherByZipCodeResult" type="tns:WeatherForecasts" />
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+         <xsd:complexType name="WeatherForecasts">
+            <xsd:sequence>
+               <xsd:element minOccurs="1" maxOccurs="1" name="Latitude" type="xsd:float" />
+               <xsd:element minOccurs="1" maxOccurs="1" name="Longitude" type="xsd:float" />
+               <xsd:element minOccurs="1" maxOccurs="1" name="AllocationFactor" type="xsd:float" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="FipsCode" type="xsd:string" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="PlaceName" type="xsd:string" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="StateCode" type="xsd:string" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="Status" type="xsd:string" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="Details" type="tns:ArrayOfWeatherData" />
+            </xsd:sequence>
+         </xsd:complexType>
+         <xsd:complexType name="ArrayOfWeatherData">
+            <xsd:sequence>
+               <xsd:element minOccurs="0" maxOccurs="unbounded" name="WeatherData" type="tns:WeatherData" />
+            </xsd:sequence>
+         </xsd:complexType>
+         <xsd:complexType name="WeatherData">
+            <xsd:sequence>
+               <xsd:element minOccurs="0" maxOccurs="1" name="Day" type="xsd:string" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="WeatherImage" type="xsd:string" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="MaxTemperatureF" type="xsd:string" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="MinTemperatureF" type="xsd:string" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="MaxTemperatureC" type="xsd:string" />
+               <xsd:element minOccurs="0" maxOccurs="1" name="MinTemperatureC" type="xsd:string" />
+            </xsd:sequence>
+         </xsd:complexType>
+         <xsd:element name="GetWeatherByPlaceName">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element minOccurs="0" maxOccurs="1" name="PlaceName" type="xsd:string" />
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+         <xsd:element name="GetWeatherByPlaceNameResponse">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element minOccurs="1" maxOccurs="1" name="GetWeatherByPlaceNameResult" type="tns:WeatherForecasts" />
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+         <xsd:element name="WeatherForecasts" type="tns:WeatherForecasts" />
+      </xsd:schema>
+   </wsdl:types>
+   <wsdl:message name="GetWeatherByZipCodeRequest">
+      <wsdl:part name="parameters" element="tns:GetWeatherByZipCode" />
+   </wsdl:message>
+   <wsdl:message name="GetWeatherByZipCodeResponse">
+      <wsdl:part name="parameters" element="tns:GetWeatherByZipCodeResponse" />
+   </wsdl:message>
+   <wsdl:message name="GetWeatherByPlaceNameRequest">
+      <wsdl:part name="parameters" element="tns:GetWeatherByPlaceName" />
+   </wsdl:message>
+   <wsdl:message name="GetWeatherByPlaceNameResponse">
+      <wsdl:part name="parameters" element="tns:GetWeatherByPlaceNameResponse" />
+   </wsdl:message>
+   <wsdl:portType name="WeatherForecastPortType">
+      <wsdl:operation name="GetWeatherByZipCode">
+         <wsdl:input message="tns:GetWeatherByZipCodeRequest" />
+         <wsdl:output message="tns:GetWeatherByZipCodeResponse" />
+      </wsdl:operation>
+      <wsdl:operation name="GetWeatherByPlaceName">
+         <wsdl:input message="tns:GetWeatherByPlaceNameRequest" />
+         <wsdl:output message="tns:GetWeatherByPlaceNameResponse" />
+      </wsdl:operation>
+   </wsdl:portType>
+   <wsdl:binding name="WeatherForecastSoapBinding" type="tns:WeatherForecastPortType">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+      <wsdl:operation name="GetWeatherByZipCode">
+         <soap:operation soapAction="http://www.webservicex.net/GetWeatherByZipCode" style="document" />
+         <wsdl:input>
+            <soap:body use="literal" />
+         </wsdl:input>
+         <wsdl:output>
+            <soap:body use="literal" />
+         </wsdl:output>
+      </wsdl:operation>
+      <wsdl:operation name="GetWeatherByPlaceName">
+         <soap:operation soapAction="http://www.webservicex.net/GetWeatherByPlaceName" style="document" />
+         <wsdl:input>
+            <soap:body use="literal" />
+         </wsdl:input>
+         <wsdl:output>
+            <soap:body use="literal" />
+         </wsdl:output>
+      </wsdl:operation>
+   </wsdl:binding>
+   <wsdl:service name="WeatherForecast">
+      <wsdl:port name="WeatherForecastPort" binding="tns:WeatherForecastSoapBinding">
+         <soap:address location="http://www.webservicex.net/WeatherForecast.asmx" />
+      </wsdl:port>
+   </wsdl:service>
 </wsdl:definitions>

Modified: incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/sample.weather.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/sample.weather.composite?view=diff&rev=516386&r1=516385&r2=516386
==============================================================================
--- incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/sample.weather.composite (original)
+++ incubator/tuscany/cpp/sca/samples/PythonWeatherForecast/sample.weather/sample.weather.composite Fri Mar  9 04:26:55 2007
@@ -28,8 +28,8 @@
 	</component>
 
     <reference name="WeatherService">
-        <interface.wsdl interface="http://www.webservicex.net#wsdl.interface(WeatherForecastSoap)"/>
-        <binding.ws endpoint="http://www.webservicex.net#wsdl.endpoint(WeatherForecast/WeatherForecastSoap)"/>
+        <interface.wsdl interface="http://www.webservicex.net#wsdl.interface(WeatherForecastPortType)"/>
+        <binding.ws endpoint="http://www.webservicex.net#wsdl.endpoint(WeatherForecast/WeatherForecastPort)"/>
         <!--binding.ws uri="http://www.webservicex.net/WeatherForecast.asmx"/-->
     </reference>
 

Modified: incubator/tuscany/cpp/sca/samples/RestYahoo/sample.yahoo/YahooWebSearchResponse.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RestYahoo/sample.yahoo/YahooWebSearchResponse.xsd?view=diff&rev=516386&r1=516385&r2=516386
==============================================================================
--- incubator/tuscany/cpp/sca/samples/RestYahoo/sample.yahoo/YahooWebSearchResponse.xsd (original)
+++ incubator/tuscany/cpp/sca/samples/RestYahoo/sample.yahoo/YahooWebSearchResponse.xsd Fri Mar  9 04:26:55 2007
@@ -1,38 +1,47 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-  targetNamespace="urn:yahoo:srch"
-  xmlns="urn:yahoo:srch"
-  elementFormDefault="qualified">
+<?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.
+-->
 
-	<xs:element name="ResultSet">
-		<xs:complexType>
-			<xs:sequence>
-				<xs:element name="Result" type="ResultType" minOccurs="0" maxOccurs="100" />
-			</xs:sequence>
-			<xs:attribute name="totalResultsAvailable" type="xs:integer" />
-			<xs:attribute name="totalResultsReturned" type="xs:integer" />
-			<xs:attribute name="firstResultPosition" type="xs:integer" />
-		</xs:complexType>
-	</xs:element>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+            targetNamespace="urn:yahoo:srch"
+            xmlns="urn:yahoo:srch"
+            elementFormDefault="qualified">
 
-	<xs:complexType name="ResultType">
-		<xs:sequence>
-			<xs:element name="Title" type="xs:string" />
-			<xs:element name="Summary" type="xs:string" />
-			<xs:element name="Url" type="xs:string" />
-			<xs:element name="ClickUrl" type="xs:string" />
-			<xs:element name="ModificationDate" type="xs:string" minOccurs="0" />
-			<xs:element name="MimeType" type="xs:string" minOccurs="0" />
-			<xs:element name="Cache" type="CacheType" minOccurs="0" />
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="CacheType">
-		<xs:sequence>
-			<xs:element name="Url" type="xs:string" />
-			<xs:element name="Size" type="xs:string" />
-		</xs:sequence>
-	</xs:complexType>
+  <xsd:element name="ResultSet">
+    <xsd:complexType>
+      <xsd:sequence>
+        <xsd:element name="Result" type="ResultType" minOccurs="0" maxOccurs="100" />
+      </xsd:sequence>
+      <xsd:attribute name="totalResultsAvailable" type="xsd:integer" />
+      <xsd:attribute name="totalResultsReturned" type="xsd:integer" />
+      <xsd:attribute name="firstResultPosition" type="xsd:integer" />
+    </xsd:complexType>
+  </xsd:element>
+
+  <xsd:complexType name="ResultType">
+    <xsd:sequence>
+      <xsd:element name="Title" type="xsd:string" />
+      <xsd:element name="Summary" type="xsd:string" />
+      <xsd:element name="Url" type="xsd:string" />
+      <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
+    </xsd:sequence>
+  </xsd:complexType>	
+
+</xsd:schema>
 
-</xs:schema>
-<!-- ws01.search.re2.yahoo.com compressed/chunked Wed Jan  3 06:46:11 PST 2007 -->



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org