You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ri...@apache.org on 2006/08/15 22:34:27 UTC
svn commit: r431695 - in /incubator/tuscany/java/samples/sca/helloworldws:
./ src/main/java/helloworld/ src/main/java/helloworldOM/
src/main/resources/wsdl/ src/main/webapp/META-INF/sca/
Author: rineholt
Date: Tue Aug 15 13:34:27 2006
New Revision: 431695
URL: http://svn.apache.org/viewvc?rev=431695&view=rev
Log:
helloworld OMElement version
Added:
incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/
- copied from r431565, incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworld/
incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworldOM.wsdl
- copied, changed from r431565, incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworld.wsdl
Removed:
incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworld/
incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworld.wsdl
Modified:
incubator/tuscany/java/samples/sca/helloworldws/pom.xml
incubator/tuscany/java/samples/sca/helloworldws/readme.htm
incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldImpl.java
incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldService.java
incubator/tuscany/java/samples/sca/helloworldws/src/main/webapp/META-INF/sca/default.scdl
Modified: incubator/tuscany/java/samples/sca/helloworldws/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldws/pom.xml?rev=431695&r1=431694&r2=431695&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldws/pom.xml (original)
+++ incubator/tuscany/java/samples/sca/helloworldws/pom.xml Tue Aug 15 13:34:27 2006
@@ -24,10 +24,10 @@
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>sample-helloworldws</artifactId>
+ <artifactId>sample-helloworldwsOM</artifactId>
<packaging>war</packaging>
- <name>Tuscany HelloWorld Web Service Sample</name>
- <description>A sample HelloWorld Web Service.</description>
+ <name>Tuscany HelloWorld Web Service Sample OM</name>
+ <description>A sample HelloWorld Web Service OM.</description>
<properties>
<ws.type>axis2</ws.type>
@@ -43,7 +43,6 @@
<scope>provided</scope>
-->
</dependency>
-
<dependency>
<groupId>org.apache.tuscany</groupId>
<artifactId>core</artifactId>
@@ -64,8 +63,6 @@
<scope>provided</scope>
-->
</dependency>
-
-
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -74,4 +71,4 @@
</dependency>
</dependencies>
-</project>
+</project>
\ No newline at end of file
Modified: incubator/tuscany/java/samples/sca/helloworldws/readme.htm
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldws/readme.htm?rev=431695&r1=431694&r2=431695&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldws/readme.htm (original)
+++ incubator/tuscany/java/samples/sca/helloworldws/readme.htm Tue Aug 15 13:34:27 2006
@@ -27,7 +27,7 @@
<h3>Code Overview</h3>
The source files are physically organized as shown below:<br>
<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><tbody><tr><td>
-<pre>+---main<br> +---resources<br> ¦ ¦ sca.module<br> ¦ ¦<br> ¦ +---wsdl<br> ¦ helloworld.wsdl<br> ¦<br> +---webapp<br> +---WEB-INF<br> web.xml<br></pre></td></tr></tbody></table>
+<pre>+---main<br> +---resources<br> ¦ ¦ sca.module<br> ¦ ¦<br> ¦ +---wsdl<br> ¦ helloworldOM.wsdl<br> ¦<br> +---webapp<br> +---WEB-INF<br> web.xml<br></pre></td></tr></tbody></table>
<br><br><table style="text-align: left; width: 100%; height: 154px;" border="0" cellpadding="2" cellspacing="2"><tbody>
<tr><td style="vertical-align: top; height: 62px;">sca.module</td>
<td style="height: 62px;">Defines the SCA module,
@@ -37,12 +37,12 @@
by the service, and wires the service to
the HelloWorldServiceComponent</td>
</tr><tr>
-<td>helloworld.wsdl</td>
+<td>helloworldOM.wsdl</td>
<td>WSDL for the service.</td>
</tr><tr><td>web.xml</td>
<td>Standard J2EE web application's web.xml</td>
</tr></tbody></table>
<p>You may have noticed that there is no Java source for this
components implementation. There reason is this sample reuses
-the code from the helloworld sample to implement the service.
+the code from the helloworldOM sample to implement the service.
</p></body></html>
Modified: incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldImpl.java?rev=431695&r1=431565&r2=431695&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldImpl.java (original)
+++ incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldImpl.java Tue Aug 15 13:34:27 2006
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package helloworld;
+package helloworldOM;
import org.osoa.sca.annotations.Service;
Modified: incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldService.java?rev=431695&r1=431565&r2=431695&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldService.java (original)
+++ incubator/tuscany/java/samples/sca/helloworldws/src/main/java/helloworldOM/HelloWorldService.java Tue Aug 15 13:34:27 2006
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package helloworld;
+package helloworldOM;
/**
* This is the business interface of the HelloWorld greetings service.
Copied: incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworldOM.wsdl (from r431565, incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworld.wsdl)
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworldOM.wsdl?p2=incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworldOM.wsdl&p1=incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworld.wsdl&r1=431565&r2=431695&rev=431695&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworld.wsdl (original)
+++ incubator/tuscany/java/samples/sca/helloworldws/src/main/resources/wsdl/helloworldOM.wsdl Tue Aug 15 13:34:27 2006
@@ -17,11 +17,11 @@
* specific language governing permissions and limitations
* under the License.
-->
-<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
+<wsdl:definitions targetNamespace="http://helloworldOM" xmlns:tns="http://helloworldOM" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ name="helloworldOM">
<wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
+ <schema elementFormDefault="qualified" targetNamespace="http://helloworldOM" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="getGreetings">
<complexType>
Modified: incubator/tuscany/java/samples/sca/helloworldws/src/main/webapp/META-INF/sca/default.scdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldws/src/main/webapp/META-INF/sca/default.scdl?rev=431695&r1=431694&r2=431695&view=diff
==============================================================================
--- incubator/tuscany/java/samples/sca/helloworldws/src/main/webapp/META-INF/sca/default.scdl (original)
+++ incubator/tuscany/java/samples/sca/helloworldws/src/main/webapp/META-INF/sca/default.scdl Tue Aug 15 13:34:27 2006
@@ -20,22 +20,22 @@
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" name="helloworldws">
<service name="HelloWorldWebService" target="http:///foo">
- <!-- interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/ -->
- <interface.java interface="helloworld.HelloWorldService"/>
+ <!-- interface.wsdl interface="http://helloworldOM#wsdl.interface(HelloWorld)"/ -->
+ <interface.java interface="helloworldOM.HelloWorldService"/>
<!--FIXME the location attribute is a really bad hack here! does not follow to spec at all
-->
- <binding.ws endpoint="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
+ <binding.ws endpoint="http://helloworldOM#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"
conformanceURIs="http://ws-i.org/profiles/basic/1.1"
- location="wsdl/helloworld.wsdl"
+ location="wsdl/helloworldOM.wsdl"
/>
<reference>HelloWorldServiceComponent</reference>
</service>
<component name="HelloWorldServiceComponent">
- <implementation.java class="helloworld.HelloWorldImpl"/>
+ <implementation.java class="helloworldOM.HelloWorldImpl"/>
</component>
</composite>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org