Re: JSON databinding for Tuscany

2007-03-13 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I prototyped a JSON databinding for Tuscany which supports the data transformation between JSON and XML. The code is based on Jettison (http://jettison.codehaus.org/) which is used by Axis2 and CXF too. Do you see any value of this? Ant, is it going to help JSON-RPC

Re: [Specs Related] Queries on References

2007-03-13 Thread Jean-Sebastien Delfino
[snip] Jean-Sebastien Delfino wrote: comments inline Venkata Krishnan wrote: Hi, I am trying to bring the SPI model and the Loaders in sync with the current level of the specs as available on OSOA site. I am currently looking at 'references' - as and how they are defined in ComponentType,

Re: Native M3 release status

2007-03-13 Thread Pete Robbins
Just a quick update. The doc is in order now (thanks Andy) and the distros are ok on Linux/Mac. I'm having to rework the source distro for Windows as there were some errors in the build settings. A few more minor changes to the build script to make the extensions optional and I'll be done.

Re: Native M3 release status

2007-03-13 Thread Jean-Sebastien Delfino
Pete Robbins wrote: Just a quick update. The doc is in order now (thanks Andy) and the distros are ok on Linux/Mac. I'm having to rework the source distro for Windows as there were some errors in the build settings. A few more minor changes to the build script to make the extensions

Re: [Specs Related] Queries on References

2007-03-13 Thread Jean-Sebastien Delfino
Venkata Krishnan wrote: Hi Sebastien, I agree with your suggestions on two accounts... - its really good to have the model defined around interfaces as it gives the flexibility to improve / modify the implementations we choose over a period of time without the impacting the core which I assume

Re: Native M3 release status

2007-03-13 Thread Pete Robbins
On 13/03/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Pete Robbins wrote: Just a quick update. The doc is in order now (thanks Andy) and the distros are ok on Linux/Mac. I'm having to rework the source distro for Windows as there were some errors in the build settings. A few more

Re: Getting rid of TargetInvoker

2007-03-13 Thread Jim Marino
On Mar 12, 2007, at 8:10 PM, Jim Marino wrote: With the connector changes and move to using only Component types for extensions, I think we can safely get rid of TargetInvoker. On Component, we will have: void attachWire(Wire wire, PhysicalWireSourceDefinition defintion); void

Re: svn commit: r516600 - /incubator/tuscany/java/pom.xml

2007-03-13 Thread ant elder
LOL, you'll need to do a bit better than that to educate us as from all the posts to this thread it doesn't seem like 'most people' understand the proposal or think it will fix the problem. How about setting up something somewhere to demonstrate what you are proposing? ...ant On 3/13/07,

Intermittent hangs in SmokeTestAssemblyContent

2007-03-13 Thread ant elder
When building the standalone module in trunk I get intermittently get an InterruptedException which causes the test to hang. I've not been able to track down whats happening yet, does anyone else get this? Running org.apache.tuscany.sca.runtime.standalone.smoketest.SmokeTestAssemblyContent Tests

Re: Intermittent hangs in SmokeTestAssemblyContent

2007-03-13 Thread Jim Marino
I don't but I'm on an Intel dual core so it may be a race condition. What type of CPU are you using? Jim On Mar 13, 2007, at 3:12 AM, ant elder wrote: When building the standalone module in trunk I get intermittently get an InterruptedException which causes the test to hang. I've not been

RE: Intermittent hangs in SmokeTestAssemblyContent

2007-03-13 Thread Meeraj Kunnumpurath
Ant, I don't get it either, I use dual core as well. The smoke test laucher uses a process drainer on a different thread that drains the System.out and System.err, for the spawned process. I can have a look when I get home in the evening (sorry I can't access the SVN server from work). Ta Meeraj

[jira] Resolved: (TUSCANY-612) Java SDO Overview doc doesnt address setting of M2_REPO variable

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson resolved TUSCANY-612. Resolution: Fixed See

Re: Componentizing our SCA runtime kernel

2007-03-13 Thread ant elder
On 3/13/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: snip/ Also, what is a more dynamic invocation mechanism? Most scripting languages out there use dynamic typing - or duck typing for Ruby :) - and do not define interfaces and method signatures. Going further Ruby for example defines

RE: handling of callbacks with physical wires

2007-03-13 Thread Meeraj Kunnumpurath
Sure, I will do that. Cuurently attach method is agnostic to whether it is forward or callback. If we have specific ones, would the signature change? Ta Meeraj -Original Message- From: Jim Marino [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 11:55 AM To:

Re: [jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

2007-03-13 Thread Frank Budinsky
Hi Raymond, I have a couple of questions. 1) Are you really just looking for a method something like this: boolean SDOUtil.isSDO(Class interface)? 2) If the answer is yes, where do you get the Class's that you pass to this method, when do you call it, and what do you do if it returns true? 3)

RE: tyring to run spring application

2007-03-13 Thread Waseem, Muhammad \(CA - Toronto\)
Hi Jim, When i looked at the spring sample in SCA extension directory i noticed that there are two file (spring.system.scdl, test.binding.system.scdl ) do i need to include these files also. I also copied the spring-1.0-incubator-M2.jar file to this direcoty. but when i started my application

[jira] Commented: (TUSCANY-1002) When redefining sdoModel.xsd in XSDHelperImpl, special ChangeSummaryType must be preloaded

2007-03-13 Thread mat damon (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480418 ] mat damon commented on TUSCANY-1002:

[jira] Commented: (TUSCANY-826) Containment cycle should result in Exception

2007-03-13 Thread mat damon (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480419 ] mat damon commented on TUSCANY-826: --- http://forge.cujae.edu.cu/tracker/download.php/43/248/14/2/index.html

[jira] Created: (TUSCANY-1166) Won't compile with VC6 (again)

2007-03-13 Thread Caroline Maynard (JIRA)
Won't compile with VC6 (again) -- Key: TUSCANY-1166 URL: https://issues.apache.org/jira/browse/TUSCANY-1166 Project: Tuscany Issue Type: Bug Components: C++ SDO Affects Versions: Cpp-current

[jira] Updated: (TUSCANY-1166) Won't compile with VC6 (again)

2007-03-13 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1166: -- Attachment: Tuscany-1166.patch Workaround for VC6 variable scope problem. Won't

[jira] Updated: (TUSCANY-1166) Won't compile with VC6 (again)

2007-03-13 Thread Caroline Maynard (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Caroline Maynard updated TUSCANY-1166: -- Priority: Critical (was: Major) Won't compile with VC6 (again)

Re: [Specs Related] Queries on References

2007-03-13 Thread Jean-Sebastien Delfino
[snip] Jean-Sebastien Delfino wrote: Venkata Krishnan wrote: Hi Sebastien, I agree with your suggestions on two accounts... - its really good to have the model defined around interfaces as it gives the flexibility to improve / modify the implementations we choose over a period of time

Re: [jira] Commented: (TUSCANY-826) Containment cycle should result in Exception

2007-03-13 Thread Frank Budinsky
Does anybody know what's the Apache process for dealing with stupidity like the referenced comment? Thanks, Frank. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [jira] Commented: (TUSCANY-826) Containment cycle should result in Exception

2007-03-13 Thread kelvin goodson
I have spoken to ant, who has deleted the user. Ant has raised a JIRA, https://issues.apache.org/jira/browse/INFRA-1193, to clean up these 2 JIRAs. Kelvin. On 13/03/07, Frank Budinsky [EMAIL PROTECTED] wrote: Does anybody know what's the Apache process for dealing with stupidity like the

Re: handling of callbacks with physical wires

2007-03-13 Thread Jim Marino
On Mar 13, 2007, at 5:58 AM, Meeraj Kunnumpurath wrote: Sure, I will do that. Cuurently attach method is agnostic to whether it is forward or callback. If we have specific ones, would the signature change? No I think the signature would be the same but some of the meta-data passed as

Re: [jira] Commented: (TUSCANY-1110) Improve the performance of TypeHelperImpl.getType(Class)

2007-03-13 Thread Raymond Feng
Hi, Frank. Please see my comments inline. Thanks, Raymond - Original Message - From: Frank Budinsky [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, March 13, 2007 7:08 AM Subject: Re: [jira] Commented: (TUSCANY-1110) Improve the performance of

[jira] Updated: (TUSCANY-1164) Container of root object is non-null after endLogging()

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1164: Fix Version/s: Java-SDO-M3 Container of root object is non-null after endLogging()

[jira] Updated: (TUSCANY-1002) When redefining sdoModel.xsd in XSDHelperImpl, special ChangeSummaryType must be preloaded

2007-03-13 Thread Jeremy Boynes (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Boynes updated TUSCANY-1002: --- Comment: was deleted When redefining sdoModel.xsd in XSDHelperImpl, special

[jira] Updated: (TUSCANY-826) Containment cycle should result in Exception

2007-03-13 Thread Jeremy Boynes (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremy Boynes updated TUSCANY-826: -- Comment: was deleted Containment cycle should result in Exception

[jira] Updated: (TUSCANY-1143) Generated code should separate metadata creation from registration to permit proper scoping

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1143: Fix Version/s: Java-SDO-Mx Generated code should separate metadata creation from

[jira] Updated: (TUSCANY-1129) Multiple Inheritance Broken In Generator Templates

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1129: Fix Version/s: Java-SDO-Mx Affects Version/s: (was: Java-SDO-Mx)

Re: [jira] Commented: (TUSCANY-826) Containment cycle should result in Exception

2007-03-13 Thread Jeremy Boynes
I deleted the comments. -- Jeremy On Mar 13, 2007, at 8:33 AM, kelvin goodson wrote: I have spoken to ant, who has deleted the user. Ant has raised a JIRA, https://issues.apache.org/jira/browse/INFRA-1193, to clean up these 2 JIRAs. Kelvin. On 13/03/07, Frank Budinsky [EMAIL PROTECTED]

[jira] Updated: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1122: Fix Version/s: Java-SDO-Mx Affects Version/s: (was: Java-SDO-Mx)

Re: [jira] Commented: (TUSCANY-826) Containment cycle should result in Exception

2007-03-13 Thread ant elder
Thanks. Could you say where you go to delete existing comments, i couldn't see how to get to a place in JIRA that allows that? ...ant On 3/13/07, Jeremy Boynes [EMAIL PROTECTED] wrote: I deleted the comments. -- Jeremy On Mar 13, 2007, at 8:33 AM, kelvin goodson wrote: I have spoken to

[jira] Updated: (TUSCANY-1109) TypeHelperImpl#getType(Class) queries wrong scope (EPackage.Registry.INSTANCE) and misses delegate scopes

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1109: Fix Version/s: (was: Java-SDO-Mx) Java-SDO-M3 Affects

Re: svn commit: r516600 - /incubator/tuscany/java/pom.xml

2007-03-13 Thread ant elder
On 3/13/07, Jim Marino [EMAIL PROTECTED] wrote: On Mar 13, 2007, at 3:38 AM, Paul Fremantle wrote: AFAICT the full top-level build is the only way people have found very easy to use so far. To be more accurate, it's the only way people working for a specific vendor have found easy.

[jira] Updated: (TUSCANY-1096) Exception thrown when reference with many multiplicity to the element of anyType

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1096: Fix Version/s: (was: Java-SDO-Mx) Java-SDO-M3 Affects

RE: tyring to run spring application

2007-03-13 Thread Waseem, Muhammad \(CA - Toronto\)
Hi, When i copy the jar in the extension direcotry i am getting the following exception. org.apache.tuscany.spi.loader.LoaderException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 start byte 0xa0 (at char #11, byte #-1) Context stack trace: [spring-1.0-incubator-M2] at

[jira] Updated: (TUSCANY-1021) CopyHelper and EqualityHelper should handle ChangeSummary

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1021: Fix Version/s: Java-SDO-M3 Affects Version/s: (was: Java-SDO-Mx)

[jira] Updated: (TUSCANY-1006) ChangeSummaryImpl.cachedSDOObjectChanges appears to not be thread safe

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-1006: Affects Version/s: (was: Java-SDO-Mx) Java-SDO-M3 The above

Re: [jira] Commented: (TUSCANY-826) Containment cycle should result in Exception

2007-03-13 Thread Jeremy Boynes
I have a delete link next to the comment - it may be because I have Jira admin rights. However, I couldn't resolve INFRA-1193 so please could you close that. -- Jeremy On Mar 13, 2007, at 9:11 AM, ant elder wrote: Thanks. Could you say where you go to delete existing comments, i couldn't

[jira] Updated: (TUSCANY-902) release distributions should have common root folder naming the release

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-902: --- Fix Version/s: (was: Java-SDO-Mx) Java-SDO-M3

[jira] Updated: (TUSCANY-901) jar Manifests require Application-Vendor-Id

2007-03-13 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-901: --- Fix Version/s: (was: Java-SDO-Mx) Java-SDO-M3 Affects

RE: tyring to run spring application

2007-03-13 Thread Waseem, Muhammad \(CA - Toronto\)
Hi, I changed the spring.system.scdl file in meta-inf to default.scdl then this exception is gone. but now i am getting following exception org.apache.tuscany.runtime.webapp.ServletLauncherInitException: org.apache.tuscany.spi.loader.MissingResourceException: No location supplied Context

[jira] Created: (TUSCANY-1167) SDO Codegen generates bad code when the noNotification option is used

2007-03-13 Thread David T. Adcox (JIRA)
SDO Codegen generates bad code when the noNotification option is used - Key: TUSCANY-1167 URL: https://issues.apache.org/jira/browse/TUSCANY-1167 Project: Tuscany Issue

[sca-java-integration-branch] Running JUnit test suites with maven surefire

2007-03-13 Thread Raymond Feng
Hi, I have experimented to run a collection of test cases as a suite in maven with surefire 2.3 (which supports JUnit 4.2). The following is an example to demonstrate how we can achieve it. import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.runner.RunWith; import

Some press about SCA and Tuscany

2007-03-13 Thread Paul Fremantle
http://www.regdeveloper.co.uk/2007/03/13/sca_for_soa/ -- Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle [EMAIL PROTECTED] Oxygenating the Web Service Platform, www.wso2.com

Re: [SCA] WSDL2Java seems not generating SDO code

2007-03-13 Thread Yang ZHONG
Thanks to Sebastien, Simon and Mike for the inputs. I'll try one step at a time. First, I'll try an option to generate SDO as well. Then we can discuss generation from contribution/set more. On 3/12/07, Mike Edwards [EMAIL PROTECTED] wrote: Jean-Sebastien Delfino wrote: Jean-Sebastien

Re: [sca-java-integration-branch] Running JUnit test suites with maven surefire

2007-03-13 Thread Luciano Resende
Hi Raymond 1) What's the naming convention for test suites? Should we name them as *TestSuite.java? If so, we have to adjust the surefire inclusion pattern in pom.xml to recognize the test suites. If we're fine with names such as *AllTestCase.java, then the current pattern can work as-is. I

[SDO C++] compilation error

2007-03-13 Thread Caroline Maynard
After getting up to date, I'm seeing: SequenceImpl.cpp c:\dev\pecl\sdo\commonj\sdo\sequenceimpl.h(344) : error C4716: 'commonj::sdo::SequenceImpl::seq_item::operator=' : must return a value NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. Now the code in question is // Copy

Re: [SDO C++] compilation error

2007-03-13 Thread Pete Robbins
On 13/03/07, Caroline Maynard [EMAIL PROTECTED] wrote: After getting up to date, I'm seeing: SequenceImpl.cpp c:\dev\pecl\sdo\commonj\sdo\sequenceimpl.h(344) : error C4716: 'commonj::sdo::SequenceImpl::seq_item::operator=' : must return a value NMAKE : fatal error U1077: 'cl.exe' : return code

Re: [SDO C++] compilation error

2007-03-13 Thread Pete Robbins
On 13/03/07, Pete Robbins [EMAIL PROTECTED] wrote: On 13/03/07, Caroline Maynard [EMAIL PROTECTED] wrote: After getting up to date, I'm seeing: SequenceImpl.cpp c:\dev\pecl\sdo\commonj\sdo\sequenceimpl.h(344) : error C4716: 'commonj::sdo::SequenceImpl::seq_item::operator=' : must return

[jira] Updated: (TUSCANY-1167) SDO Codegen generates bad code when the noNotification option is used

2007-03-13 Thread David T. Adcox (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David T. Adcox updated TUSCANY-1167: Attachment: 1167.patch This patch moves the return statement outside the suppress

Re: [SDO C++] compilation error

2007-03-13 Thread Pete Robbins
fix checked in to HEAD On 13/03/07, Pete Robbins [EMAIL PROTECTED] wrote: On 13/03/07, Pete Robbins [EMAIL PROTECTED] wrote: On 13/03/07, Caroline Maynard [EMAIL PROTECTED] wrote: After getting up to date, I'm seeing: SequenceImpl.cpp

Re: SDO Java M3 content

2007-03-13 Thread kelvin goodson
Just trying to pick this up again having been unwell for most of last week. I've just made a few no-brainer updates to the JIRAs with respect to correct settings for version labels, but I'd like to pin down the content for the next release. In my tidying up of the website content I posted about

Re: [SCA] WSDL2Java seems not generating SDO code

2007-03-13 Thread Jean-Sebastien Delfino
Comments inline Yang ZHONG wrote: Thanks to Sebastien, Simon and Mike for the inputs. I'll try one step at a time. First, I'll try an option to generate SDO as well. Then we can discuss generation from contribution/set more. Great. Thanks Yang! On 3/12/07, Mike Edwards [EMAIL PROTECTED]

Re: Native M3 release status

2007-03-13 Thread Pete Robbins
On 13/03/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Pete Robbins wrote: Just a quick update. The doc is in order now (thanks Andy) and the distros are ok on Linux/Mac. I'm having to rework the source distro for Windows as there were some errors in the build settings. A few more

Re: handling of callbacks with physical wires

2007-03-13 Thread Jeremy Boynes
On Mar 13, 2007, at 4:55 AM, Jim Marino wrote: Hi Meeraj, I've been working on getting the WireAttachers going for PhysicalComponentDefinitions. On PhysicalWireDefinition, I've added PhysicalWireSourcetDefinition and PhysicalWireTargetDefinition for callbacks, as they will be used to

Re: handling of callbacks with physical wires

2007-03-13 Thread Jim Marino
On Mar 13, 2007, at 12:28 PM, Jeremy Boynes wrote: On Mar 13, 2007, at 4:55 AM, Jim Marino wrote: Hi Meeraj, I've been working on getting the WireAttachers going for PhysicalComponentDefinitions. On PhysicalWireDefinition, I've added PhysicalWireSourcetDefinition and

Assembly metadata, was: Queries on References

2007-03-13 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: [snip] Jean-Sebastien Delfino wrote: Venkata Krishnan wrote: Hi Sebastien, I agree with your suggestions on two accounts... - its really good to have the model defined around interfaces as it gives the flexibility to improve / modify the implementations we

Re: svn commit: r517376 - in /incubator/tuscany/java/sca/kernel/core/src: main/java/org/apache/tuscany/core/marshaller/extensions/ main/java/org/apache/tuscany/core/marshaller/extensions/instancefacto

2007-03-13 Thread Jeremy Boynes
On Mar 12, 2007, at 1:28 PM, [EMAIL PROTECTED] wrote: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/ tuscany/core/model/physical/instancefactory/ InjectionSiteType.java (with props) How about using j.l.annotation.ElementType? -- Jeremy

Representation of Property default value

2007-03-13 Thread Jean-Sebastien Delfino
As part of the effort to componentize some of the Kernel I'm trying to make sure that the representation of assembly metadata is independent of XML and just came across this in o.a.t.spi.model.Property: import org.w3c.dom.Document; public Document getDefaultValue() { return

Re: Representation of Property default value

2007-03-13 Thread Raymond Feng
Hi, I don't think we can completely avoid XML because the property values are provided as XML in the SCDL. But we could accomodate the various cases in the model using a neutral way. I propose to use the following: DataType dataType; // Decribe the property type with databinding Object

Kernel Alpha2 Release

2007-03-13 Thread Jim Marino
I would like to start thinking about the next release of kernel. Based on the work being done around federation, it seems that multi- VM support is the key feature we should look to enable. This will allow us to demonstrate the high-value areas of SCA, particularly around distributed

[sca-java-integration-branch] Missing WSDL type imports causes aymetrical behviour

2007-03-13 Thread Simon Laws
Hi I remember Dan discussing this on the list before but I can't put my finger on the thread If I run the databinding WS tests without including the factory for the WSDL XML types in the composite... dbsdo:import.sdo factory=

Re: svn commit: r517891 - /incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/model/physical/instancefactory/InjectionSiteMapping.java

2007-03-13 Thread Jeremy Boynes
Meeraj asked me offline what I meant by using ElementType so I added this strawman for a mapping from something in SCA land (a callback, reference or property value) to a Java injection site (field, method, ctrArg). In the end it doesn't use ElementType at all... Meeraj, I hope this makes

[jira] Commented: (TUSCANY-1164) Container of root object is non-null after endLogging()

2007-03-13 Thread Yang ZHONG (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480568 ] Yang ZHONG commented on TUSCANY-1164: - Thanks to Kelvin for pinpointing the EMF problem. I have verified and

Re: [sca-java-integration-branch] Missing WSDL type imports causes aymetrical behviour

2007-03-13 Thread Raymond Feng
Hi, The ClassCastException will only happen if we try to get the child element out of the repsonse wrapper (which is an instance of AnyTypeDataObjectImpl because the model is not registered with SDO runtime) and cast it to a generated SDO interface. If the ServiceFactory is not registered,

[jira] Created: (TUSCANY-1168) Type.isSequenced() returns wrong value for my XSD

2007-03-13 Thread Raymond Feng (JIRA)
Type.isSequenced() returns wrong value for my XSD - Key: TUSCANY-1168 URL: https://issues.apache.org/jira/browse/TUSCANY-1168 Project: Tuscany Issue Type: Bug Components: Java SDO

[jira] Created: (TUSCANY-1169) Property.getType() throws ClassCastException if the property is from AnyDataObjectType.getInstanceProperties()

2007-03-13 Thread Raymond Feng (JIRA)
Property.getType() throws ClassCastException if the property is from AnyDataObjectType.getInstanceProperties() -- Key: TUSCANY-1169 URL:

[jira] Created: (TUSCANY-1170) The YearMonthDay property type throws format exception when retrieving long value

2007-03-13 Thread David T. Adcox (JIRA)
The YearMonthDay property type throws format exception when retrieving long value - Key: TUSCANY-1170 URL: https://issues.apache.org/jira/browse/TUSCANY-1170 Project:

[jira] Updated: (TUSCANY-1170) The YearMonthDay property type throws format exception when retrieving long value

2007-03-13 Thread David T. Adcox (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David T. Adcox updated TUSCANY-1170: Attachment: Test1170.java api_test.xsd The YearMonthDay property type

Re: Assembly metadata, was: Queries on References

2007-03-13 Thread Raymond Feng
Hi, I added the namespace support for the SAX handler and a minor fix to call setXSDType against Property. Thanks, Raymond - Original Message - From: Jean-Sebastien Delfino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, March 13, 2007 1:08 PM Subject: Assembly

Re: Representation of Property default value

2007-03-13 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I don't think we can completely avoid XML because the property values are provided as XML in the SCDL. But we could accomodate the various cases in the model using a neutral way. I propose to use the following: DataType dataType; // Decribe the property type with

SDO C++ creating property problem

2007-03-13 Thread Adriano Crestani
I created a new type on a DataFactory, for example ... dataFactory-addType(MyNameSpace, MyRoot); const Type myType = dataFactory-getType(MyNameSpace, MyRoot); const Type intType = dataFactory-getType(commonj.sdo, Integer); //then I try to add some integer properties to this type

Re: Representation of Property default value

2007-03-13 Thread Raymond Feng
Hi, 1) For the canonical form, don't you think we have it with DOM? 2) In Java, you have three styles to define a property using @Property: * A public or protected field * A setter method * A parameter for the constructor I don't see Java CI talks about how to supply the default value for a

Re: SDO C++ creating property problem

2007-03-13 Thread Adriano Crestani
Hey, Now I was checking if the properties were correctly added to the type and I got something strange: dataFactory-addPropertyToType(myType, *(new std::string(getColumnName(statement, 1)), intType); dataFactory-addPropertyToType(myType, *(new std::string(getColumnName(statement, 2)), intType);

Re: Assembly metadata, was: Queries on References

2007-03-13 Thread Jean-Sebastien Delfino
Raymond Feng wrote: Hi, I added the namespace support for the SAX handler and a minor fix to call setXSDType against Property. Thanks, Raymond Thanks, with your change I was able to put QNames in the test .composite and .constrainingType files and get them loaded correctly. I'll do some