Re: Text for main page of Tuscany website

2006-08-24 Thread ant elder
Could the "< General Tuscany diagram would go here>" be moved from being right at the bottom to nearer the top so you see it all without having to scroll the page down? ...ant On 8/24/06, haleh mahbod <[EMAIL PROTECTED]> wrote: Hello Tuscany community, Please review the following text as a

Re: SCDL extensions to define data types for parameters and return value

2006-08-24 Thread ant elder
What about when you're using interface.wsdl and things like JavaScript? Take the following composite example, could you show what the additional SCDL extension would be needed to get that to work with SDO and E4X? HelloWorldComponent HelloWorldSer

Re: Using Interceptors to convert objects to XmlObjects for JavaScript/E4X support

2006-08-24 Thread Venkata Krishnan
Hi Ant, I have been able to do the injection of required JS XmlObjects into the script. The service invocation works fine. I am now looking at the references part and am bit stuck there. There is a problem in converting the javascript xml objects to the Java counterparts (something that is bei

Re: REST bindings for Tuscany SCA runtime

2006-08-24 Thread Bert Lamb
Ok, my I tried to send this email earlier, but it bounced as spam, so I'm going to try again with a link to my attachment and see if that helps So I'm sure it is something stupid, but I'm missing something. I've got the sample webapp packaged correctly (I think) and it was giving the error ab

Re: REST bindings for Tuscany SCA runtime

2006-08-24 Thread ant elder
It looks pretty good. I'm guessing the system scdl being used by the web app doesn't include the scdl for your binding. The way the sample webapps are done right now with all the jars going into the webapp lib you need to add all extensions to the system scdl being used. In you web.xml there's a p

Re: [jira] Created: (TUSCANY-651) Port WSDL2Java and Java2WSDL from M1

2006-08-24 Thread Jojo
Hi, I was able to resolve the issues and run all the test cases. I have attached a zip file to the JIRA, which you can find at: https://issues.apache.org/jira/secure/attachment/12339477/tuscany-sca-tools.zip In the M1 version, there was a dependancy on tuscany\sca\model\src\main\java\org\apache

Problems with porting jsonrpc binding

2006-08-24 Thread Bert Lamb
Ant, Changed the subject which I forgot to do on the last email... So just to clarify, until the extension mechanism is finalized I need be modifying scdl files in the webapp-host.jar to get my binding picked up? -Bert On 8/24/06, ant elder <[EMAIL PROTECTED]> wrote: It looks pretty good. I'

Re: Problems with porting jsonrpc binding

2006-08-24 Thread ant elder
On 8/24/06, Bert Lamb <[EMAIL PROTECTED]> wrote: So just to clarify, until the extension mechanism is finalized I need be modifying scdl files in the webapp-host.jar to get my binding picked up? Thats right, or alternatively use your own version of the webapp.system.scdl file in your web ap

Re: [jira] Created: (TUSCANY-651) Port WSDL2Java and Java2WSDL from M1

2006-08-24 Thread Rick
Jojo, Thanks, Any chance you could provide an svn diff patch with what is in the current svn codebase? Thanks. Jojo wrote: Hi, I was able to resolve the issues and run all the test cases. I have attached a zip file to the JIRA, which you can find at: https://issues.apache.org/jira/secure/at

Re: [C++] Coding convention for #ifndef in our includes

2006-08-24 Thread Jean-Sebastien Delfino
Pete Robbins wrote: I prefer the SCA style rather than the ones in SDO. The full path is better as well so #ifndef commonj_sdo_changeddataobjectlist_h is what I would use. However, I don't think this affects the readabillity of the code so I don't propose we change them all. We need to update

Avoiding extension and application scdl collisions

2006-08-24 Thread Rick
I kind of have and closer idea why interop unit testcases fail when run from the maven command line. It appears the forking for some reason I'm still not 100% sure of puts the Axis2Binding jar in the same classloader as the application scdl. It could be the fork actually has dependencies nee

Re: Das Logging Framework

2006-08-24 Thread Jim Marino
On Aug 23, 2006, at 8:05 PM, Kevin Williams wrote: Thanks for your input. I enjoyed the "evils of common logging" link. So, if we avoid JCL then my next suggestion would be to use either Java logging or log4j directly and our users will need to deal with the -- possibly -- separate loggin

Re: Das Logging Framework

2006-08-24 Thread Kevin Williams
My poor choice of wording. I really meant "any concerns" rather than "any objections". Thanks again! Jim Marino wrote: On Aug 23, 2006, at 8:05 PM, Kevin Williams wrote: Thanks for your input. I enjoyed the "evils of common logging" link. So, if we avoid JCL then my next suggestion wo

Fwd: svn commit: r434372 - /incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml

2006-08-24 Thread Jim Marino
Hi Rick, Could you let me know the error you were getting from this since it appears to be caused by a patch for Tuscany-661? Things build on my machine and presumably on Jervis'. Jim Begin forwarded message: From: [EMAIL PROTECTED] Date: August 24, 2006 4:35:09 AM PDT To: tuscany-commi

Re: Fwd: svn commit: r434372 - /incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml

2006-08-24 Thread Rick
Hello Jim, If I uncomment that plugin to build the assembly the error I get is below. This had been working but I'm thinking cause we're using SNAPSHOT for the plugin, it got replaced that doesn't like now the fact that Axis is really being retrieved from a legacy (maven 1.x) repo? [DEBUG

Re: Fwd: svn commit: r434372 - /incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml

2006-08-24 Thread cr22rc
I'm fairly certain this is due to an updated snapshot. If I grab the maven-assembly-plugin-2.2-SNAPSHOT.jar jar from a machine I have not done a build on lately and has a older date that plugin seems to work fine. Rick wrote: Hello Jim, If I uncomment that plugin to build the assembly the erro

Re: REST bindings for Tuscany SCA runtime

2006-08-24 Thread Oisin Hurley
What do you think about the following approach: a) If you put no annotations in your code then you have to stick to the fixed pattern with fixed method names, and you write the side SCDL file that turns your code into a component and publishes the REST endpoint. b) If you want more flexi

Re: Fwd: svn commit: r434372 - /incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml

2006-08-24 Thread Raymond Feng
I was getting the same error and I commented the out in r434255. But Rick restored after that and removed it again. :-) Thanks, Raymond - Original Message - From: "Rick" <[EMAIL PROTECTED]> To: Sent: Thursday, August 24, 2006 10:04 AM Subject: Re: Fwd: svn commit: r434372 - /incuba

Re: Fwd: svn commit: r434372 - /incubator/tuscany/java/sca/bindings/binding.axis2/pom.xml

2006-08-24 Thread cr22rc
Well the plan was to back off to 2.1 version of the plugin. I tried while in the axis2 binding directory and it worked. And I checked it in. But when I did a build from the root it failed so ... backed it out again :-) Raymond Feng wrote: I was getting the same error and I commented the out

[C++] Changes to tuscany::sca::model

2006-08-24 Thread Jean-Sebastien Delfino
Hi, I'm going to leave the SupplyChain scenario alone for a day or two, to leave people time to take a look at it, comment and see if/how the SCDL artifacts can be simplified or done better before integrating the actual implementation logic of the supplychain management components. In the me

Re: Auto discovering WSDL

2006-08-24 Thread Yang ZHONG
It has been one full day since Ant proposed a go for registry and Jim agreed. If no one oppose, I'm going to contribute a registry. The registry will support . different Symbol Spaces (type, top level element, message, portType/interface, etc.) . multiple scopings (ClassLoader, location, Eclipse I

Re: REST bindings for Tuscany SCA runtime

2006-08-24 Thread Sreelatha S
Hi Ant, As I am still trying to learn about the REST implementation, based of what you have mentioned below I tried to work on the skeleton classes required for the REST binding on Tuscany, by closely following the REST support in Axis 2 and the Axis2Binding classes in Tuscany. I have crea

Re: Auto discovering WSDL

2006-08-24 Thread Raymond Feng
Some comments in line. Thanks, Raymond - Original Message - From: "Yang ZHONG" <[EMAIL PROTECTED]> To: Sent: Thursday, August 24, 2006 11:08 AM Subject: Re: Auto discovering WSDL It has been one full day since Ant proposed a go for registry and Jim agreed. If no one oppose, I'm goi

Re: [C++] Changes to tuscany::sca::model

2006-08-24 Thread Pete Robbins
Excellent stuff... another thing that we haven't got around to yet. I'm still playing around with different ways of making pluggable extensions so I'll just merge what you check in with what I'm looking at. Cheers, On 24/08/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Hi, I'm going to

Re: Auto discovering WSDL

2006-08-24 Thread Jim Marino
On Aug 24, 2006, at 11:08 AM, Yang ZHONG wrote: It has been one full day since Ant proposed a go for registry and Jim agreed. If no one oppose, I'm going to contribute a registry. I think this would be great. The registry will support . different Symbol Spaces (type, top level element, messa

Build error

2006-08-24 Thread Kevin Williams
I brought this up awhile back and Raymond seemed to recognize the error. I don't think a fix or workaround was ever suggested suggested. [surefire] testTransformation2(org.apache.tuscany.databinding.TransformationTest Case) Time elapsed: 0.06 sec <<< ERROR! java.lang.NoClassDefFo

Re: Auto discovering WSDL

2006-08-24 Thread Yang ZHONG
Yes, doable. After I roll out API and SPI (soon I hope) for review, could you provide the Loader(SPI) implementation for WSDL please? Thanks. On 8/24/06, ant elder <[EMAIL PROTECTED]> wrote: Hi Yang, this sounds great and very comprehensive! It could take some time to complete it all so can

Re: Build error

2006-08-24 Thread Raymond Feng
Hi, Kevin. Can you give me more information on how to reproduce the problem (information about your env will be helpful as well since I don't see the problem) so that I debug it? I know the cause and I thought it was fixed by upgrading the surefire plugin. Thanks, Raymond - Original Mes

Ruby Header-replace script

2006-08-24 Thread Kevin Williams
I think a couple of people have used this now. Here is an update ... # Scans files - with a given extension - recursively from the current # directory replacing the old copyright/license header statement with a # new version # # Example command line usage # >ruby replaceheaders.rb java oldheader

[jira] Updated: (TUSCANY-579) getString on Date field results in IllegalArgumentException

2006-08-24 Thread Brian Murray (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-579?page=all ] Brian Murray updated TUSCANY-579: - Attachment: api_test.xsd This is the resource needed for the test case. > getString on Date field results in IllegalArgumentException >

[jira] Updated: (TUSCANY-582) Date fields sometimes not preserved when using DataHelper.

2006-08-24 Thread Brian Murray (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-582?page=all ] Brian Murray updated TUSCANY-582: - Attachment: DateConversionTestCase.java Tuscany582.patch Some minor revisions resulting from a code review with a peer. > Date fields someti

Re: Auto discovering WSDL

2006-08-24 Thread ant elder
Hi Yang, this sounds great and very comprehensive! It could take some time to complete it all so can i tell you the parts that would be useful to me to have sooner rather than later to help with Axis2 and E4X, maybe you could look at implementing some of these bits first? For now just WSDL 1.1 su

Re: Text for main page of Tuscany website

2006-08-24 Thread haleh mahbod
It seems logicial to introduce the project first and then display a diagram. This would be the first time users learn about Tuscany. Have we decided which diagram we'd like to settle on? There were two posted with David's prototype. Haleh On 8/24/06, ant elder <[EMAIL PROTECTED]> wrote: Could

Re: [jira] Updated: (TUSCANY-642) Composite references and services - model and runtime representations

2006-08-24 Thread Ignacio Silva-Lepe
I posted a new patch for this but have not received the corresponding email. In case others are on the same boat, I append the text of the post. Here's a new patch that modifies CompositeBuilderTestCase to verify that the Connector also works for composite services and references. This patch al

[jira] Created: (TUSCANY-663) XPATH doesnt support dots in names (treats them as indices)

2006-08-24 Thread Ed Slattery (JIRA)
XPATH doesnt support dots in names (treats them as indices) --- Key: TUSCANY-663 URL: http://issues.apache.org/jira/browse/TUSCANY-663 Project: Tuscany Issue Type: Bug Compone

[jira] Updated: (TUSCANY-611) RMI Binding

2006-08-24 Thread Venkatakrishnan (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-611?page=all ] Venkatakrishnan updated TUSCANY-611: Attachment: binding_rmi.zip Hi Ant, as asked by you, I have attached a zip of the binding.rmi.project. Thanks for taking a look at this. - Venkat >

[jira] Closed: (TUSCANY-420) Refactoring of Rhino code in the JavaScript container

2006-08-24 Thread ant elder (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-420?page=all ] ant elder closed TUSCANY-420. - Resolution: Fixed Got fixed in the port to the new runtime > Refactoring of Rhino code in the JavaScript container > ---

[jira] Updated: (TUSCANY-642) Composite references and services - model and runtime representations

2006-08-24 Thread Ignacio Silva-Lepe (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-642?page=all ] Ignacio Silva-Lepe updated TUSCANY-642: --- Attachment: InnerComposite.patch Here's a new patch that modifies CompositeBuilderTestCase to verify that the Connector also works for composite

Re: [jira] Updated: (TUSCANY-642) Composite references and services - model and runtime representations

2006-08-24 Thread Jim Marino
O.K. I'll take a look. I've got an unfinished commit to do once I get access to svn on my machine back up (the repo may be down). Jim On Aug 24, 2006, at 1:05 PM, Ignacio Silva-Lepe wrote: I posted a new patch for this but have not received the corresponding email. In case others are on th

Re: Auto discovering WSDL

2006-08-24 Thread Yang ZHONG
Comment below. Thanks. On 8/24/06, Jim Marino <[EMAIL PROTECTED]> wrote: On Aug 24, 2006, at 11:08 AM, Yang ZHONG wrote: > It has been one full day since Ant proposed a go for registry and Jim > agreed. If no one oppose, I'm going to contribute a registry. I think this would be great. > Th

[jira] Created: (TUSCANY-664) Java SCA: C++ container

2006-08-24 Thread ant elder (JIRA)
Java SCA: C++ container --- Key: TUSCANY-664 URL: http://issues.apache.org/jira/browse/TUSCANY-664 Project: Tuscany Issue Type: New Feature Affects Versions: Wish list Reporter: ant elder Prior

[jira] Updated: (TUSCANY-579) getString on Date field results in IllegalArgumentException

2006-08-24 Thread Brian Murray (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-579?page=all ] Brian Murray updated TUSCANY-579: - Attachment: Tuscany579.patch I've added a new version of Tuscany579.patch. This includes updates to DataObjectUtil.java to allow setString on a Date field,

[jira] Created: (TUSCANY-665) Support multiple ResultSets from Stored Procedures

2006-08-24 Thread Brent Daniel (JIRA)
Support multiple ResultSets from Stored Procedures -- Key: TUSCANY-665 URL: http://issues.apache.org/jira/browse/TUSCANY-665 Project: Tuscany Issue Type: Improvement Components: Java

[jira] Commented: (TUSCANY-611) RMI Binding

2006-08-24 Thread ant elder (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-611?page=comments#action_12430198 ] ant elder commented on TUSCANY-611: --- Applied Tuscany-RMI-Binding-Formatted-Aug-15-1.diff > RMI Binding > --- > > Key: TUSCANY-611 >

[jira] Updated: (TUSCANY-651) Port WSDL2Java and Java2WSDL from M1

2006-08-24 Thread Jojo Joseph (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-651?page=all ] Jojo Joseph updated TUSCANY-651: Attachment: tuscany-sca-tools.zip Please find the attached file which contais a port of the tools from M1. You can unzip this into tuscany/sca folder. Change

[jira] Updated: (TUSCANY-579) getString on Date field results in IllegalArgumentException

2006-08-24 Thread Brian Murray (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-579?page=all ] Brian Murray updated TUSCANY-579: - Attachment: TypeConversionTestCase.java > getString on Date field results in IllegalArgumentException > -

[jira] Updated: (TUSCANY-665) Support multiple ResultSets from Stored Procedures

2006-08-24 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-665?page=all ] Brent Daniel updated TUSCANY-665: - Attachment: Tuscany665.txt Attaching a patch to support multiple ResultSets > Support multiple ResultSets from Stored Procedures > -

Re: New site sample

2006-08-24 Thread David Wheeler
Hi everyone, I think the site layout is probably in good final candidate form, but there are a few pages that need to be written that I wouldn't consider myself qualified to create. We need general overview/getting started with pages for: SCA-Java SCA-C++ SDO-C++ DAS Right now we only have a SC

Re: REST bindings for Tuscany SCA runtime

2006-08-24 Thread ant elder
The WebServiceBinding and WebServiceBindingLoader classes in the Axis2 binding are WS specific so you'll need to write new ones of those for your REST binding. Your impls should still extend the BindingBuilderExtension and LoaderExtension SPI classes. Also the Axis2BindingBuilder is specific to th

Re: Build error

2006-08-24 Thread Kevin Williams
Hi Raymond, XP Maven version: 2.0.4 Java: C:\apacheSVN\java>java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20060511 (SR2)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-2006050 4 (JIT enabled)

Re: Build error

2006-08-24 Thread Ignacio Silva-Lepe
FWIW, I also get this error, along with: [surefire] Running org.apache.tuscany.databinding.JAXBTestCase [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.541 sec [surefire] [surefire] testTransform(org.apache.tuscany.databinding.JAXBTestCase) Time elap sed: 0.511 sec <<< ERROR!

[jira] Resolved: (TUSCANY-579) getString on Date field results in IllegalArgumentException

2006-08-24 Thread Frank Budinsky (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-579?page=all ] Frank Budinsky resolved TUSCANY-579. Resolution: Fixed Fixed in revision 434519. > getString on Date field results in IllegalArgumentException > --

[jira] Resolved: (TUSCANY-582) Date fields sometimes not preserved when using DataHelper.

2006-08-24 Thread Frank Budinsky (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-582?page=all ] Frank Budinsky resolved TUSCANY-582. Resolution: Fixed Fixed in revision 434519. > Date fields sometimes not preserved when using DataHelper. > ---

[jira] Closed: (TUSCANY-665) Support multiple ResultSets from Stored Procedures

2006-08-24 Thread Kevin Williams (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-665?page=all ] Kevin Williams closed TUSCANY-665. -- Fix Version/s: Java-Mx Resolution: Fixed Verified with revision: 434527 > Support multiple ResultSets from Stored Procedures >

Re: Build error

2006-08-24 Thread Raymond Feng
Hi, Kevin. I have exactly the same env as you. But I cannot reproduce the problem. Do you run the "mvn" from the root? Can you also check what version of surefire plugin you have in the local maven repo? Thanks, Raymond - Original Message - From: "Kevin Williams" <[EMAIL PROTECTED

Re: Build error

2006-08-24 Thread Kevin Williams
Hi Raymond, I am running mvn from /java. Here is my surefire repository stuff: Thanks, --Kevin Raymond Feng wrote: Hi, Kevin. I have exactly the same env as you. But I cannot reproduce the problem. Do you run the "mvn" from the root? Can you also check what version of surefire plugin y

Re: Build error

2006-08-24 Thread Raymond Feng
Hi, Kevin. Can you zip "\java\sca\databinding\databinding-jaxb\target" folder and post it to me? Thanks, Raymond - Original Message - From: "Kevin Williams" <[EMAIL PROTECTED]> To: Sent: Thursday, August 24, 2006 7:12 PM Subject: Re: Build error Hi Raymond, I am running mvn from

Re: Avoiding extension and application scdl collisions

2006-08-24 Thread Raymond Feng
Hi, I understand we endeavor to support isolated classloading for system, extension, and application. But I think we should be able to run a SCA application with the runtime and extension jars on its classpath if the user chooses to do so. To be consistent with the SCA spec (xxx.composite),

Re: SCDL extensions to define data types for parameters and return value

2006-08-24 Thread Raymond Feng
Hi, I don't see much difference to define DataTypes for WSDL portTypes than java interfaces. If we look at the WSDL structure, we can define default DataType for a portType, an operation or a part. portType operation input: message part output: message