Muhwas,
I dont understand what you are saying here.
Surely, the actual service has a specific interface - it isn't simply
anything, so you can only cast to the actual business interface it
actually implements.
Or did you envisage your client code introspecting the returned service
proxy
interface were not passed as a
parameter,
what interface would you expect the returned proxy
to implement?
Dave
- Original Message -
From: Simon Laws [EMAIL PROTECTED]
To: tuscany-dev@ws.apache.org
Sent: Thursday, April 19, 2007 7:35 AM
Subject: Re: using service name
On 4/13/07, muhwas [EMAIL PROTECTED] wrote:
Hi guys,
I was wondering if there is any way to get a reference
to web service interface using service name (in SCDL
file) only instead of doing
compositeContext.locateService(ClassName.class,composite)
thank you,
muhwas
- Original Message -
From: Simon Laws [EMAIL PROTECTED]
To: tuscany-dev@ws.apache.org
Sent: Thursday, April 19, 2007 7:35 AM
Subject: Re: using service name to call a service
On 4/13/07, muhwas [EMAIL PROTECTED] wrote:
Hi guys,
I was wondering if there is any way to get
to implement?
Dave
- Original Message -
From: Simon Laws [EMAIL PROTECTED]
To: tuscany-dev@ws.apache.org
Sent: Thursday, April 19, 2007 7:35 AM
Subject: Re: using service name to call a service
On 4/13/07, muhwas [EMAIL PROTECTED] wrote:
Hi guys,
I was wondering
the use cases related to dynamically obtaining
service references.
thanks,
Dave
- Original Message -
From: muhwas [EMAIL PROTECTED]
To: tuscany-dev@ws.apache.org
Sent: Thursday, April 19, 2007 3:00 PM
Subject: Re: using service name to call a service
I have tried that and it worked
I was trying to isolate the tuscany related code from
client code and move the tuscany related code that is
CompositeContext, locateService etc in common service
factory. Then client can call the service using the
service name only. Before i tried to pass the
bussiness interface also because
Hi guys,
I was wondering if there is any way to get a reference
to web service interface using service name (in SCDL
file) only instead of doing
compositeContext.locateService(ClassName.class,composite)
thank you,
muhwas
-
To