dear sir,
     I am studying the samples of the package of the  tuscany-sca-1.6-src.I 
find that some examples I don't know how to run after I import the project to 
eclipse.I have try two kind of method.in the first method ,I install Tuscany - 
http://www.apache.org/dist/tuscany/java/sca/1.5.1/tuscany-sca-1.5.1-updatesite/,
 then I run the composite file as SCA Application.However, it doesn't work. In 
the second method ,I create a client ,and run it as a Java Application,but I 
see a lot of Exception.The code of the client as follows:
package helloworld;
import java.io.IOException;
import org.apache.tuscany.sca.host.embedded.SCADomain;
public class client {
 public static void main( String[] args ) {
  
  SCADomain scaDomain = null;
  try {
   scaDomain = SCADomain.newInstance( "helloworldws.composite" );
   char c;
   while(( c = (char) System.in.read()) != 'q' ) {
    System.out.println( c );
   }
      
  } catch (IOException e) {
   e.printStackTrace();
  }
  
  if( scaDomain != null )
   scaDomain.close();
 }
}
 
    Can you help me ?  Take example of the sample of helloworld-ws-sdo-webapp.I 
desire the process of my subject,and  I'm looking forward for your  reply.
    Sinserely yours,
  Guo Xiujuan

Reply via email to