Author: rfeng
Date: Tue Nov 6 16:17:00 2007
New Revision: 592591
URL: http://svn.apache.org/viewvc?rev=592591&view=rev
Log:
Fix issues discovered in RC4
Added:
incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/README
Removed:
incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/src/main/resources/wsdl/StockQuotes.wsdl
incubator/tuscany/branches/sca-java-1.0.1/samples/helloworld-ws-reference-jms/
Modified:
incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/build.xml
incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/CHANGES
incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/bin/LICENSE
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/README
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/build.xml
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/pom.xml
incubator/tuscany/branches/sca-java-1.0.1/samples/simple-callback-ws/README
Added: incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/README?rev=592591&view=auto
==============================================================================
--- incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/README (added)
+++ incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/README Tue Nov
6 16:17:00 2007
@@ -0,0 +1,48 @@
+XML BigBank Demo
+================
+
+This demo showcases the integration with XML technolgies in the service
assembly.
+
+Note: To build the project with maven or other IDEs, please download the WSDL
from http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx?WSDL
and save the file as src/main/resources/wsdl/StockQuotes.wsdl.
+
+Note: The live stock quote web service is not always running. Sometimes empty
response is returned and the stock value is 0.
+
+To run the demo, type "ant run" and it will produce the following output.
+
+Buildfile: build.xml
+
+init:
+ [get] Getting:
http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx?WSDL
+ [get] To:
C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\src\main\resources\wsdl\StockQuotes.wsdl
+ [get] local file date : Tue Nov 06 15:50:37 PST 2007
+ [get] .
+ [get] last modified = Wed Dec 31 16:00:00 PST 1969 - using current time
instead
+ [mkdir] Created dir:
C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\target\classes
+
+compile:
+ [javac] Compiling 11 source files to
C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\target\classes
+ [copy] Copying 6 files to
C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\target\classes
+ [jar] Building jar:
C:\Apache\tuscany-sca-1.0.1-incubating\demos\xml-bigbank\target\demo-xml-bigbank.jar
+
+run:
+ [java] Nov 6, 2007 3:52:28 PM
org.apache.axis2.deployment.DeploymentEngine loadFromClassPath
+ [java] INFO: Module validation failed: The system is attempting to engage
a module that is not available: rampart
+ [java] Retrieving exchange rate...
+ [java] Nov 6, 2007 3:52:29 PM
org.apache.tuscany.sca.binding.feed.provider.RSSBindingInvoker invoke
+ [java] INFO: >>> RSSBindingInvoker (rss_2.0)
http://ansuz.sooke.bc.ca/rippy/exchange/?M=R&B=USD&F=CAD,CNY,EUR&T=F&S=O&I=S
+ [java] Exchange rate: USD 1.0=EUR 0.68705
+ [java] Loading account data...
+ [java] Getting stock quote...
+ [java] Nov 6, 2007 3:52:30 PM
org.apache.commons.httpclient.HttpMethodBase readResponse
+ [java] INFO: Discarding unexpected response: HTTP/1.1 100 Continue
+ [java] Calculating total value...
+ [java] Checking Balance: xs:double: 1000
+ [java] Saving Blance: xs:double: 20000
+ [java] Stock Value: xs:integer: 0
+ [java] Total Value [1]: xs:double: 21000
+ [java] Total Value=USD 21000.0
+ [java] EUR: 14428.050000000001
+
+BUILD SUCCESSFUL
+Total time: 7 seconds
+
Modified: incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/build.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/build.xml?rev=592591&r1=592590&r2=592591&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/build.xml
(original)
+++ incubator/tuscany/branches/sca-java-1.0.1/demos/xml-bigbank/build.xml Tue
Nov 6 16:17:00 2007
@@ -19,6 +19,10 @@
-->
<project name="demo-xml-bigbank" default="compile">
<target name="init">
+ <get
src="http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx?WSDL"
+ dest="src/main/resources/wsdl/StockQuotes.wsdl"
+ verbose="true"
+ usetimestamp="true"/>
<mkdir dir="target/classes"/>
</target>
Modified:
incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/CHANGES
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/CHANGES?rev=592591&r1=592590&r2=592591&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/CHANGES
(original)
+++
incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/CHANGES
Tue Nov 6 16:17:00 2007
@@ -3,7 +3,7 @@
The Tuscany SCA Java 1.0.1 is mainly a bug-fix release. It also comes with
some improvements as listed below.
-- Fix the following JIRA issues:
+- Fix the following JIRA issues (http://issues.apache.org/jira/browse/TUSCANY):
* TUSCANY-1848
* TUSCANY-1857
* TUSCANY-1859
Modified:
incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/bin/LICENSE
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/bin/LICENSE?rev=592591&r1=592590&r2=592591&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/bin/LICENSE
(original)
+++
incubator/tuscany/branches/sca-java-1.0.1/distribution/src/main/release/bin/LICENSE
Tue Nov 6 16:17:00 2007
@@ -323,7 +323,14 @@
spring-core-2.0.6.jar
stax-api-1.0.2.jar
tranql-connector-1.1.jar
- tuscany-sdo-api-r2.1-1.0-incubating.jar
+ The following files in tuscany-sdo-api-r2.1-1.0-incubating.jar
+ * commonj/sdo/impl/HelperProvider$1.class
+ * commonj/sdo/impl/HelperProvider$2.class
+ * commonj/sdo/impl/HelperProvider$DefaultHelperContext.class
+ * commonj/sdo/impl/HelperProvider.class
+ * commonj/sdo/impl/NoHelperProviderException.class
+
+
tuscany-sdo-impl-1.0-incubating.jar
tuscany-sdo-lib-1.0-incubating.jar
tuscany-sdo-tools-1.0-incubating.jar
@@ -2216,6 +2223,90 @@
No other rights are granted by implication, estoppel or otherwise.
================================================================================
+
+
+tuscany-sdo-api-r2.1-1.0-incubating.jar:
+
+The Tuscany SDO for Java release includes a number of subcomponents with
+separate copyright notices and license terms. Your use of the source
+code for the these subcomponents is subject to the terms and
+conditions of the following licenses.
+
+
+License for the Service Data Objects JavaDoc and Interface Definition files.
(tuscany-sdo-api-r2.1-${sdo.version}.jar)
+
+These files being ...
+commonj/sdo/ChangeSummary$Setting.class
+commonj/sdo/ChangeSummary.class
+commonj/sdo/DataGraph.class
+commonj/sdo/DataObject.class
+commonj/sdo/helper/CopyHelper.class
+commonj/sdo/helper/DataFactory.class
+commonj/sdo/helper/DataHelper.class
+commonj/sdo/helper/EqualityHelper.class
+commonj/sdo/helper/HelperContext.class
+commonj/sdo/helper/TypeHelper.class
+commonj/sdo/helper/XMLDocument.class
+commonj/sdo/helper/XMLHelper.class
+commonj/sdo/helper/XSDHelper.class
+commonj/sdo/impl/ExternalizableDelegator$Resolvable.class
+commonj/sdo/impl/ExternalizableDelegator.class
+commonj/sdo/Property.class
+commonj/sdo/Sequence.class
+commonj/sdo/Type.class
+xml/datagraph.xsd
+xml/sdoJava.xml
+xml/sdoJava.xsd
+xml/sdoModel.xml
+xml/sdoModel.xsd
+xml/sdoXML.xml
+xml/sdoXML.xsd
+
+
+License for the Service Data Objects JavaDoc and Interface Definition files.
+
+The Service Data Objects Specification is being provided by the copyright
holders under the following
+license. By using and/or copying this work, you agree that you have read,
understood and will comply with
+the following terms and conditions:
+
+Permission to copy, display and distribute the Service Data Objects
Specification and/or portions thereof, without
+modification, in any medium without fee or royalty is hereby granted, provided
that you include the
+following on ALL copies of the Service Data Objects Specification, or portions
thereof, that you make:
+
+1. A link or URL to the Service Data Objects Specification at this location:
+http://www.osoa.org/display/Main/Service+Data+Objects+Specifications
+
+2. The full text of this copyright notice as shown in the Service Data Objects
Specification.
+
+BEA, IBM, Oracle, Primeton Technologies, Rogue Wave Software, SAP, Software
AG, Sun Microsystems, Xcalia,
+Zend Technologies (collectively, the “Authors”) agree to grant you a
royalty-free license, under reasonable,
+non-discriminatory terms and conditions to patents that they deem necessary to
implement the Service Data
+Objects Specification.
+
+THE Service Data Objects SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS
MAKE NO REPRESENTATIONS OR
+WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE
IMPLEMENTATION OF ITS CONTENTS,
+INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE,
+NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT,
INDIRECT, SPECIAL, INCIDENTAL
+OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION
OF THE SERVICE DATA OBJECTS
+SPECIFICATION.
+
+The name and trademarks of the Authors may NOT be used in any manner,
including advertising or publicity
+pertaining to the Service Data Objects Specification or its contents without
specific, written prior
+permission. Title to copyright in the Service Data Objects Specification will
at all times remain with the
+Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+
+
+=================================================================================================================
+Note that the remaining files in the jar
tuscany-sdo-api-r2.1-1.0-incubating.jar ....
+commonj/sdo/impl/HelperProvider$1.class
+commonj/sdo/impl/HelperProvider$2.class
+commonj/sdo/impl/HelperProvider$DefaultHelperContext.class
+commonj/sdo/impl/HelperProvider.class
+commonj/sdo/impl/NoHelperProviderException.class
+
+are licensed by the Apache License Version 2.0, January 2004 as laid out above
Modified:
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/README?rev=592591&r1=592590&r2=592591&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/README
(original)
+++
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/README
Tue Nov 6 16:17:00 2007
@@ -12,9 +12,13 @@
ant run
-OR if you don't have ant, on Windows do
+OR if you don't have ant, on Windows do:
java -cp
..\..\lib\tuscany-sca-manifest.jar;target\sample-implementation-notification.jar
notification.TrafficAdvisoryClient
+
+On *nix do:
+java -cp
../../lib/tuscany-sca-manifest.jar:target/sample-implementation-notification.jar
notification.TrafficAdvisoryClient
+
OR you can also use Maven to test:
Modified:
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/build.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/build.xml?rev=592591&r1=592590&r2=592591&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/build.xml
(original)
+++
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/build.xml
Tue Nov 6 16:17:00 2007
@@ -18,7 +18,7 @@
-->
<project name="implementation-notification" default="compile">
<property name="test.class" value="notification.TrafficAdvisoryClient" />
- <property name="test.jar"
value="sample-implementation-notification-1.0.1-incubating-SNAPSHOT.jar" />
+ <property name="test.jar"
value="sample-implementation-notification.jar" />
<target name="init">
<mkdir dir="target/classes"/>
Modified:
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/pom.xml?rev=592591&r1=592590&r2=592591&view=diff
==============================================================================
---
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/pom.xml
(original)
+++
incubator/tuscany/branches/sca-java-1.0.1/samples/implementation-notification/pom.xml
Tue Nov 6 16:17:00 2007
@@ -60,6 +60,7 @@
</dependencies>
<build>
+ <finalName>${artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Modified:
incubator/tuscany/branches/sca-java-1.0.1/samples/simple-callback-ws/README
URL:
http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-1.0.1/samples/simple-callback-ws/README?rev=592591&r1=592590&r2=592591&view=diff
==============================================================================
--- incubator/tuscany/branches/sca-java-1.0.1/samples/simple-callback-ws/README
(original)
+++ incubator/tuscany/branches/sca-java-1.0.1/samples/simple-callback-ws/README
Tue Nov 6 16:17:00 2007
@@ -16,11 +16,11 @@
OR if you don't have ant, on Windows do
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-simple-callback.jar
simplecallback.SimpleCallbackClient
+java -cp
..\..\lib\tuscany-sca-manifest.jar;target\sample-simple-callback-ws.jar
simplecallback.SimpleCallbackClient
and on *nix do
-java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-simple-callback.jar
simplecallback.SimpleCallbackClient
+java -cp
../../lib/tuscany-sca-manifest.jar:target/sample-simple-callback-ws.jar
simplecallback.SimpleCallbackClient
Sample Overview
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]