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

2006-08-29 Thread Liu, Jervis
Hi Raymond, I doubt there is a need to mix different data bindings for a same interface. Can someone name a valid use case, for example, different operations are using different data bindings? If we can safely assume one interface is always implemented by one specific data binding, things can

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

2006-08-29 Thread Jim Marino
Also to answer Jeremy's question raise before: I believe Celtix uses WSDL extensions for this i.e. annotations added to the WSDL or possibly the underlying XMLSchema to indicate the data binding to use. . This is not true. Celtix1.0 only supports jaxb, Hi Jervis, I thought Celtix

Fwd: svn commit: r438000

2006-08-29 Thread Jim Marino
Hi Raymond, Could you please make sure you format this code: mvn -Psourcecheck? It breaks Checkstyle. Thanks, Jim Begin forwarded message: From: [EMAIL PROTECTED] Date: August 29, 2006 1:00:16 AM PDT To: tuscany-commits@ws.apache.org Subject: svn commit: r438000 - in

Re: [C++] Build instructions on Web site

2006-08-29 Thread Andrew Borley
I think these would be a good addition to our docs. Probably best under a Development - Getting Started page rather than How to build, as they're about more than just building Tuscany C++. Andy On 8/28/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Would it make sense to publish this:

Re: [C++] Build instructions on Web site

2006-08-29 Thread Geoffrey Winn
Yes, definitely. Would it be worth adding them to the Wiki rather than the web page? That type of setup information tends to change and having it on the Wiki makes it wasier to keep up to date. Alternatively, add it to the website with a pointer to the Wiki for recent changes (or some such).

RE: Tuscany war plugin

2006-08-29 Thread Meeraj Kunnumpurath
I can help out, if no one else has volunteered yet. -Original Message- From: Jim Marino [mailto:[EMAIL PROTECTED] Sent: 28 August 2006 22:23 To: tuscany-dev@ws.apache.org Subject: Re: Tuscany war plugin Hopefully it won't be a beast ;-) On Aug 28, 2006, at 1:40 PM, Jeremy Boynes

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

2006-08-29 Thread Venkata Krishnan
Hi Raymond, How about defining databidings separately instead of embedded them as extensions to the interface.wsdl. Right now I take the case of a WSDL to express what I mean to say. In a WSDL... - the message are defined - then we have wsdl:porttype element and its children defined around

Re: Avoiding extension and application scdl collisions

2006-08-29 Thread ant elder
I don't think its promoting SCA as the successor to WSIF. Although different there is functional overlap and this is just using that to get some new people to notice Tuscany. ...ant On 8/26/06, Jim Marino [EMAIL PROTECTED] wrote: On Aug 26, 2006, at 3:33 AM, ant elder wrote: On 8/25/06,

[C++] Extension mechanism for implementations and bindings

2006-08-29 Thread Jean-Sebastien Delfino
Pete, I replicated your nice implementation extension mechanism to support binding extensions as well. All the WS binding support is now packaged in two separate ws_reference and ws_service extensions. I am able to run our Web Service end to end scenarios with this new packaging. I think

[jira] Assigned: (TUSCANY-668) Move RMIHost to Host-API project improve exception abstractions

2006-08-29 Thread ant elder (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-668?page=all ] ant elder reassigned TUSCANY-668: - Assignee: ant elder Move RMIHost to Host-API project improve exception abstractions -

Re: [C++] Extension mechanism for implementations and bindings

2006-08-29 Thread Pete Robbins
ah.. you got me! I will have to merge this with my changes that I am making. I'd hoped to get these in before you started coding again... but you never sleep! I've moved all the osoa/sca code into the cpp extension and just about have it working. I'll re-factor your binding extension changes in

[jira] Closed: (TUSCANY-668) Move RMIHost to Host-API project improve exception abstractions

2006-08-29 Thread ant elder (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-668?page=all ] ant elder closed TUSCANY-668. - Resolution: Fixed Applied, thanks for the patches Venkat. Move RMIHost to Host-API project improve exception abstractions

Jetty based standalone distribution (was: Re: Sample framework)

2006-08-29 Thread ant elder
Ok Jim, I'd like start work on getting this Jetty based standalone distribution going. Eventually I'd like a distribution which includes things like Jetty, Axis2/WS, rmi, json, groovy, javascript and spring. I'd also like some pre-installed samples, maybe in addition to the bin, boot, and

Re: [C++] Requirements for a pluggable C++ Tuscany implementation

2006-08-29 Thread Oisin Hurley
Simon - apologies I've been away from this for the last week... [deletia] ...and this is why :) There are number of responsibilities of an extension - which you accurately describe - and there are a number of responsibilities of a plugin, related to configuration and lifecycle and I think

[jira] Created: (TUSCANY-671) Port JSON-RPC binding from M1

2006-08-29 Thread Bert Lamb (JIRA)
Port JSON-RPC binding from M1 - Key: TUSCANY-671 URL: http://issues.apache.org/jira/browse/TUSCANY-671 Project: Tuscany Issue Type: Improvement Components: Java SCA JsonRpc Binding Affects Versions:

[jira] Created: (TUSCANY-672) Unable to override systemScdl in a webapp

2006-08-29 Thread Bert Lamb (JIRA)
Unable to override systemScdl in a webapp - Key: TUSCANY-672 URL: http://issues.apache.org/jira/browse/TUSCANY-672 Project: Tuscany Issue Type: Bug Components: Java SCA Common Affects

[jira] Updated: (TUSCANY-605) ImportSDOLoader ignoring schemaLocation parameter

2006-08-29 Thread Frank Budinsky (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-605?page=all ] Frank Budinsky updated TUSCANY-605: --- Component/s: Java SCA Core (was: Java SDO Implementation) Changing component to SCA. Using SCA Core, because there doesn't seem to

Re: Jetty based standalone distribution (was: Re: Sample framework)

2006-08-29 Thread Jim Marino
On Aug 29, 2006, at 4:45 AM, ant elder wrote: Ok Jim, I'd like start work on getting this Jetty based standalone distribution going. Eventually I'd like a distribution which includes things like Jetty, So what needs to be done is: 1. Add an XPath engine into core to evaluate inclusion of

Re: [C++] Build instructions on Web site

2006-08-29 Thread Oisin Hurley
On 28 Aug 2006, at 22:56, Jean-Sebastien Delfino wrote: Would it make sense to publish this: http://www.mail-archive.com/ tuscany-dev%40ws.apache.org/msg05276.html and this: http://www.mail-archive.com/tuscany-dev%40ws.apache.org/ msg05379.html on a How to build page on the Tuscany C++ Web

Re: Tuscany war plugin

2006-08-29 Thread Jeremy Boynes
Basically set up jars for the runtime rather than using war dependencies to put them in WEB-INF/lib. This would include: * Copy the webapp host jars to WEB-INF/lib * Copy the core runtime to e.g. WEB-INF/tuscany/boot * Take a set of extensions (as artifact references) and add them to e.g.

Re: Fwd: PHP support on incubator.apache.org

2006-08-29 Thread Rick
Dave, Can you give some consideration to using the Anikia processor for what your doing. I'm not saying I'm big fan of it, but since other projects are also using it maybe they too could benefit from your work? Maybe there is something you could contribute back. Just a thought.

Re: [C++] Extension mechanism for implementations and bindings

2006-08-29 Thread Pete Robbins
In your latest drop you have moved the sca-binding-webservice.xsd from the core xsd folder to 2 separate places! I believe this schema is defined by the Assembly spec so should it not be in the core? Cheers, On 29/08/06, Pete Robbins [EMAIL PROTECTED] wrote: ah.. you got me! I will have to

Re: [C++] Build instructions on Web site

2006-08-29 Thread Jean-Sebastien Delfino
Oisin Hurley wrote: On 28 Aug 2006, at 22:56, Jean-Sebastien Delfino wrote: Would it make sense to publish this: http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg05276.html and this: http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg05379.html on a How to build page on

Re: Fwd: PHP support on incubator.apache.org

2006-08-29 Thread David Wheeler
I'm going to take another look at it, but I'm not sure I will be able to get it to do things that were suggested in IRC (like have the menu/tabs change contextually) and it would take to long to try and familiarize myself with thier code and add support for something like that. On 8/29/06, Rick

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

2006-08-29 Thread Liu, Jervis
Yes, multiple databindings can be supported by different reader and writer. What I said is that the Celtix 1.0 release only includes the support for JAXB. More is being added. Jervis -Original Message- From: Jim Marino [mailto:[EMAIL PROTECTED] Sent: 2006?8?29? 15:03 To:

Re: PHP support on incubator.apache.org

2006-08-29 Thread Jeremy Boynes
On Aug 29, 2006, at 9:18 AM, David Wheeler wrote: I'm going to take another look at it, but I'm not sure I will be able to get it to do things that were suggested in IRC (like have the menu/tabs change contextually) and it would take to long to try and familiarize myself with thier code

Re: [C++] Extension mechanism for implementations and bindings

2006-08-29 Thread Jean-Sebastien Delfino
Pete Robbins wrote: [snip] Could the ws binding extension be packaged as: extensions/ ws/ reference service xsd ? Yes, looks good to me. -- Jean-Sebastien

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

2006-08-29 Thread Jim Marino
Ah o.k that clarifies things. Jim On Aug 29, 2006, at 9:17 AM, Liu, Jervis wrote: Yes, multiple databindings can be supported by different reader and writer. What I said is that the Celtix 1.0 release only includes the support for JAXB. More is being added. Jervis -Original

Re: [C++] Extension mechanism for implementations and bindings

2006-08-29 Thread Pete Robbins
ok. I have windows nearly working now! The problem was a bug in MS STL map implemenation. I had to change the way we pass the services/references maps back to be a reference then iterate over using size() rather than map.end(). As an aside I can't get the linux code to build at the moment. It

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

2006-08-29 Thread Raymond Feng
Hi, Sometimes it would be difficult to annotate the WSDL to add databinding extensions because the WSDL could be from external web services. I think your idea is similar to java annotations. Usually, the metadata in SCDL should override those from java/wsdl annotations. Thanks, Raymond

LoaderUtil missing resource exception, was Re: Can't load implementation.composite

2006-08-29 Thread Ignacio Silva-Lepe
Ok, I am being hit by this problem again, despite the temporary hack that tries the old class loader in LoaderUtil if the current class loader does not work. Furthermore, the missing resource is not an app resource any more. I am not really familiar with how class loaders are being handled.

[jira] Created: (TUSCANY-673) support scdlLocation attribute on implementation.composite

2006-08-29 Thread Jeremy Boynes (JIRA)
support scdlLocation attribute on implementation.composite Key: TUSCANY-673 URL: http://issues.apache.org/jira/browse/TUSCANY-673 Project: Tuscany Issue Type: Improvement

Re: Tuscany war plugin

2006-08-29 Thread Chris Wall
Darn good idea. Meeraj et al., let me know if you need help. I can help out w/ development or simply being a guniea pig. -Chris

[jira] Assigned: (TUSCANY-605) ImportSDOLoader ignoring schemaLocation parameter

2006-08-29 Thread Raymond Feng (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-605?page=all ] Raymond Feng reassigned TUSCANY-605: Assignee: Raymond Feng ImportSDOLoader ignoring schemaLocation parameter - Key:

[jira] Resolved: (TUSCANY-605) ImportSDOLoader ignoring schemaLocation parameter

2006-08-29 Thread Raymond Feng (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-605?page=all ] Raymond Feng resolved TUSCANY-605. -- Resolution: Fixed Fixed by http://svn.apache.org/viewvc?view=revrevision=438155 ImportSDOLoader ignoring schemaLocation parameter

[jira] Created: (TUSCANY-674) DAS: Modify test framework to facilitate support for new vendors

2006-08-29 Thread Brent Daniel (JIRA)
DAS: Modify test framework to facilitate support for new vendors Key: TUSCANY-674 URL: http://issues.apache.org/jira/browse/TUSCANY-674 Project: Tuscany Issue Type:

[jira] Updated: (TUSCANY-673) support scdlLocation attribute on implementation.composite

2006-08-29 Thread Ignacio Silva-Lepe (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-673?page=all ] Ignacio Silva-Lepe updated TUSCANY-673: --- Attachment: ImplementationCompositeLoader.patch support scdlLocation attribute on implementation.composite

[jira] Updated: (TUSCANY-673) support scdlLocation attribute on implementation.composite

2006-08-29 Thread Ignacio Silva-Lepe (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-673?page=all ] Ignacio Silva-Lepe updated TUSCANY-673: --- Attachment: ImplementationCompositeLoaderAndTest.patch support scdlLocation attribute on implementation.composite

[jira] Closed: (TUSCANY-673) support scdlLocation attribute on implementation.composite

2006-08-29 Thread Jeremy Boynes (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-673?page=all ] Jeremy Boynes closed TUSCANY-673. - Resolution: Fixed Patch applied - thanks support scdlLocation attribute on implementation.composite

Re: svn commit: r438171 - in /incubator/tuscany/java/sca/core/src: main/java/org/apache/tuscany/core/implementation/composite/ test/java/org/apache/tuscany/core/implementation/composite/

2006-08-29 Thread Jeremy Boynes
Ignacio I committed this but have a couple comments on the patch if you can address them: * rather than catch Exception can you explicitly catch MalformedURLException * rather than throw LoaderException, can you throw an InvalidValueException (with the identifier set to the name) * you

[jira] Updated: (TUSCANY-674) DAS: Modify test framework to facilitate support for new vendors

2006-08-29 Thread Brent Daniel (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-674?page=all ] Brent Daniel updated TUSCANY-674: - Attachment: tuscany674.txt I think there are further improvements to make here (such as tracking whether a database supports ResultSetMetadata), but this

Build failure

2006-08-29 Thread J T Hsiao
Hey, I was trying to build Tuscany project from java\sca directory but got the following errors. Not sure why it needs the plexus SNAPSHOT. BTW, this directory does not exist on apache m2 repo. Can someone shed some lights on this? Regards, Eric

Re: Build failure

2006-08-29 Thread Jeremy Boynes
IIRC plexus-archiver is hosted at codehaus so you need to add pluginRepository idcodehaus-snapshot/id nameCodehaus Snapshot Repository/name urlhttp://snapshots.repository.codehaus.org/url snapshots enabledtrue/enabled

Introspect WSDL to create WSDLServiceContract

2006-08-29 Thread Raymond Feng
Hi, Do we have the requirement to introspect a WSDL port type to create the corresponding WSDLServiceContract? If so, we'll probably need to add an InterfaceWSDLIntrospector as we do for java. Or do we assume we always perform WSDL2Java (statically with code-generation or dynamically with ASM

How to invoke a web service with complex types? Java object / SDO conversion?

2006-08-29 Thread Chris Wall
What are the steps to invoke a web service that requests a complex type? My client uses Java domain objects that represent web service complex types throughout the application. Does the client need to generate SDO types from the WSDL, and then convert local objects to their SDO representation

Re: Introspect WSDL to create WSDLServiceContract

2006-08-29 Thread Jeremy Boynes
On Aug 29, 2006, at 2:01 PM, Raymond Feng wrote: Hi, Do we have the requirement to introspect a WSDL port type to create the corresponding WSDLServiceContract? If so, we'll probably need to add an InterfaceWSDLIntrospector as we do for java. Yes. Or do we assume we always perform

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

2006-08-29 Thread Hasan Muhammad (JIRA)
XPATH doesnt support dots in names (treats them as indices) in Java Implementation -- Key: TUSCANY-675 URL: http://issues.apache.org/jira/browse/TUSCANY-675 Project:

Re: Build failure

2006-08-29 Thread J T Hsiao
Hi, Jeremy,Thanks, that fixed the problem. The pom that was building when the error occurred is java\sca\pom.xml. After this I was getting some test failures while building core; see attached. Not sure if the tests need to be changed or... Eric On 8/29/06, Jeremy Boynes [EMAIL PROTECTED] wrote:

Re: How to invoke a web service with complex types? Java object / SDO conversion?

2006-08-29 Thread Raymond Feng
Hi, I think it should be choice of the application to decide which databinding will be used for the client. SDO and JAXB can be two options. Can you clarify the term Java domain objects? Do you mean a bunch of java interfaces/classes generated by some Java/XML binding frameworks such as SDO,

Re: Text for main page of Tuscany website

2006-08-29 Thread haleh mahbod
Here is the final text for the website main page (including Sebastien's comments). Can someone please post it on the website while we are waiting for David to complete the prototype? Welcome to the Apache Tuscany free open source project that is licensed under version 2 of the Apache

Re: How to invoke a web service with complex types? Java object / SDO conversion?

2006-08-29 Thread Chris Wall
Hi Raymond. In our case, the client is privy to the domain objects - Java objects (interfaces/classes) - used by the web service. For example, locally the client uses org.client.Patient throughout the application. Before invoking a web service the client converts org.client.Patient to

[jira] Created: (TUSCANY-676) ImportSDOLoader: DataTypeImpl not found in XSDEcoreBuilder.typeToTypeObjectMap causes NPE (surfaced as IllegalArgumentException)

2006-08-29 Thread Chris Wall (JIRA)
ImportSDOLoader: DataTypeImpl not found in XSDEcoreBuilder.typeToTypeObjectMap causes NPE (surfaced as IllegalArgumentException) Key: TUSCANY-676

Re: svn commit: r438000

2006-08-29 Thread Raymond Feng
Hi, The rules from checkstlye are quite different than the IDE code formatter templates we were recommending. For example, the template for Eclipse sets the maximum characters per line to 150 while the checkstyle complains at 120. Which one should we follow? If it's the checkstyle, then we

Re: Proposed Final Site

2006-08-29 Thread David Wheeler
Hi, I went ahead and re-made the site around Anakia, so that it can be built and published without php. Running build.bat will produce the files in site-publish for you. The zip is attached to JIRA issue here: http://issues.apache.org/jira/browse/TUSCANY-667 -David W On 8/25/06, David Wheeler

[jira] Updated: (TUSCANY-667) New website ready to publish

2006-08-29 Thread David Wheeler (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-667?page=all ] David Wheeler updated TUSCANY-667: -- Attachment: site(8-29-06).zip I changed to the site to use Anakia. It can no be built by running build.bat/build.sh and html files will be generated in

Re: build breaks (and how to fix them)

2006-08-29 Thread Jeremy Boynes
Sounds good to me. I will start to publish unstable builds to the apache snapshot repo to help stabilize things. -- Jeremy On Aug 25, 2006, at 5:20 PM, Jim Marino wrote: Many of us have experienced build breaks over the past several weeks, particularly in the Java SCA project. I believe the

Re: svn commit: r438000

2006-08-29 Thread Jim Marino
I think it should be the checkstyle. The widest we ever went was 140 and we had a discussion on several occasions where some wanted it smaller (e.g. 80), some larger, and some didn't care. 120 seems to be a reasonable length. Do you want to update the Eclipse one? Jim On Aug 29, 2006, at

Re: Introspect WSDL to create WSDLServiceContract

2006-08-29 Thread Jim Marino
I'm in the process of getting rid of the use of Method throughout the code base and moving to ServiceContract. This will give us the ability to plug in the databinding transformers. Since this is a significant change, please bear with me as I convert over - it may take a little while.

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

2006-08-29 Thread Jim Marino
On Aug 29, 2006, at 1:55 PM, Raymond Feng wrote: Hi, I agree with you that only one databinding will be used for the same interface for most cases. I have a case that we need at least operation-level databinding. For SCA reference/service with JCA bindings, we need databindings to