Re: @Conversational + @Scope(REQUEST) Test

2007-09-04 Thread Simon Laws
On 9/4/07, JunJie Nan [EMAIL PROTECTED] wrote: I tried to make some sense on @Conversational and @Scope(REQUEST), but failed. The error message: java.lang.ClassCastException: java.lang.String incompatible with java.lang.Thread at

RE: Tuscany Native (C++) : Implementing references across Composites]

2007-09-04 Thread Sameer Atre
Sorry this was my original message /I have a component A in a composite B. I also have a component C in another composite D A service in B.A needs to access methods in service D.C. Can I define reference in A to C in A's composite and ComponentType file. I tried to do this but I got a Wire

Re: Where could I found the source in the package of org.apache.tuscany.das.rdb.config

2007-09-04 Thread Amita Vadhavkar
Hi, When you extract the src and do mvn build, all these files will get generated. There is a sdo-plugin used (see pom.xml) which does xsd2java generation. So in the src zip, the xsds will be there but not the java files. If you take the bin zip , you will get the class files for these. Regards,

Re: How to deal with the DateTime field in DAS ?

2007-09-04 Thread Amita Vadhavkar
Hi, java.sql.Types.DATE, TIME and TIMESTAMP maps to commonj.sdo.Date. Also see, KennelTests.testSimple5() for an example of using Timestamp - https://svn.apache.org/repos/asf/incubator/tuscany/java/das/rdb/src/test/ Regards, Amita On 9/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All

Referencing an external WebService

2007-09-04 Thread Marco Dalco
Hi, I am trying to reference an external WebService, hosted on JBoss from Tuscany. The WebService on JBoss is an EJB with a @WebService annotation. Using a tool like SoapUI to access the WebService works fine. From Tuscany it doesn't work, but I can see (using an intermediate logging proxy

Re: Having problem with null values in my DAS

2007-09-04 Thread litaojian
You could check the config file , maybe has the command definition , omit the table definition, for example : config Command name=getAll SQL=select * from DEMO kind=Select resultDescription ./ . /Command Table tableName=DEMO Column

Re: @Conversational + @Scope(REQUEST) Test

2007-09-04 Thread Simon Laws
On 9/4/07, Simon Laws [EMAIL PROTECTED] wrote: On 9/4/07, JunJie Nan [EMAIL PROTECTED] wrote: I tried to make some sense on @Conversational and @Scope(REQUEST), but failed. The error message: java.lang.ClassCastException: java.lang.String incompatible with java.lang.Thread at

Re: SDO C++ M3 :: Tests passed: 100/118

2007-09-04 Thread Pete Robbins
Stansilaw, I have not seen these patces submitted and we can only accept them if they are attached to a Jira with the Licence to Apache checkbox ticked. Please let me know which Jira's these patches belong to. I don't recall seeing a memory leak defect. If you want an M3 + several bug fixes

Re: Referencing an external WebService

2007-09-04 Thread Raymond Feng
Hi, It seems that you hit a bug reported by https://issues.apache.org/jira/browse/TUSCANY-1646. As a result, we generate the WSDL from the java interface and it ends up with a similar but different WSDL. Thanks, Raymond - Original Message - From: Marco Dalco [EMAIL PROTECTED] To:

Re: Referencing an external WebService

2007-09-04 Thread Simon Laws
On 9/4/07, Raymond Feng [EMAIL PROTECTED] wrote: Hi, It seems that you hit a bug reported by https://issues.apache.org/jira/browse/TUSCANY-1646. As a result, we generate the WSDL from the java interface and it ends up with a similar but different WSDL. Thanks, Raymond - Original

RE: Help with Tuscany Customer's Demo using MySQL

2007-09-04 Thread Eborn, Eric D
Update: I bypassed these errors as I will explain below. NOW I have new errors :) It seems to start running correctly, I've confirmed that it creates the dastest table CUSTOMER. And fills it with 4 records. However, it fails in CustomerClient.java at the line: '171 newCustomer.setInt(ID, 5);'

RE: Help with Tuscany Customer's Demo using MySQL

2007-09-04 Thread Eborn, Eric D
I never explained how I got over the other errors... sorry. Basically I just had to peck at the Customers.xml config file. It seems rather outdated, perhaps someone could permanently modify the example download for future users, I made the following changes: ConnectionInfo

Re: Help with Tuscany Customer's Demo using MySQL

2007-09-04 Thread Luciano Resende
Thanks Eric, I'll update the customer.xml and steps on the readme for better/simpler support of MySQL On 9/4/07, Eborn, Eric D [EMAIL PROTECTED] wrote: I never explained how I got over the other errors... sorry. Basically I just had to peck at the Customers.xml config file. It seems rather

Re: @Conversational + @Scope(REQUEST) Test

2007-09-04 Thread Simon Laws
On 9/4/07, Raymond Feng [EMAIL PROTECTED] wrote: More comments inline. Thanks, Raymond - Original Message - From: Simon Laws [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Sent: Tuesday, September 04, 2007 10:37 AM Subject: Re: @Conversational + @Scope(REQUEST) Test On

Re: @Conversational + @Scope(REQUEST) Test

2007-09-04 Thread Simon Laws
On 9/4/07, Simon Laws [EMAIL PROTECTED] wrote: On 9/4/07, Raymond Feng [EMAIL PROTECTED] wrote: More comments inline. Thanks, Raymond - Original Message - From: Simon Laws [EMAIL PROTECTED] To: tuscany-user@ws.apache.org Sent: Tuesday, September 04, 2007 10:37 AM

Re: @Conversational + @Scope(REQUEST) Test

2007-09-04 Thread JunJie Nan
Hi JunJie I looks like you've found a bug. Can you raise a JIRA for this and I'll take a look at it. Thanks Simon Opened: *TUSCANY-1660 http://issues.apache.org/jira/browse/TUSCANY-1660* -- Cheers Jun Jie Nan ∧ ∧�� ミ^ō^ミ灬)~