Visitor pattern is not used in Tuscany's core design

2007-07-25 Thread shaoguang geng
I analysed component model object in tuscany. Here my question is: all the component model object has implemented interface [org.apache.tuscany.sca.assembly.Visitable]. But in fact the [accept] method are never invoked. More of it, there is a [Visitor] interface, but nobody implements it. My

Re: Flexibility in supporting JDBC's Statement.RETURN_GENERATED_KEYS in RDB DAS (JIRA-1417)

2007-07-25 Thread Amita Vadhavkar
True, with the approach, DAS can use Metadata API and treat Derby specially (as Derby Embedded Driver API returns FALSE, set it to TRUE) 1) If provided in Config - it will be used, no Metadata API check 2) If not provided in Config - Metadata API check - In this for Derby ALWAYS SET TO TRUE, and

Re: [SCA Native] SDO Build error on Linux

2007-07-25 Thread Pete Robbins
Works fine on all our linuxes including my RHEL... I've removed the unnecessary qualifier so you should be fine now. Cheers, On 25/07/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Trying to build Native/C++ SDO on Linux RHEL5 gives me this error: if /bin/sh ../../../../../libtool

Re: An idea of WS Service address

2007-07-25 Thread ant elder
You're right, binding.ws does currently require a wsdl be provided, this is something we hope to fix in the next release - http://cwiki.apache.org/confluence/display/TUSCANYWIKI/SCA+Java+Next+Release+Contents If the url do provide wsdl and the url of your web service is turning out to be some

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

Why SCA10 specify interface.java

2007-07-25 Thread shaoguang geng
In SCA java component implementation 1.0, most of the spec was telling the story about interface.java interface=[interface name]. But in fact implementation.java class=[class name]/ has done every thing. Dose osoa mean: using interface.java the interface MAY NOT BE an interface of the

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

2007-07-25 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515241 ] Kelvin Goodson commented on TUSCANY-1143: - adding the missing instrumental word to Fuhwei's comment above

Non remoteable interface errors

2007-07-25 Thread Simon Laws
CompositeActivatorImpl::createServiceWire() identifies the target operation as follows Operation targetOperation = interfaceContractMapper.map( targetContract.getInterface(), operation); This can return null in some circumstances, for example, of you try to expose a non remoteable interface as

Re: Why SCA10 specify interface.java

2007-07-25 Thread Mike Edwards
Hi Shaoguang, shaoguang geng wrote: In SCA java component implementation 1.0, most of the spec was telling the story about interface.java interface=[interface name]. But in fact implementation.java class=[class name]/ has done every thing. Dose osoa mean: using interface.java the interface

[jira] Commented: (TUSCANY-1312) Can not expose Java Implementation class as a service

2007-07-25 Thread JIRA
[ https://issues.apache.org/jira/browse/TUSCANY-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515245 ] 耿韶光 commented on TUSCANY-1312: -- I think this error you got, is something correct in Tuscany. In fact to implement an

Re: An idea for WS Reference

2007-07-25 Thread shaoguang geng
Thank you for your guiding explain. You point out there is something great to me. Do I understand you right? I cound use META-INF/sca-contribution.xml at client side contribution import namespace= location=[url of the wsdl]/ /contribution to load the wsdl, instead of place it in

[jira] Commented: (TUSCANY-1399) Generate SDO test classes using maven-sdo-plugin

2007-07-25 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515246 ] Kelvin Goodson commented on TUSCANY-1399: - To do this we need to add another project to the SDO reactor

Re: Release process guide checklist, was Fwd: [VOTE] Release SDO Java 1.0-incubating

2007-07-25 Thread Venkata Krishnan
Hi, I'd like the release guide if the steps we follow are a bit different than what is normally done or if there are some variations to how we perform some steps. But if we were just about going to rephrase all of what has already been said somewhere else I'd prefer just about having a pointer

Re: Synapse using SCA assembly model for configuration

2007-07-25 Thread ant elder
Maybe we should step back a bit and get more of a common understanding of what the sca support would look like. From that suggestion it sounds like there'd be one synapse.xml file holding all the config (as there is today) and within that would be the xml using the sca namespace to define the

Re: Release process guide checklist, was Fwd: [VOTE] Release SDO Java 1.0-incubating

2007-07-25 Thread ant elder
As an example of how much simpler things could be if we got our maven builds set up so maven automated everything see: http://incubator.apache.org/cxf/building.html#Building-Performingarelease But, I still think a RM should understand whats going on so mvn shouldn't be a substitute for having

Re: Synapse using SCA assembly model for configuration

2007-07-25 Thread Paul Fremantle
Not quite. In my suggestion if you wanted sca then the synapse.xml would look like: composite xmlns=...sca namespace /composite But maybe I don't understand the contribution model well enough. Paul On 7/25/07, ant elder [EMAIL PROTECTED] wrote: Maybe we should step back a bit and get more

Re: [SCA Native] SDO Build error on Linux

2007-07-25 Thread Caroline Maynard
Jean-Sebastien Delfino wrote: Trying to build Native/C++ SDO on Linux RHEL5 gives me this error: if /bin/sh ../../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../runtime/core/src -I//home/delfinoj/include/libxml2 -g -O0 -MT

[jira] Resolved: (TUSCANY-1425) Compile failure on Fedora 6

2007-07-25 Thread Pete Robbins (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete Robbins resolved TUSCANY-1425. --- Resolution: Fixed Fix Version/s: Cpp-Next Compile error fixed in branch and head

Re: [SCA Native] SDO Build error on Linux

2007-07-25 Thread Pete Robbins
The fix is in the branch as well. Sorry I did not see that Jira. On 25/07/07, Caroline Maynard [EMAIL PROTECTED] wrote: Jean-Sebastien Delfino wrote: Trying to build Native/C++ SDO on Linux RHEL5 gives me this error: if /bin/sh ../../../../../libtool --tag=CXX --mode=compile g++

[jira] Updated: (TUSCANY-1353) Exception attempting to insert rows using DAS w/DataDirect JDBC driver

2007-07-25 Thread Amita Vadhavkar (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amita Vadhavkar updated TUSCANY-1353: - Attachment: 1353.patch patch dated Jul 25 based on

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

2007-07-25 Thread Mike Edwards
Raymond, How does this relate to the contribution resolution mechanism described by the SCA specifications? Yours, Mike. Raymond Feng wrote: Hi, We currently use XmlSchema to load XSDs. To resolve the import/include directives using our schemes, we provide an implementation of

[jira] Resolved: (TUSCANY-1470) Generated SDO APIs have compilation errors when sub-type has the same name as super-type

2007-07-25 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson resolved TUSCANY-1470. - Resolution: Fixed Generated SDO APIs have compilation errors when sub-type has the

Re: [SCA Native] SDO Build error on Linux

2007-07-25 Thread Jean-Sebastien Delfino
Pete Robbins wrote: Works fine on all our linuxes including my RHEL... I've removed the unnecessary qualifier so you should be fine now. Cheers, Thanks Pete, I just updated from SVN, I'm flying to Portland today as I'm going to the OSCON conference, I'll try again from the airport :) --

[jira] Created: (TUSCANY-1479) The code of method createXSDMetaData(ModelFactoryImpl) is exceeding the 65535 bytes limit

2007-07-25 Thread Eric Coolman (JIRA)
The code of method createXSDMetaData(ModelFactoryImpl) is exceeding the 65535 bytes limit - Key: TUSCANY-1479 URL: https://issues.apache.org/jira/browse/TUSCANY-1479

FW: [jira] Updated: (TUSCANY-1478) For schemas with elementFormDefault=true, serialized instance documents are invalid

2007-07-25 Thread Michael Yoder
Hi, I uploaded a patch for C++ SDO which fixes its XML serialization to produce XML valid against schemas with elementFormDefault=true. If someone could verify and apply it that would be great. This gets the SCA sample CppBigBank working again. Thanks, Michael Rogue Wave Software, Inc. -

Re: [LDAP DAS] Current API and EMF dependencies...

2007-07-25 Thread Ole Ersoy
SNIP Good, I'll wait for your updates to take a further look. Please let me know when you committ these updates. Cool - I'll check in and update in a few days. SNIP I have no idea of when SDO 3.0 will be available, and we are not sure that we will have all the necessary APIs you think is

Re: Synapse using SCA assembly model for configuration

2007-07-25 Thread Mike Edwards
Paul, Great to hear from you! Some thoughts inline. Paul Fremantle wrote: I recently read Dan's blog entry on the SCA assembly model: http://netzooid.com/blog/2007/07/22/sca-assembly-vs-spring-cxf/ That and some other discussions I've had made me think about maybe offering the SCA assembly

Re: FW: [jira] Updated: (TUSCANY-1478) For schemas with elementFormDefault=true, serialized instance documents are invalid

2007-07-25 Thread Pete Robbins
I'm looking at it right now! On 25/07/07, Michael Yoder [EMAIL PROTECTED] wrote: Hi, I uploaded a patch for C++ SDO which fixes its XML serialization to produce XML valid against schemas with elementFormDefault=true. If someone could verify and apply it that would be great. This gets the SCA

[jira] Resolved: (TUSCANY-1478) For schemas with elementFormDefault=true, serialized instance documents are invalid

2007-07-25 Thread Pete Robbins (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete Robbins resolved TUSCANY-1478. --- Resolution: Fixed Fix Version/s: Cpp-Next Patch applied to HEAD and the

[jira] Commented: (TUSCANY-1477) CompositeActivatorImpl.deactivate() is empty

2007-07-25 Thread Raymond Feng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515341 ] Raymond Feng commented on TUSCANY-1477: --- Hi, Can you elaborate a bit more on the problem? For example,

[jira] Commented: (TUSCANY-1477) CompositeActivatorImpl.deactivate() is empty

2007-07-25 Thread Luciano Resende (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515348 ] Luciano Resende commented on TUSCANY-1477: -- One of the issues here is that there is no implementation for

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

2007-07-25 Thread Raymond Feng
Hi, If I understand the SCA assembly spec correctly, the SCA resolution mechanism will be used when the schemaLocation is not present. For example, let's assume a.xsd has an import statement as follows: import namespace=http://ns1/ We're going to use the namespace (http://ns1) as the key to

[jira] Created: (TUSCANY-1480) Calling EmbeddedSCADomain.activateDomain() after adding a contribution renders services from previous contribution unusable

2007-07-25 Thread Vamsavardhana Reddy (JIRA)
Calling EmbeddedSCADomain.activateDomain() after adding a contribution renders services from previous contribution unusable Key: TUSCANY-1480

[jira] Updated: (TUSCANY-1438) Change TuscanySCA Native build system to use ant

2007-07-25 Thread Brady Johnson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brady Johnson updated TUSCANY-1438: --- Attachment: tuscany_patch_update5_jira1438 Uploading patch update 5 which includes: -

[jira] Updated: (TUSCANY-1353) Exception attempting to insert rows using DAS w/DataDirect JDBC driver

2007-07-25 Thread Luciano Resende (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luciano Resende updated TUSCANY-1353: - Affects Version/s: Java-DAS-Next Exception attempting to insert rows using DAS

Re: Release process guide checklist, was Fwd: [VOTE] Release SDO Java 1.0-incubating

2007-07-25 Thread Luciano Resende
Let me come up with some initial document over the weekend, and we could start providing feedback on top of that, also we could check if there is going to be any value on that or not. On 7/25/07, ant elder [EMAIL PROTECTED] wrote: As an example of how much simpler things could be if we got our

[jira] Created: (TUSCANY-1481) TuscanyServlet looks for servlets using path info and not the whole path

2007-07-25 Thread Simon Laws (JIRA)
TuscanyServlet looks for servlets using path info and not the whole path - Key: TUSCANY-1481 URL: https://issues.apache.org/jira/browse/TUSCANY-1481 Project: Tuscany

Weird maven behavior during local SCA build.

2007-07-25 Thread Luciano Resende
If I remove o.a.tuscany/sca from my local maven repository, and then try to build SCA, I'm having all weired issues around missing dependencies from artifacts that are supposed to get built during the build I'm executing. I also noticed that maven is resolving some other artifacts to its

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: Weird maven behavior during local SCA build.

2007-07-25 Thread Vamsavardhana Reddy
I ran into problems where the plugin requests for one version of the artifact but gets back a different version of the artifact. Something like... Searching for commonj/sdo- api-r2.1/1.0-incubating-SNAPSHOT/jar at http://people.apache.org/repo/m2-incubating-repository Downloading

Re: Weird maven behavior during local SCA build.

2007-07-25 Thread Luciano Resende
This might be something related to new versions of some maven plugins as I was able to find an old version of the repository, and I was able to build from that ok. So, maybe it's not a good idea to clean your repo or use a mvn -U right now. On 7/25/07, Luciano Resende [EMAIL PROTECTED] wrote:

RE: Dynamic Type Definition...

2007-07-25 Thread Dean Povey
I think the problem is that when you set many=true then the attribute becomes a list rather than a bare type (otherwise there is no way to add multiple attributes). You need to do: Listint custNum = new ArrayList(); custNum.add(1000); createdDO.setList(custNum, custNum); I didn't see the

Re: Normalize the reference endpoints for bindings

2007-07-25 Thread scabooz
Hi, This email thread has stopped, but I'll revive it...comments here. WRT the tables on the wiki, everything looks good except: -Table 2, row 1, I think the binding should be binding.sca. I don't think the spec is clear on this and thus there will be disagreement. -Table 2, row2, I think there

[jira] Updated: (TUSCANY-1353) Exception attempting to insert rows using DAS w/DataDirect JDBC driver

2007-07-25 Thread Luciano Resende (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luciano Resende updated TUSCANY-1353: - Fix Version/s: Java-DAS-Next Patch Info: [Patch Available] Exception

[VOTE] Release SDO Java version 1.0-incubating

2007-07-25 Thread kelvin goodson
Please review and vote to release the 1.0-incubating distribution of Tuscany SDO for Java The release candidate RC3 for Tuscany Java SDO archive distribution files are posted at [1] The release audit tool (rat) files and associated exceptions are posted at [1] also The maven repository artifacts

[jira] Resolved: (TUSCANY-1353) Exception attempting to insert rows using DAS w/DataDirect JDBC driver

2007-07-25 Thread Luciano Resende (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luciano Resende resolved TUSCANY-1353. -- Resolution: Fixed Patch applied under revision #559580. Thanks Amita. Exception

[jira] Created: (TUSCANY-1482) CompositeProcessor does not write out Property objects completely

2007-07-25 Thread Brent Daniel (JIRA)
CompositeProcessor does not write out Property objects completely - Key: TUSCANY-1482 URL: https://issues.apache.org/jira/browse/TUSCANY-1482 Project: Tuscany Issue Type: Bug

Re: svn commit: r559546 - /incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/

2007-07-25 Thread Raymond Feng
Hi, For those who are interested in the JMS binding, I just checked in a set of interfaces for the model defined by the SCA JMS Binding Spec 1.0. Feedback and help are appreciated. Thanks, Raymond - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday,

[SCA Native] SCA Build error on Linux, was: SDO Build error on Linux

2007-07-25 Thread Jean-Sebastien Delfino
Jean-Sebastien Delfino wrote: Pete Robbins wrote: Works fine on all our linuxes including my RHEL... I've removed the unnecessary qualifier so you should be fine now. Cheers, Thanks Pete, I just updated from SVN, I'm flying to Portland today as I'm going to the OSCON conference, I'll try

Dynamic Type Definition...

2007-07-25 Thread Roshan Paiva
Hi All, Tuscany SDO version: Tuscany SDO 1.0 beta1. I'm trying to dynamically create and use types without the use of an XSD file. What i want to do is something a little different to what is described in the samples provided. I want to have elements within each nested type. i also want to to

Dynamic Type Definition...

2007-07-25 Thread Upeka Bulumulle
Hi All, Tuscany SDO version: Tuscany SDO 1.0 beta1. I'm trying to dynamically create and use types without the use of an XSD file. What i want to do is something a little different to what is described in the samples provided. I want to have elements within each nested type. i also want to to