Re: Resolving WSDL/XSD import/include for SCA contributions

2007-07-25 Thread Huang Kai
Hi, Raymond: I also noticed the same problem when testing Tuscany two days ago. I'm not familiar with WSDL4j. When I looked into the codes, my fist response is replacing WSDLLocator, as you mentioned. While the ugly thing is that WSDLLocator return InputSource instead of some sort of

Re: [XmlSchema] Pluggability for XSD import/include resolvers?

2007-07-25 Thread Huang Kai
Hi, Raymond, We encountered the same problem when implementing SDO's XSDHelper. Where we used EMF's xsd tool package for resolve xsd. Wherein we just implemented our own XSDSchemaLocator and added it to the resource's adapters, then we can do everything in locating the import/include xsd.

Re: XSDDocumentProcessor visibility

2007-07-23 Thread Huang Kai
+1. Maybe there's more modules intrested in the xsd. SDO's types are also defined in xsd files. Can multiple DocumentProcess register to the same doc type? - Original Message - From: Venkata Krishnan [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, July 23, 2007 1:38 AM

Re: StackOverflowException when mutual reference exist

2007-07-09 Thread Huang Kai
: StackOverflowException when mutual reference exist Huang, Can you clarify what you mean please? What configuration of composites are you using? Yours, Mike. Huang Kai wrote: I'm in the case 2. :( It's error-prone - Original Message - From: Simon Laws [EMAIL PROTECTED

Re: StackOverflowException when mutual reference exist

2007-07-08 Thread Huang Kai
cyclical usage and should generate an error. Yours, Mike. Huang Kai wrote: When CompositeA has reference to CompositeB while CompositeB also has reference back to CompositeA, CompositeBuilderImpl.build(composite) seems went into endless loop. I'm not very sure whether it's a bug

Re: Need spec defined Databindings? Was: (TUSCANY-824) DataBinding: Is it a concern of Programming Model vs. Assembly?

2007-07-08 Thread Huang Kai
+1. :-) - Original Message - From: Mike Edwards [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Friday, July 06, 2007 9:34 PM Subject: Need spec defined Databindings? Was: (TUSCANY-824) DataBinding: Is it a concern of Programming Model vs. Assembly? Folks, OK, finally, I

Re: Need SCA Notification

2007-07-06 Thread Huang Kai
Hi: Sorry for the tardiness. I put my comments inline. - Original Message - From: Simon Laws [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Wednesday, June 27, 2007 10:57 PM Subject: Re: Need SCA Notification On 6/25/07, Huang Kai [EMAIL PROTECTED] wrote: Hi, all: I

StackOverflowException when mutual reference exist

2007-07-04 Thread Huang Kai
When CompositeA has reference to CompositeB while CompositeB also has reference back to CompositeA, CompositeBuilderImpl.build(composite) seems went into endless loop. I'm not very sure whether it's a bug or this kind of reference is illegal?

Need SCA Notification

2007-06-25 Thread Huang Kai
Hi, all: I think a notification mechanism useful to let spi provider know what is going on in the SCA container. A notification should be sent when Contribution/Composite/Component/Artifact start or stop. Ofcoz stop() method in implementationProvider,bindingProvider,.. can do some work,

[jira] Commented: (TUSCANY-1346) Resolution to TUSCANY-1332 assumes a closed top-level composite that does not support addition of new components

2007-06-22 Thread Huang Kai (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507557 ] Huang Kai commented on TUSCANY-1346: How about re-resolving the original and newly added components

How to add contribution to an existing domain

2007-06-15 Thread Huang Kai
Hi all: How do I add a contribution to an existing domain, without creating a new domain? And I have no way to get a ContributionService instance in current domain before I can call its contribute() or remove() method (IMHO, it should has a update() method). I think it's neccesary to

Re: (SCA)How can get the service by composite service name

2007-06-08 Thread Huang Kai
: Huang Kai [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Cc: ??? [EMAIL PROTECTED]; jiaoly [EMAIL PROTECTED]; ?? [EMAIL PROTECTED] Sent: Thursday, May 31, 2007 2:03 AM Subject: Re: (SCA)How can get the service by composite service name I understood. It seems so. While this raise

Re: (SCA)How can get the service by composite service name

2007-05-31 Thread Huang Kai
conflict? - Original Message - From: Jean-Sebastien Delfino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Wednesday, May 30, 2007 12:24 PM Subject: Re: (SCA)How can get the service by composite service name Comments inline. Huang Kai wrote: Yes, the codes seems does so

How to add multiple contribution to tuscany?

2007-05-31 Thread Huang Kai
Hi, all: I got several question when looking into Tuscany's codes: 1)MULTIPLE CONTRIBUTION IMO, a contribution is a deployment unit, so a domain should be allowed to have more than one contribution. While Tuscany only handles one contribution.

[jira] Created: (TUSCANY-1319) contribution meta documents not merged

2007-05-31 Thread Huang Kai (JIRA)
Reporter: Huang Kai in SCA spec 1.10.2.2 write: ...accommodate this, it is also possible to have an identically structured document at META-INF/sca-contribution-generated.xml. If this document exists (or is generated on an as-needed basis), it will be merged into the contents of sca

How to make Tuscany SDO available in Websphere or other server?

2007-05-21 Thread Huang Kai
We wanna use tuscany sdo in application that runs on websphere 6. Unfortunatelly we found it conflicts with websphere's own sdo api jar( actually an emf sdo jar : org.eclipse.emf.commonj.sdo_2.1.0.v200609210005.jar). Since websphere's own jar has higher privillege when loading classes,