Re: Running samples from inside eclipse.

2006-08-04 Thread Chiond Huang
Hi Jeremy, Can you tell us more detail for how to attach this thread? Moreover, since the current methods of running samples can usually through running the wrapped jar package of user-developed applications on launcher.jar or by extending testcase from SCATestCase. But is there a way to

Documentation Page of Tuscany Website

2006-08-04 Thread Venkata Krishnan
Hi, Now that the OSOA site is open to all and it has all specs, could we link the spec documents posted on the page http://incubator.apache.org/tuscany/documentation.html to the corresponding ones on the OSOA site. We could probably get rid of some duplication and confusions as it will be clear

RE: Running samples from inside eclipse.

2006-08-04 Thread Meeraj Kunnumpurath
Chiond, You can run the examples using the launcher with debug enabled and attach to the process from eclipse using the remote debugger (Run/Debug/Remote Java Application) Ta Meeraj -Original Message- From: Chiond Huang [mailto:[EMAIL PROTECTED] Sent: 04 August 2006 08:18 To: tuscany-d

queries

2006-08-04 Thread rakesh dash
Hi, I am trying to understand the new runtime implementation recently(I have already gone through the arch presentation of M2) . I have some basic queries to start with...Please help me in clarifying these. Thank in advance. 1. What is the meaning of autowire in ReferenceDefinition class o

Re: [jira] Created: (TUSCANY-593) Need a extendable way to register SCDL loaders

2006-08-04 Thread Venkata Krishnan
Hi Jeremy, Is what you have written out here captured somewhere. I wish we could do that on the Wiki. I went there to do it, but could not Edit. We must have page on Tuscany Architecture and Design and what you have mentioned here I would like to put under a sub-heading called 'Tuscany Extensi

Frank Budinsky/Toronto/IBM is out of the office.

2006-08-04 Thread Frank Budinsky
I will be out of the office starting 08/04/2006 and will not return until 08/22/2006. I will respond to your message when I return. For technical issues that can't wait, please contact [EMAIL PROTECTED] - To unsubscribe, e-mai

Re: DAS: Creating an empty graph

2006-08-04 Thread kelvin goodson
Brent, I'm not sure I have a full handle on your issue but I will say that I think that the creation of an empty data graph seems like a natural responsibility of a DAS. I'm afraid I haven't been following the DAS spec efforts as closely as I'd like to, so I'm guessing that when you say the "DA

SCA Default Binding

2006-08-04 Thread Venkata Krishnan
Hi Jeremy / Jim, Is there something called a 'default sca binding'. For example is the following composite valid? So does it mean that in the absence of bindings the default binding is in place which is 'default sca binding'? http://www.osoa.org/xmlns/sca/1.0"; name="CalculatorCompos

Test failure: testArtifactFoundInRepo

2006-08-04 Thread Liu, Jervis
Hi, Following test failed on my machine, it seems to be an URL decoding problem. Using following code should solve the problem: assertEquals(file.toURL().toString(), java.net.URLDecoder.decode(artifact.getUrl().toString(), "UTF-8").toString()); Running org.apache.tuscany.core.services.arti

Re: ServiceLoader.java target attribute?

2006-08-04 Thread Venkata Krishnan
Hi Jeremy / Jim, 1) Not being able to make much progress with RMI Binding as SCA service I am trying the other way SCA RMI Reference. In that I discovered that the ComponentLoader's loadReference expects a 'target' attribute similar to the case of service. I supposed this is also going to go -

[SDO for C++} Review of JIRA status

2006-08-04 Thread Geoffrey Winn
We currently have 48 JIRAs for SDO for C++ marked as unresolved. I've looked through the list and in fact 14 of them have been resolved in one way or another, as follows. 255: obsolete following M1 documentation improvements 273: patch has been applied 404: patch has been applied 443: patch ha

NPE on service binding registering autowire.

2006-08-04 Thread Rick
Hello, When loading Web Service binding I'm see the following NPE. It seems inbound wire is null at this point. Should it have been already set? My first inclination is no. But on a wsdl binding what interface needs to be registered for autowire? Do I need to from wsdl synthesize the interf

Re: NPE on service binding registering autowire.

2006-08-04 Thread Venkata Krishnan
Rick, Well, that's the problem that I started with and am yet to figure out something. I ended up creating wires in the 'build' and it crossed this. But then that might not be the right thing to do. I went ahead a bit but in vain, I am finally stuck with 'target invokers' not being set and am

Re: [SDO for C++} Review of JIRA status

2006-08-04 Thread Pete Robbins
Geoff, I'll go through, verify, then close the Jiras that are fixed. I'll take a look at the patches that have not been applied as well. Cheers, On 04/08/06, Geoffrey Winn <[EMAIL PROTECTED]> wrote: We currently have 48 JIRAs for SDO for C++ marked as unresolved. I've looked through the list

[jira] Commented: (TUSCANY-587) WSDL XSD is read incorrectly.

2006-08-04 Thread Geoff Winn (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-587?page=comments#action_12425755 ] Geoff Winn commented on TUSCANY-587: There is more to this than I first thought. The problem is exhibited by the following schema http://www.w3.org/2001/

Re: Documentation Page of Tuscany Website

2006-08-04 Thread Jeremy Boynes
Good idea - can you do a patch for this? -- Jeremy On Aug 4, 2006, at 12:18 AM, Venkata Krishnan wrote: Hi, Now that the OSOA site is open to all and it has all specs, could we link the spec documents posted on the page http://incubator.apache.org/tuscany/documentation.html to the corresp

Re: [jira] Created: (TUSCANY-593) Need a extendable way to register SCDL loaders

2006-08-04 Thread Venkata Krishnan
Hi, Thanks to Ant, now I have added some minimal content to the Wiki for SCA. Hope to add more as I get along with the understanding. - Venkat On 8/4/06, Venkata Krishnan <[EMAIL PROTECTED]> wrote: Hi Jeremy, Is what you have written out here captured somewhere. I wish we could do that on

Re: [jira] Created: (TUSCANY-593) Need a extendable way to register SCDL loaders

2006-08-04 Thread Jeremy Boynes
You should be able to edit if you have an account. There should be a Login link near the top right (or click here http:// wiki.apache.org/ws/UserPreferences), enter name password and email and CreateProfile - you should be good to go. - Jeremy On Aug 4, 2006, at 1:04 AM, Venkata Krishnan wro

URL escaping, was: svn commit: r428730 - in /incubator/tuscany/java: samples/sca/helloworldws/src/main/webapp/META-INF/sca/ sca/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/ s

2006-08-04 Thread Jeremy Boynes
Rick Not sure if you meant to commit this as part of this change - it wasn't mentioned in the commit message at all. Jervis, Another way to handle spaces in the URL which might be a little simpler is: Index: core/src/test/java/org/apache/tuscany/core/services/artifact/ LocalMavenReposit

JIRA-254

2006-08-04 Thread Kapil Katyal
Hi, I plan on working on a fix for Tuscany JIRA-254. Please let me know if there are any issues or concerns with this. Thanks, Kapil

Re: Karma for Kelvin

2006-08-04 Thread kelvin goodson
Folks, many thanks for the votes. How does it work now? I have a feeling my nominator might be expected to initiate a process or 2 to get me up and running as a committer, but Frank is now on vacation. If this is the case could I put myself up for adoption please ;-) Regards, Kelvin. On 0

[C++] M1 maintenance branch and tag

2006-08-04 Thread Jean-Sebastien Delfino
Do we need a maintenance branch for the C++ M1 release? I think it would be useful to have a branches/cpp-M1 for people who want to get the M1 source or do some maintenance work on it. If people think it's a good idea I can take care of it. What is the revision number that I should svn copy?

JIRA test cases for SDO

2006-08-04 Thread Robbie Minshall
Is there a process for creating, or rather where to put test cases for JIRA defects? Currently the test cases for SDO look somewhat disorganized. I am planning on creating a testcase for a JIRA - should I create test cases for a JIRA in a) Try to find a test case that covers specific component

Next steps, was: Karma for Kelvin

2006-08-04 Thread Jeremy Boynes
On Aug 4, 2006, at 8:29 AM, kelvin goodson wrote: Folks, many thanks for the votes. How does it work now? I have a feeling my nominator might be expected to initiate a process or 2 to get me up and running as a committer, but Frank is now on vacation. If this is the case could I pu

Re: DAS: Creating an empty graph

2006-08-04 Thread Brent Daniel
Hi Kelvin, I'm just trying to gain consensus on the programming model for the current relational DAS implementation. Now that I think about it, the ability to produce an empty graph is probably something that should apply to all DAS implementations, and should probably show up in the spec. We a

[C++] Making portable

2006-08-04 Thread Jean-Sebastien Delfino
In SCDL, elements specify the name of a DLL or shared library containing the implementation of a component. On Windows: On Linux: This is not portable, our samples currently need two different sca.module files for Windows and Linux and some magic in the build scripts to copy and use the pl

Re: [C++] M1 maintenance branch and tag

2006-08-04 Thread Pete Robbins
On 04/08/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Do we need a maintenance branch for the C++ M1 release? I think it would be useful to have a branches/cpp-M1 for people who want to get the M1 source or do some maintenance work on it. Good idea. If people think it's a good idea I

Re: [C++] Making portable

2006-08-04 Thread Pete Robbins
Sebastien, I have raised a Jira for this and have also raised it in the spec group. http://issues.apache.org/jira/browse/TUSCANY-494 My solution also adds an optional path= attribute which is a relative path (from the module root) to the dll. Cheers, On 04/08/06, Jean-Sebastien Delfino <[EMA

Re: DAS: Creating an empty graph

2006-08-04 Thread Paul Golick
On 03/08/06, Brent Daniel <[EMAIL PROTECTED]> wrote: > > Something like DAS.getEmptyGraph() would work well enough when the > information is coming to us via a set of Types, but ResultDescriptor > is scoped to Command. In that case, we would need something like > DAS.getEmptyGraph(String commandNam

Re: Karma for Kelvin

2006-08-04 Thread Kevin Williams
Hi Kelvin, I see that you already have a CLA on file. If you send me a preferred apache user name and an alternate I will get this started. Thanks, --Kevin kelvin goodson wrote: Folks, many thanks for the votes. How does it work now? I have a feeling my nominator might be expected to i

[jira] Created: (TUSCANY-595) NPE on service binding registering autowire.

2006-08-04 Thread Rick Rineholt (JIRA)
NPE on service binding registering autowire. Key: TUSCANY-595 URL: http://issues.apache.org/jira/browse/TUSCANY-595 Project: Tuscany Issue Type: Bug Reporter: Rick Rineholt

Re: NPE on service binding registering autowire.

2006-08-04 Thread cr22rc
I've opened a jira for it https://issues.apache.org/jira/browse/TUSCANY-595 so how it gets resolved should be tracked there. Venkata Krishnan wrote: Rick, Well, that's the problem that I started with and am yet to figure out something. I ended up creating wires in the 'build' and it crossed

Re: Documentation Page of Tuscany Website

2006-08-04 Thread Venkata Krishnan
Sure yes :-) - Venkat On 8/4/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote: Good idea - can you do a patch for this? -- Jeremy On Aug 4, 2006, at 12:18 AM, Venkata Krishnan wrote: > Hi, > > Now that the OSOA site is open to all and it has all specs, could > we link > the spec documents posted

Re: [jira] Created: (TUSCANY-593) Need a extendable way to register SCDL loaders

2006-08-04 Thread Venkata Krishnan
Hi Jeremy, you probably missed the mail just before. I managed to do it and have some content up the wiki already. Thanks anyways. - Venkat On 8/4/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote: You should be able to edit if you have an account. There should be a Login link near the top right

Re: Documentation Page of Tuscany Website

2006-08-04 Thread haleh mahbod
We just need to make it clear that M1 was based on .9 spec. New comers might get confused with why it is different than the latest spec. On 8/4/06, Venkata Krishnan <[EMAIL PROTECTED]> wrote: Sure yes :-) - Venkat On 8/4/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote: > > Good idea - can you do

Re: JIRA test cases for SDO

2006-08-04 Thread Kevin Williams
Robbie, Here is the process we have been using for the DAS: Our function tests are or organized by function so we have a JUnit class for each major capability such as OperationOrderingTests, RelationshipTests, etc. We also have two additional tests classes: DefectTests and CorrectedDefectTes

Re: [C++] M1 maintenance branch and tag

2006-08-04 Thread Jean-Sebastien Delfino
Pete Robbins wrote: On 04/08/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote: Do we need a maintenance branch for the C++ M1 release? I think it would be useful to have a branches/cpp-M1 for people who want to get the M1 source or do some maintenance work on it. Good idea. If people thi

How can I load SCDL into object model w/o hardcoding the loaders

2006-08-04 Thread Yang Lei
Hello, With M1 Driver, I can load a sca.module by creating a StAXLoaderRegistry and registering loaders into it. I wonder if Tuscany has a better way for me to get a StAXLoaderRegistry (or some other instance) fully loaded with all the loaders (Tuscany basics or other extensions ) so I can load

[C++] Setting svn:ignore properties

2006-08-04 Thread Jean-Sebastien Delfino
The C++ build generates many files (configure, makefiles, .o files, shared libs etc.) which should not be checked in the SVN repository. SVN can be configured to ignore these files. To do it you just need to set an svn:ignore property on the directory containing the files, like this: svn propse

Re: DAS: Creating an empty graph

2006-08-04 Thread Fuhwei Lwo
Current SDO spec working group is discussing to make DataGraph a DataObject with predefined properties, changeSummary and modelType, in future version. This could mean you can treat DataGraph as regular DataObject if you like. Not sure this is what you are looking for. Regards, Fuhw

[jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Yang ZHONG (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-576?page=comments#action_12425813 ] Yang ZHONG commented on TUSCANY-576: XSD type, element and attribute names are all xsd:NCName, that means we need to map xsd:NCName to Java class and method

adding an interceptor

2006-08-04 Thread Greg Dritschler
I am trying to understand how to add an interceptor to an invocation chain. It looks like at one point this was accomplished by a implementing a TargetPolicyBuilder and registering it with the PolicyBuilderRegistry. However in the current code base it looks to me like the PolicyBuilderRegistry is n

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Fuhwei Lwo
I remember a discussion in the past mentioned to use SDO annotation in the XSD to override the default type name for SDO codegen tool, e.g. sdoXML:name="MyNewTypeName". Can anyone verify whether this is working? Thanks. Regards, Fuhwei Lwo "Yang ZHONG (JIRA)" wrote: [ ht

[jira] Assigned: (TUSCANY-595) NPE on service binding registering autowire.

2006-08-04 Thread Jim Marino (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-595?page=all ] Jim Marino reassigned TUSCANY-595: -- Assignee: Jim Marino > NPE on service binding registering autowire. > > > Key: TUSCANY-595 >

[jira] Commented: (TUSCANY-595) NPE on service binding registering autowire.

2006-08-04 Thread Jim Marino (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-595?page=comments#action_12425824 ] Jim Marino commented on TUSCANY-595: I'll take a look. The stacktrace formatting is screwed up so here's another attempt: CompositeComponentImpl(AbstractCom

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Jeremy Boynes
On Aug 4, 2006, at 11:59 AM, Fuhwei Lwo wrote: I remember a discussion in the past mentioned to use SDO annotation in the XSD to override the default type name for SDO codegen tool, e.g. sdoXML:name="MyNewTypeName". Can anyone verify whether this is working? Thanks. How about giving

Re: adding an interceptor

2006-08-04 Thread Jim Marino
Greg, We don't have this finished yet but it would be a nice project for someone to work on, particularly since it would involve figuring out how we are going to support SCA policy. If you or someone else is interested in tackling this (or part of it) let me know and I'll help out. Jim

[jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Fuhwei Lwo (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-576?page=comments#action_12425827 ] Fuhwei Lwo commented on TUSCANY-576: I have just verified the following work. The newly generated Java class name for the Quote type will be MyQuote.java an

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Fuhwei Lwo
I have verified it works and make a comment in the JIRA. Fuhwei Lwo Jeremy Boynes <[EMAIL PROTECTED]> wrote: On Aug 4, 2006, at 11:59 AM, Fuhwei Lwo wrote: > I remember a discussion in the past mentioned to use SDO annotation > in the XSD to override the default type name for SDO codege

Re: [jira] Commented: (TUSCANY-576) Bad java class name when XSD name contains dot ('.') characters.

2006-08-04 Thread Jeremy Boynes
On Aug 4, 2006, at 12:23 PM, Fuhwei Lwo wrote: I have verified it works and make a comment in the JIRA. Thanks Fuhwei. Yang, does this resolve the issue and can we close the JIRA? -- Jeremy - To unsubscribe, e-mail: [EMAIL

[jira] Commented: (TUSCANY-595) NPE on service binding registering autowire.

2006-08-04 Thread Rick Rineholt (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-595?page=comments#action_12425828 ] Rick Rineholt commented on TUSCANY-595: --- http://rafb.net/paste/results/ousZCw40.html =-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-=

Re: How can I load SCDL into object model w/o hardcoding the loaders

2006-08-04 Thread Jeremy Boynes
On Aug 4, 2006, at 10:33 AM, Yang Lei wrote: Hello, With M1 Driver, I can load a sca.module by creating a StAXLoaderRegistry and registering loaders into it. I wonder if Tuscany has a better way for me to get a StAXLoaderRegistry (or some other instance) fully loaded with all the loader

Re: DAS: Creating an empty graph

2006-08-04 Thread Brent Daniel
Well, I'm using "DataGraph" very generally here to refer to providing a root DataObject with the appropriate set of SDO Types to a user based on information contained in the DAS. In practice the actual concept of a graph is hidden from users in the current rdb das implementation. Brent On 8/4/06

[RESULT] Re: Karma for Raymond

2006-08-04 Thread Jim Marino
Result of the vote for Raymond Feng as committer on Apache Tuscany: 9 +1s with Dan voting twice ;-): Jim Marino,Kevin Williams, Pete Robbins, Dan Kulp, Ken Tam, Jeremy Boynes, Ant Elder, Sebastien Delfino, Rick Rineholt No -1s Raymond, welcome aboard! We'll start the process of getting y

Re: [C++] Setting svn:ignore properties

2006-08-04 Thread Pete Robbins
I'll start with a clean extract, build and svn ignore the artifacts on Windows. Probably have to be on Monday now though. Thanks for sorting the linux stuff! I think running some of the sdo (and maybe sca) tests actually dumps files into the src tree so that is someting else to look out for! Che

Re: How can I load SCDL into object model w/o hardcoding the loaders

2006-08-04 Thread Yang Lei
Thanks Jeremy, Basically, what I need is something like WSDL4J , maybe a "SCDL4J", which contains the WSDL object model and a reader/writer. Tuscany already has the SCDL object model, also the loaders, I was able to manually register loaders (subclass of StAXElementLoader or AbstractLoader , itse

Re: DAS: Creating an empty graph

2006-08-04 Thread Brent Daniel
Paul, I see your point about the scoping -- but, in some sense, that's what we intend to provide here -- a DataGraph that represents the reults of a query that returns no results. When we aren't given SDO types, the structure of a DataGraph is determined by a query. I guess, to summarize, we hav

Re: How can I load SCDL into object model w/o hardcoding the loaders

2006-08-04 Thread Jim Marino
On Aug 4, 2006, at 1:27 PM, Yang Lei wrote: Thanks Jeremy, Basically, what I need is something like WSDL4J , maybe a "SCDL4J", which contains the WSDL object model and a reader/writer. Tuscany already has the SCDL object model, also the loaders, I was able to manually register loaders (s

Re: DAS: Creating an empty graph

2006-08-04 Thread Fuhwei Lwo
Hi Brent, Is this your usage scenario? 1. Create an empty data graph object without database access 2. Retrieve the metadata from the database 3. Create service data objects (SDO) based on the metadata 4. Associate the data object tree with the data graph created in #1 Fuhwei L

Re: How can I load SCDL into object model w/o hardcoding the loaders

2006-08-04 Thread Yang Lei
Thanks Jim, I used "code gen" as an example as why I need to read SCDL. It is not a requirement on Tuscany, nor I want Tuscany to trigger some operation for me during starting a SCA module component. And I was not thinking of byte code weaving , although allowing them seems cool. My requirement

Re: How can I load SCDL into object model w/o hardcoding the loaders

2006-08-04 Thread Jim Marino
On Aug 4, 2006, at 2:04 PM, Yang Lei wrote: Thanks Jim, I used "code gen" as an example as why I need to read SCDL. It is not a requirement on Tuscany, nor I want Tuscany to trigger some operation for me during starting a SCA module component. And I was not thinking of byte code weaving

Support for callbacks

2006-08-04 Thread Jim Marino
Ignacio came up with a nice design and implementation (including a presentation posted on the wiki) for callback support. I've applied the patch as well as did a bit of refactoring that I will describe below. There's still a lot of refactoring to be done and some things that we will probabl

Fwd: svn commit: r428881 - in /incubator/tuscany/java/distribution/sca: standalone/pom.xml standalone/src/main/assembly/standalone.xml web/src/main/assembly/servlet.xml

2006-08-04 Thread Jim Marino
Hi Rick, Is there a reason we want to add a dependency on Axis2 for the Tuscany standalone distribution? I was thinking the standalone version would come with very limited dependencies and based on configuration would resolve extensions. For example, what do we do for people that want to

Language neutral representation of an operation as opposed to Method

2006-08-04 Thread Jim Marino
A while back, we decided to express operations using java.lang.Method. People have raised this as an issue when dealing with implementation types that may not use Java interfaces to represent services. This has also been problematic in dealing with Java metadata, as it forces knowledge of p

Re: Language neutral representation of an operation as opposed to Method

2006-08-04 Thread Jeremy Boynes
On Aug 4, 2006, at 4:05 PM, Jim Marino wrote: A while back, we decided to express operations using java.lang.Method. People have raised this as an issue when dealing with implementation types that may not use Java interfaces to represent services. This has also been problematic in dealing w

Build fails...-Psourcecheck

2006-08-04 Thread Jim Marino
At the risk of throwing stones in a glass house (since I forget to set svn ignore), *please* remember to run mvn -Psourcecheck prior to checkins for Java SCA. The Checkstyle audit raises a significant number of formatting errors that are trivial to avoid by setting templates in an IDE. Mo

[C++] How to create an SDO DataObject representing an XSD element

2006-08-04 Thread Jean-Sebastien Delfino
Most Web Services describe their inputs and outputs with XSD elements, so I'm trying to understand how to create an SDO DataObject for such a Web Service... (I'm using the BigBank scenario to experiment with that). Here's the XSD defining the output of my Web Service: http://www.bigbank.com/Acc

Re: [C++] How to create an SDO DataObject representing an XSD element

2006-08-04 Thread Pete Robbins
In your example below the is anonymous (does not specify name=) therefore the SDO Type takes the name of the enclosing element. So the SDO Type will have Uri=http://www.bigbank.com/AccountService and Name=getAccountReportResponse Cheers, On 05/08/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]>