Re: Parameter-level databinding support

2006-09-27 Thread Jim Marino
On Sep 27, 2006, at 11:04 PM, Venkata Krishnan wrote: Hi Raymond, I agree with Jim on that the indexing is cryptic. How about this... @DataType((, )). This to me is a lot easier to follow. Raymond, to the higher level question, the example seems a bit strange so maybe you can explain it

Re: Parameter-level databinding support

2006-09-27 Thread Venkata Krishnan
Hi Raymond, I agree with Jim on that the indexing is cryptic. How about this... @DataType((, )). i.e. we specify for all arguments and the returntype. The transformer decides to transform only those whose source and target types differ. Makes sense ? Thanks - Venkat On 9/27/06, Jim Marin

Re: context propagation

2006-09-27 Thread Jim Marino
On Sep 27, 2006, at 1:42 PM, Greg Dritschler wrote: I see there is a WorkContext interface for local propagation of context between binding and runtime code and across threads. There is a work context but we're not doing much propagation right now (we will need to). Is there anything equiv

Re: interceptors and async invocation

2006-09-27 Thread Jim Marino
Hi Greg, Comments below. On Sep 27, 2006, at 1:32 PM, Greg Dritschler wrote: In the current implementation the thread switch for an asynchronous method invocation occurs after interceptors are given control. Isn't this backwards? Won't interceptors need to run on the dispatch thread to esta

Re: Transcipt of the IRC chat on PMD, checkstyle and code formatting

2006-09-27 Thread Jim Marino
O.K. I agree with the approach (sorry I had to go). Just t make sure, Raymond, you will relax mvn checkstyle as well so it doesn't issue warnings, right? Can you also catalogue (roughly) what rules are being relaxed when you do it? Also, a big thanks for volunteering to do this. Jim On S

[jira] Closed: (TUSCANY-115) Property.isMany() returns false instead of true for global properties

2006-09-27 Thread Raymond Feng (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-115?page=all ] Raymond Feng closed TUSCANY-115. > Property.isMany() returns false instead of true for global properties > - > >

[jira] Resolved: (TUSCANY-115) Property.isMany() returns false instead of true for global properties

2006-09-27 Thread Raymond Feng (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-115?page=all ] Raymond Feng resolved TUSCANY-115. -- Fix Version/s: Java-M2 (was: Java-Mx) Resolution: Fixed Patch from Yang has been applied > Property.isMany() returns false i

Transcipt of the IRC chat on PMD, checkstyle and code formatting

2006-09-27 Thread Raymond Feng
Hi, One of my question triggered a lengthy discussion on the IRC. Please see the log below. Here is a summary. 1) PMD is valuable to identify potential bugs and violations are required to be fixed before committing the code into SVN. 2) The Eclipse formatter doesn't format code in the same s

[jira] Created: (TUSCANY-759) XPath test failure with compound queries

2006-09-27 Thread Caroline Maynard (JIRA)
XPath test failure with compound queries Key: TUSCANY-759 URL: http://issues.apache.org/jira/browse/TUSCANY-759 Project: Tuscany Issue Type: Bug Components: C++ SDO Affects Versions: Cpp

[jira] Updated: (TUSCANY-699) Allow bootstrap of tuscanny from spring web apps / struts apps etc

2006-09-27 Thread Andy Piper (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-699?page=all ] Andy Piper updated TUSCANY-699: --- Attachment: spring.patch Latest version of the patch incorporating some of Jeremy's feedback. > Allow bootstrap of tuscanny from spring web apps / struts apps e

context propagation

2006-09-27 Thread Greg Dritschler
I see there is a WorkContext interface for local propagation of context between binding and runtime code and across threads. Is there anything equivalent for propagation of context across remote method invocations? I had been assuming this would be needed for conversational support, and hoping i

Re: [C++] axis heading to 0.94, making release plan

2006-09-27 Thread Pete Robbins
or even 209 ... duh! On 27/09/06, Pete Robbins <[EMAIL PROTECTED]> wrote: thanks for that... we need Jira 29 fixed. I've posted to their list. Cheers, On 27/09/06, Oisin Hurley <[EMAIL PROTECTED]> wrote: > > FYI - in case there is anything we need from them.. > > --oh > > > http://wiki.apac

Re: [C++] axis heading to 0.94, making release plan

2006-09-27 Thread Pete Robbins
thanks for that... we need Jira 29 fixed. I've posted to their list. Cheers, On 27/09/06, Oisin Hurley <[EMAIL PROTECTED]> wrote: FYI - in case there is anything we need from them.. --oh > http://wiki.apache.org/ws/FrontPage/Axis2C/releases/0.94 --

interceptors and async invocation

2006-09-27 Thread Greg Dritschler
In the current implementation the thread switch for an asynchronous method invocation occurs after interceptors are given control. Isn't this backwards? Won't interceptors need to run on the dispatch thread to establish transactional and security context, provide monitoring, etc.? Greg Dritschl

[jira] Assigned: (TUSCANY-115) Property.isMany() returns false instead of true for global properties

2006-09-27 Thread Raymond Feng (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-115?page=all ] Raymond Feng reassigned TUSCANY-115: Assignee: Raymond Feng > Property.isMany() returns false instead of true for global properties > --

Re: BigBank account service

2006-09-27 Thread Rick
The idea was for logging to be wired without changing the interfaces (as a mediator, doing its work asynchronously ). The logging to data base however included the customer id, but that was not always flowed in all operations. So the two extra methods were added to retrieve that and used in th

[C++] axis heading to 0.94, making release plan

2006-09-27 Thread Oisin Hurley
FYI - in case there is anything we need from them.. --oh http://wiki.apache.org/ws/FrontPage/Axis2C/releases/0.94 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[jira] Updated: (TUSCANY-115) Property.isMany() returns false instead of true for global properties

2006-09-27 Thread Yang ZHONG (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-115?page=all ] Yang ZHONG updated TUSCANY-115: --- Attachment: DataObjectXMLStreamReader115.patch This issue was originally created for DataObjectXMLStreamReader.java. Since we have a resolution already, it's opt

[jira] Updated: (TUSCANY-115) Property.isMany() returns false instead of true for global properties

2006-09-27 Thread Yang ZHONG (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-115?page=all ] Yang ZHONG updated TUSCANY-115: --- Attachment: IsMany115.patch IsManyTestCase.java open1any.xsd The patch is attached, along with test source java/sdo/impl/src/

[C++] SCA test suite

2006-09-27 Thread Pete Robbins
well there isn't one! I propose that we delete the existing "test" in runtime/core/test (which is basically a sample with a few bells) and replace it with a suite of "unit tests". These should be runnable form 'make check'. I think we should have tests organised alongside the src so we will have

Re: Parameter-level databinding support

2006-09-27 Thread Jim Marino
On Sep 27, 2006, at 9:32 AM, Raymond Feng wrote: Hi, It seems that we have to revisit this issue again. During past discussions, we thought it would be sufficient to only support interface and operation level databinding declarations and assumed that mixed databindings on the same operat

Re: Java SDO Question - Should automatically add new root element during serialization or not?

2006-09-27 Thread Frank Budinsky
I think that both load() and save() should demand-create the global property if necessary. I would suggest that we wait until we get all the SDO 2.1 open content properties support working, and then we can fix this using it. Frank. Fuhwei Lwo <[EMAIL PROTECTED]> wrote on 09/27/2006 11:43:00 AM

Re: BigBank account service

2006-09-27 Thread Ignacio Silva-Lepe
So, the basic idea was that AccountDataServiceDASImpl should implement both AccountDataService and CustomerIdService, but @Service was not able to handle a list of more than one interface. Also notice that CustomerIdService includes most of what is in AccountDataService instead of extending it,

[C++] [SDO] Re: svn commit: r449323 - writing xsi:type

2006-09-27 Thread Pete Robbins
The logic for when to write xsi:type was incorrect. I have now fixed this and re-gen'd the sdo test output files. Cheers, On 23/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Author: jsdelfino Date: Sat Sep 23 15:51:30 2006 New Revision: 449323 URL: http://svn.apache.org/viewvc?view=rev

Re: Is there a checkstyle-compliant java code formatter for Eclipse?

2006-09-27 Thread Jim Marino
:-) I can't believe Eclipse doesn't know how to do indentations...there has got to be a way to configure it properly. Raymond, what specifically does not work? Dan has never complained about Eclipse so maybe he could shed some light on this as well? Jim On Sep 27, 2006, at 8:55 AM, ant el

Re: Comment on SDO overview from Tuscany site

2006-09-27 Thread Luciano Resende
I'm not saying this is/was Java only, just suggesting it could be somewhere else other then on the first page. The java overview was just an example, but maybe java and c++ overview could link to a page describing the sdo object model and then it would bring up your class diagram page... and then

Re: Queries related to Component Property Loading

2006-09-27 Thread Raymond Feng
Hi, Venkat. Sorry for not responding promptly. Please go ahead to make the changes as we discussed and I'll help if necessary. I have attached some code that you may be able to cut and paste into your code. Thanks, Raymond - Original Message - From: "Venkata Krishnan" <[EMAIL PROT

Parameter-level databinding support

2006-09-27 Thread Raymond Feng
Hi, It seems that we have to revisit this issue again. During past discussions, we thought it would be sufficient to only support interface and operation level databinding declarations and assumed that mixed databindings on the same operation was crazy :-). I now have difficulties to identify

Re: Comment on SDO overview from Tuscany site

2006-09-27 Thread Yang ZHONG
Thank Kelvin for diagram(s) input, I'll update the demo once I receive the concrete changes for sending which thank Kelvin again. Thank Luciano and Kelvin for suggesting reducing overview content. Do you have concrete instructions please? Otherwise, how about removing "SDO offers a convenient way

[jira] Resolved: (TUSCANY-705) XMLHelperImpl::createDocument() gives invalid XML when the element has xsi:nil=true

2006-09-27 Thread Pete Robbins (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-705?page=all ] Pete Robbins resolved TUSCANY-705. -- Fix Version/s: Cpp-current Resolution: Fixed Applied Geoff's final patch. > XMLHelperImpl::createDocument() gives invalid XML when the element has

[jira] Updated: (TUSCANY-705) XMLHelperImpl::createDocument() gives invalid XML when the element has xsi:nil=true

2006-09-27 Thread Geoff Winn (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-705?page=all ] Geoff Winn updated TUSCANY-705: --- Attachment: TUSCANY-705-pr.patch This patch corrects some errors in test output files and supersedes the previous one posted here. Built and tested on XP with M

[jira] Closed: (TUSCANY-758) Handle databases that don't support generated keys

2006-09-27 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-758?page=all ] Brent Daniel closed TUSCANY-758. Resolution: Fixed > Handle databases that don't support generated keys > -- > > Key: TUSCANY-75

BigBank account service

2006-09-27 Thread Luciano Resende
After looking at BigBank article and comparing with the current implementation available in Tuscany i have the following question : BigBank article : http://download.boulder.ibm.com/ibmdl/pub/software/dw/specs/ws-sca/SCA_BuildingYourFirstApplication_V09.pdf Today, AccountService is implemented t

Re: Is there a checkstyle-compliant java code formatter for Eclipse?

2006-09-27 Thread ant elder
Donning a very very thick flame proof suit...or we could relax the formatting requirements so that the eclipse template works ok :) ...ant (now runs to hide) On 9/27/06, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, Does any of you happen to know there is a checkstyle-complaint java code for

Re: build error newbie question

2006-09-27 Thread ant elder
Hi Chris, this was due to a recent move of the databinding framework to the core, the dependency is no longer required. I've updated the sample so it doesn't look for it. Things should work if you refresh the code and try again now. Sorry for the inconvenience. ...ant On 9/27/06, Chris Downey

Re: Java SDO Question - Should automatically add new root element during serialization or not?

2006-09-27 Thread Fuhwei Lwo
Hi Kelvin, Based on your experiment, that means XMLHelper.save() did not automatically add the "fred" as a new global element to the type registry. That's why it cannot be recognized during loading. In this case, I suggest XMLHelper.save() throws an exception to indicate "fred" is n

Is there a checkstyle-compliant java code formatter for Eclipse?

2006-09-27 Thread Raymond Feng
Hi, Does any of you happen to know there is a checkstyle-complaint java code formatter available for Eclipse? I'm being burnt to maually format the code so that it can pass the checkstyle audit espcially for the identations. I have tried to customize the template from Tuscany SVN but I couldn't

[jira] Assigned: (TUSCANY-758) Handle databases that don't support generated keys

2006-09-27 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-758?page=all ] Brent Daniel reassigned TUSCANY-758: Assignee: Brent Daniel > Handle databases that don't support generated keys > -- > > Ke

[jira] Created: (TUSCANY-758) Handle databases that don't support generated keys

2006-09-27 Thread Brent Daniel (JIRA)
Handle databases that don't support generated keys -- Key: TUSCANY-758 URL: http://issues.apache.org/jira/browse/TUSCANY-758 Project: Tuscany Issue Type: Bug Components: Java DAS RDB

Re: Java SDO Question - Should automatically add new root element during serialization or not?

2006-09-27 Thread kelvin goodson
Hi Fuhwei, sorry to take so long to get this, but I needed to experiment. I've been adapting XSDHelperTestCase to see what we have, and I think that with the current state of the implementation for your scenario a regeneration of the XSD after a save would not help in being able to load the s

Re: Expose a simple Java component into SCA runtime

2006-09-27 Thread Jim Marino
Hi Sam, I'm not sure I follow your question but I believe you are asking about how the SCA Java programming model works. The literature could be better but I would point you to the SCA specs and white papers found at www.osoa.org. Also, we have a few samples (I believe even a calculator)

Re: Why do we need binding.sca?

2006-09-27 Thread scabooz
I think that summarizes the points of discussion/contention. I'm not sure that you were convinced about a particular point, so let's make sure that JIRAs/spec issues are opened as appropriate. You mentioned spec issue 44, which I believe is surfacing and attempting to resolve all the points but t

build error newbie question

2006-09-27 Thread Chris Downey
Hello All - total newbie to Tuscany here. Can somebody point me in the right direction to fix my build? I'm confused as to what the fundamental problem is. For example, I don't understand why the artifact is missing from 3 repositories, nor am I sure where to find it manually on the project web

Expose a simple Java component into SCA runtime

2006-09-27 Thread Sam J Thambu
Hello people, I saw Apache Tuscany project and i was impressed to it. I am a kid in open source . I like to ask this : If i am going to write a simple(arithmetic) addition program in Java how am i suppose to expose it to SCA runtime of Tuscany. It would be great if you guys please shed some

Re: Samples on Tuscany Standalone

2006-09-27 Thread Ignacio Silva-Lepe
Hmmm, this is interesting. I get a very similar exception trying to run the helloworlswsclient sample (after renaming the test case so that it can be run): --- T E S T S --- Running helloworl

Re: [C++] Plan for an M2 release

2006-09-27 Thread Andrew Borley
Hi, With my spiffy new Release Manager hat on, I've put up everything we've listed in this thread at http://wiki.apache.org/ws/Tuscany/TuscanyCpp/Tasks - we now need to decide what's [IN] or [OUT] for the release. My comments inline below. On 9/27/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]>

Samples on Tuscany Standalone

2006-09-27 Thread Venkata Krishnan
Hi Jeremy and others working on samples ... could you please help with this :) I am trying to bring up the RMI samples and am trying to deploy a RMI Service in one standalone tuscany runtime. Then I start another standalone that uses a RMI Reference to this RMI Service. In this regard, could yo

Re: [C++/Interop] WS-based interop test added

2006-09-27 Thread Andrew Borley
On 9/26/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Simon Laws wrote: > On 9/26/06, Andrew Borley <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> >> I've just checked some code in at >> >> http://svn.apache.org/repos/asf/incubator/tuscany/cpp/sca/test/ws.service.interop/ >> >> that does so

Re: Comment on SDO overview from Tuscany site

2006-09-27 Thread kelvin goodson
Sorry Yang, one further thought on the UML diagram is that you have labelled the link between DataObject and ChangeSummary as "changeSummary", which might lead the user to think that changeSummary is an instance member of DataObject and that they could somehow simply trigger a non-null insta

Re: Comment on SDO overview from Tuscany site

2006-09-27 Thread kelvin goodson
Hi Yang, thanks for that. A few comments ... - i agree with Luciano that we are trying to get too much on the overview page - it would be nice to take more control of the layout, particularly so that the single lines of text associated with images are clearly associated with those images and ma

Re: IRC chat on JMS binding integration with databinding

2006-09-27 Thread ant elder
Reading that chat it wasn't so clear what is trying to be supported, maybe some use cases could be listed before this gets too complicated. Tuscany sending and receiving simple JMS text messages containing XML to/from existing legacy JMS destinations was mentioned and that seems reasonable to me

RE: [jira] Updated: (TUSCANY-753) JMS Binding

2006-09-27 Thread Meeraj Kunnumpurath
ActiveMQ even allows receiving and sending messages from a Telnet prompt :-) -Original Message- From: Jeremy Boynes [mailto:[EMAIL PROTECTED] Sent: 26 September 2006 21:40 To: tuscany-dev@ws.apache.org Subject: Re: [jira] Updated: (TUSCANY-753) JMS Binding On Sep 26, 2006, at 1:34 PM, I

Re: [C++] SDO build options, was: Building extensions optionally

2006-09-27 Thread Pete Robbins
On 26/09/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Now that our SCA build is modular, how about doing something similar to our SDO build? What do you guys think about the following options? --enable-axiom to make the dependency on Axis2 optional --enable-stdcxx any other one? Thoug