Author: rfeng
Date: Thu Oct  5 17:26:43 2006
New Revision: 453437

URL: http://svn.apache.org/viewvc?view=rev&rev=453437
Log:
Remove async-related stuff which is spinned off to another sample

Removed:
    
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldCallback.java
    
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldLocal.java
    
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/resources/META-INF/sca/helloworldws.scdl
    
incubator/tuscany/java/samples/sca/helloworldwsclient/src/test/java/helloworld/HelloWorldWSAsyncClient.java
Modified:
    
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldService.java
    
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldServiceComponent.java
    
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/resources/wsdl/helloworld.wsdl

Modified: 
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldService.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldService.java?view=diff&rev=453437&r1=453436&r2=453437
==============================================================================
--- 
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldService.java
 (original)
+++ 
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldService.java
 Thu Oct  5 17:26:43 2006
@@ -19,7 +19,6 @@
 package helloworld;
 
 import org.apache.tuscany.api.annotation.DataType;
-import org.osoa.sca.annotations.Callback;
 import org.osoa.sca.annotations.Remotable;
 import org.osoa.sca.annotations.Service;
 
@@ -27,12 +26,10 @@
 
 @Remotable
 @Service
[EMAIL PROTECTED](HelloWorldCallback.class)
 public interface HelloWorldService {
-
     public String getGreetings(String name);
+
     @DataType(name="commonj.sdo.DataObject")
     public String getGreetings1(DataObject name);
 
-    public void getGreetingsWithCallback(String name);
 }

Modified: 
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldServiceComponent.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldServiceComponent.java?view=diff&rev=453437&r1=453436&r2=453437
==============================================================================
--- 
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldServiceComponent.java
 (original)
+++ 
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/java/helloworld/HelloWorldServiceComponent.java
 Thu Oct  5 17:26:43 2006
@@ -30,7 +30,7 @@
 
 
 @Scope("MODULE")
-public class HelloWorldServiceComponent implements HelloWorldLocal {
+public class HelloWorldServiceComponent implements HelloWorldService {
    
     HelloWorldService helloWorldService;
 
@@ -50,10 +50,5 @@
     public String getGreetings1(DataObject name) {
         return helloWorldService.getGreetings1(name);
     }
-    
-    public void getGreetingsCallback(String getGreetingsReturn) {
-        System.out.println("Callback: " + getGreetingsReturn);
-    }
 
-    
-}
+}
\ No newline at end of file

Modified: 
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/resources/wsdl/helloworld.wsdl
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/resources/wsdl/helloworld.wsdl?view=diff&rev=453437&r1=453436&r2=453437
==============================================================================
--- 
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/resources/wsdl/helloworld.wsdl
 (original)
+++ 
incubator/tuscany/java/samples/sca/helloworldwsclient/src/main/resources/wsdl/helloworld.wsdl
 Thu Oct  5 17:26:43 2006
@@ -39,14 +39,6 @@
                 </complexType>
             </element>
             
-            <element name="getGreetingsCallback">
-                <complexType>
-                    <sequence>
-                        <element name="getGreetingsReturn" type="xsd:string"/>
-                    </sequence>
-                </complexType>
-            </element>            
-            
             <element name="getGreetings1">
                 <complexType>
                     <sequence>
@@ -82,10 +74,6 @@
         <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
     </wsdl:message>
 
-    <wsdl:message name="getGreetingsCallback">
-        <wsdl:part element="tns:getGreetingsCallback" name="parameters"/>
-    </wsdl:message>
-
     <wsdl:message name="getGreetings1Request">
         <wsdl:part element="tns:getGreetings1" name="parameters"/>
     </wsdl:message>
@@ -103,15 +91,6 @@
             <wsdl:input message="tns:getGreetings1Request" 
name="getGreetings1Request"/>
             <wsdl:output message="tns:getGreetings1Response" 
name="getGreetings1Response"/>
         </wsdl:operation>
-        <wsdl:operation name="getGreetingsWithCallback">
-            <wsdl:input message="tns:getGreetingsRequest" 
name="getGreetingsRequest"/>
-        </wsdl:operation>
-    </wsdl:portType>
-
-    <wsdl:portType name="HelloWorldCallback">
-        <wsdl:operation name="getGreetingsCallback">
-            <wsdl:input message="tns:getGreetingsCallback" 
name="getGreetingsCallback"/>
-        </wsdl:operation>
     </wsdl:portType>
 
     <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">
@@ -133,12 +112,6 @@
             <wsdl:output name="getGreetings1Response">
                 <wsdlsoap:body use="literal"/>
             </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="getGreetingsWithCallback">
-            <wsdlsoap:operation soapAction=""/>
-            <wsdl:input name="getGreetingsRequest">
-                <wsdlsoap:body use="literal"/>
-            </wsdl:input>
         </wsdl:operation>
 
     </wsdl:binding>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to