Hi, muhwas.

What level of Tuscany code are you evaluating? And what hosting environment do you plan to run Tuscany?

The latest SCA 1.0 java spec intentionally leaves the way for non-component client to get the ComponentContext to be vendor specific. At the moment in Tuscany, you might to want to look at the following code:

https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/runtime/embedded/src/main/java/org/apache/tuscany/api/SCARuntime.java

Back to the question that you prefer not to use Tuscany-specific code in the client, are you looking for a launcher?

Sorry for all the questions. But they will probably help us better understand your requirements.

Thanks,
Raymond

----- Original Message ----- From: "muhwas" <[EMAIL PROTECTED]>
To: <[email protected]>; <[email protected]>
Sent: Monday, April 02, 2007 1:21 PM
Subject: calling webservice using service interface only


Hi guys,

How i can call a tuscany java web service using a
service interface only. I don't want any tuscany
related code inside client code

CompositeContext compositeContext =
CurrentCompositeContext.getContext();

compositeContext.locateService(service.class,
"ServiceClientComponent");

inside client code.

thanks,
muhwas

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



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

Reply via email to