Re: Returning complex types from a service

2007-07-15 Thread Mike Edwards

Rob,

I'm having a bit of trouble understanding exactly what you are trying to 
do.  Could you post some of your code so that we get a better idea of 
what is going on, please?



Yours,  Mike.

Robert Young wrote:

Hi,

I am running Tuscany within a Tomcat web project and I am getting the
following exception
Caused by: java.lang.NullPointerException
   at 
commonj.sdo.impl.HelperProvider.getDefaultContext(HelperProvider.java:379)

   ...
I am guessing this is to do with trying to return a complex type from
one of my services which is being exposed over JSONRPC. In this
situation do I have to use SDO or are there other, simpler options?

Cheers
Rob

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [DAS] XQuery-DAS

2007-07-15 Thread Amita Vadhavkar

Hi,
Yes, Saxon was suggested by Ant also before and it has saxon-b as freeware.
Anybody please any comment on any licensing restrictions? Also I was just
giving a try to DB2 Express XQuery support. There are a couple of others
listed in June
15 mail, in this same thread. Saxon will be a good choice from XQJ
compliance point too.
(I will be able to upload a patch in 1-2 days time on the top of what
is there in
https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/lresende/das/
with some documentation to continue design discussion)

Regards,
Amita

On 7/13/07, Doug Tidwell [EMAIL PROTECTED] wrote:


Gang, how is XPath support implemented today?  I've looked at the code
briefly in the past, but couldn't make sense of it.  I was hoping that
XPath support came from the Xalan jar files.  If that were true, it would
be a SMOP to replace the Xalan XPath libraries with the Saxon libraries.
Saxon supports XSLT 2.0, XPath 2.0 and XQuery.

That's a straightforward approach to leveraging someone else's excellent
work, although I don't know if Saxon's license would be compatible.

Anyway, if somebody knows how XPath is implemented now, that would be a
start towards figuring out how to plug in an XQuery engine.

Cheers,
-Doug


Re: Using Tuscany for dynamic component loading

2007-07-15 Thread shaoguang geng
Write your own composite files then. SCADomain looks for them in you classpaths.
   
  Dynamc is something you could do with Tuscany, but not recommended, that is 
out of the scope of SCA.

Peizhao Hu [EMAIL PROTECTED] wrote:
  Hi All,

I am wondering whether the Tuscany is able to perform dynamic component 
loading at runtime. I would like to have the Tuscany runtime as an 
execution environment for my service components to be composed on the 
fly. Firstly, can i do it?

also, another thing is that when I run the calculator example, it 
specifies a composite file for service components. what happen if I want 
to write my own program, how can I tell the Tuscany runtime where to 
look for this composite file?

-- 
regards;

Peizhao


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



   
-
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

Re: puzzle from a fresh

2007-07-15 Thread shaoguang geng
Thanks first. But the point is: The BigBank sample will refer to a class in 
1.0M2(older), and this class does not exists in 0.9 or svn.
  Name of the class is org.apache.tuscany.api.annotation.DataType.
  

Raymond Feng [EMAIL PROTECTED] wrote:
  Hi,

It seems that you was confused by two versions: 0.90-incubating and 
1.0-incubator-M2. The fact is that 0.90-incubating is newer than 
1.0-incubator-M2. Please use version 0.90-incubating.

Thanks,
Raymond

- Original Message - 
From: shaoguang geng 
To: 
Sent: Monday, July 09, 2007 1:33 AM
Subject: puzzle from a fresh


A little confused: svn structure just like version 0.9 src, but 1.0-M2 
likes a new file structure!

 When I compile bigbank sample from svn, O, beside of a lot of mis 
 versioning, the very problem is that the generated java codes imports 
 org.apache.tuscany.api.annotation.DataType, which is not one of the svn 
 and 0.9, but is a class of 1.0-M2.

 I may figure it as a missing work on the svn tree, or, were I made a 
 mistake some where, please tell me.

 THANKs.


 -
 Shape Yahoo! in your own image. Join our Network Research Panel today! 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  
-
Looking for earth-friendly autos? 
 Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.  

Re: SDO Java 1.0-incubating release candidate 1

2007-07-15 Thread Raymond Feng

Hi,

I would like to see the following JIRAs fixed before the 1.0 release.

https://issues.apache.org/jira/browse/TUSCANY-1110
https://issues.apache.org/jira/browse/TUSCANY-1436

Thanks,
Raymond

- Original Message - 
From: kelvin goodson [EMAIL PROTECTED]

To: Tuscany Users tuscany-user@ws.apache.org
Sent: Tuesday, July 10, 2007 2:38 PM
Subject: SDO Java 1.0-incubating release candidate 1



I've posted an RC1 of SDO Java  1.0-incubating at  [1]
Maven artifacts for the release candidate are available at [2]
I cut a branch for this release at [3]

Please take a look at this release candidate.  There are a few more fixes
due to go into the release,  which should be ready by the end of this 
week,

so there will be a respin of this candidate,  but I'd particularly like to
get feedback on the structure of the distribution,  as a lot has changed 
in

this respect since the beta1.  Also please feed back on the install, build
and run samples instructions since these have all changed too.

Best Regards, Kelvin.

[1] http://people.apache.org/~kelvingoodson/sdo_java/1.0-incubating/RC1/
[2] http://people.apache.org/~kelvingoodson/repo/
[3]
http://svn.apache.org/repos/asf/incubator/tuscany/branches/sdo-1.0-incubating/




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SDO Java 1.0-incubating release candidate 1

2007-07-15 Thread Luciano Resende

Hi

  I'd like to see the stax dependency issue resolved, otherwise we
are going to have issues with DAS and possibly CTS releases that are
based on SDO 1.0 release.


On 7/15/07, Raymond Feng [EMAIL PROTECTED] wrote:

Hi,

I would like to see the following JIRAs fixed before the 1.0 release.

https://issues.apache.org/jira/browse/TUSCANY-1110
https://issues.apache.org/jira/browse/TUSCANY-1436

Thanks,
Raymond

- Original Message -
From: kelvin goodson [EMAIL PROTECTED]
To: Tuscany Users tuscany-user@ws.apache.org
Sent: Tuesday, July 10, 2007 2:38 PM
Subject: SDO Java 1.0-incubating release candidate 1


 I've posted an RC1 of SDO Java  1.0-incubating at  [1]
 Maven artifacts for the release candidate are available at [2]
 I cut a branch for this release at [3]

 Please take a look at this release candidate.  There are a few more fixes
 due to go into the release,  which should be ready by the end of this
 week,
 so there will be a respin of this candidate,  but I'd particularly like to
 get feedback on the structure of the distribution,  as a lot has changed
 in
 this respect since the beta1.  Also please feed back on the install, build
 and run samples instructions since these have all changed too.

 Best Regards, Kelvin.

 [1] http://people.apache.org/~kelvingoodson/sdo_java/1.0-incubating/RC1/
 [2] http://people.apache.org/~kelvingoodson/repo/
 [3]
 http://svn.apache.org/repos/asf/incubator/tuscany/branches/sdo-1.0-incubating/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



no download

2007-07-15 Thread brandon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi, it seems downloading the linux version of native sca is broken
(connection times out).  It is Jul 15, 5:14 Pacific Standard Time in the US.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGmriiBNixocndrn0RApGmAKC2/5y+CWlbh4RNaSq18Jb4wVSMUgCdF6N9
tkE55IMdll4T8RT18rfr04s=
=sX9C
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]