Hi Luciano, thank you very much,
Let me be further, (during debugging) I saw a service with name=DAS got
instantiated (twice), but when the RuntimeSCAServiceBindingProvider started,
the CompanyService which seems not instantiated throws an NPE due to no
interfacecontract.
(I noticed that an JavaInterfaceContractImpl will be assigned to an
implementation das)
Do you have any suggestion to me?
Thanks.
Luciano Resende <[EMAIL PROTECTED]> wrote: In the test cases, there is a
component type file
that assign the proper interface to the service as below :
interface="org.apache.tuscany.sca.implementation.das.company.CompanyService"/>
The interface looks like this :
public interface CompanyService {
public DataObject getCompanies();
}
Please let me know if you have further questions.
On 9/28/07, shaoguang geng wrote:
> Hi, every one:
>
> I have a question about implementation-das, could some one tell me WHICH
> InterfaceContract IS ASSIGNED to a ?
>
> Thanks
>
>
> ---------------------------------
> Luggage? GPS? Comic books?
> Check out fitting gifts for grads at Yahoo! Search.
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.