Re: Binding Context?

2006-09-13 Thread ant elder
On 9/13/06, Jeremy Boynes [EMAIL PROTECTED] wrote: I think this can be done using normal SCA components whose service interfaces have parameters that are IT data objects - for example, Peter's router could be passed a SDO DataObject containing the full message (with headers) or an alternative

Script components using untyped properties, references etc (was: Re: Ruby extension, was Re: Ruby for the Java runtime? (was: Re: [C++] Beginning of a Ruby extension available)

2006-09-13 Thread ant elder
The C++ containers allow script components to use things like properties which are untyped, I'd really like to also support this for the Java runtime as fits in well with the untyped dynamic nature of scripting languages. I'd looked at this before but it didn't seem so easy to do with the old M1

RE: Sample components

2006-09-13 Thread Meeraj Kunnumpurath
Rick, Is it still worth factoring out the components to a different project and giving the option to the ones who build the samples to reuse them based on dependency or just copy and paste? Also, is it worth considering using the calculator component consistently through the samples instead of

Re: Sample components

2006-09-13 Thread ant elder
I quite like this suggestion to use calculator instead of helloworld. Unlike helloworld it demonstrates things like assembly, properties and references, but is still simple enough to be easy to understand. The doc or tutorials could maybe still start with a helloworld example. I also tend to

Re: [C++] Loading the PHP extension on Linux, was: [C++] First pass PHP extesion

2006-09-13 Thread Simon Laws
On 9/12/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: On 9/8/06, Simon Laws [EMAIL PROTECTED] wrote: On 9/8/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: Earlier I created a patch for a first pass at a PHP extension for C++ SCA (

Re: Sample components

2006-09-13 Thread Venkata Krishnan
+1 for the Calculator Sample With respect to reuse, I am imagining as follows: - - that overall there is a directory called 'sample\interface' that will contain all service interfaces (java, wsdl and so on ) that are going to used in the samples - that there is another directory 'sample\impl'

[jira] Updated: (TUSCANY-717) Source code changes required by Apache stdcxx library

2006-09-13 Thread Geoff Winn (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-717?page=all ] Geoff Winn updated TUSCANY-717: --- Attachment: TUSCANY-717.patch Built and tested without problems on XP with VC6 and 7 and on RHEL 3 Source code changes required by Apache stdcxx library

Refactoring commonality amongst Script containers in Java SCA

2006-09-13 Thread Venkata Krishnan
Hi Ant, Sequel to our last chat over IRC I took a look at your Sandbox. I am able to understand all of what you have done there. A couple of thoughts / questions ... - So would it be that we just have this one 'ScriptContainer' that will take care of javascript, ruby, groovy. - Would it be

Re: [jira] Commented: (TUSCANY-719) Exception in SDO runtime on Windows using VC++ Express 2005

2006-09-13 Thread Geoffrey Winn
That's a shame. OK. I guess I'll have to do it the hard way and install VC++ Express. On 12/09/06, Jean-Sebastien Delfino (JIRA) tuscany-dev@ws.apache.org wrote: [ http://issues.apache.org/jira/browse/TUSCANY-719?page=comments#action_12434304] Jean-Sebastien Delfino commented on

Re: [C++] Adding -lxml2 to link libtuscany_sdo.so on Linux

2006-09-13 Thread Geoffrey Winn
I agree with that change. It is certainly linked as part of the build on MSVC++ so I don't see why it wouldn't be on Linux. Geoff. On 12/09/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Hi, On Linux, shared library libtuscany_sdo.so references symbols from libxml2.so but is not linked

Re: Binding Context?

2006-09-13 Thread Peter Cousins
Jeremy Boynes wrote: What concerns me is leaking wiring information to the component implementations. That basically violates the entire goal of SCA assembly as it puts wiring and infrastructure back into application code. What Peter is describing sounds more like an infrastructure

RE: Binding Context?

2006-09-13 Thread Peter Cousins
I have another usage scenario to show why this needs to be accessible to application developers (with the same caveat that it should be partitioned into an aspect or similar construct), as opposed to just framework developers is audit trail. It is common in financial services to log connection

Re: Sample components

2006-09-13 Thread Rick
I think this is preferable to keep the helloworld samples simple and self contained for those just getting on board with SCA to learn from. Use the calculator samples to start using more advanced and possible component reuse across samples. It's also not firm in my mind given the two proposals

RE: Binding Context?

2006-09-13 Thread Meeraj Kunnumpurath
I think business components that are totally agnostic to the mechanisms of the underlying framework shouldn't have any context information from the binding. However, we could have an optional callable interface that can be implemented as a component if one needs contextual information from the

RE: Sample components

2006-09-13 Thread Meeraj Kunnumpurath
Ok, I will try to write something up and post it to the list ... Ta -Original Message- From: Rick [mailto:[EMAIL PROTECTED] Sent: 13 September 2006 13:15 To: tuscany-dev@ws.apache.org Subject: Re: Sample components I think this is preferable to keep the helloworld samples simple and

Re: Tomcat Integration

2006-09-13 Thread Rick
This no longer reflects what is in the HEAD of SVN, I'm not sure it even is accurate for M1 download. For the M1 download I'd use documentation that came with it. For current SVN this is how I understand what will make it work currently: Get a vanilla tomcat. unzip your web application war in

Re: [C++] Python extension available

2006-09-13 Thread Andrew Borley
Hi all, I've just checked in code to support SCA clients written in Python and references in Python components. The updated PythonCalculator sample under

Re: Ruby for the Java runtime? (was: Re: [C++] Beginning of a Ruby extension available)

2006-09-13 Thread ant elder
Venkat, on IRC we were talking about how to introspect JRuby components, after playing about with this i think you can call getMetaClass().getMethods() on the IRubyObject rubyInstance. That gives a map of the methods and it looks like that includeds a method name ending in = for the attr_writer

Failure building binding for Axis2

2006-09-13 Thread Ignacio Silva-Lepe
After getting a newer copy of axiom-api-SNAPSHOT.jar in my repo, to get rid of a previous class not found error involving java.lang.NoClassDefFoundError: org/apache/axiom/om/util/StAXUtils, now I get the error below. Any help is appreciated, as I am trying to get the Axis2 binding to build with

[jira] Resolved: (TUSCANY-691) Paramater name interface appearc in the code which upsets VC7 2002

2006-09-13 Thread Andrew Borley (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-691?page=all ] Andrew Borley resolved TUSCANY-691. --- Fix Version/s: Cpp-current Resolution: Fixed Assignee: Andrew Borley Fixed Paramater name interface appearc in the code which upsets

Re: Sample components

2006-09-13 Thread Jeremy Boynes
On Sep 13, 2006, at 2:09 AM, Venkata Krishnan wrote: +1 for the Calculator Sample With respect to reuse, I am imagining as follows: - - that overall there is a directory called 'sample\interface' that will contain all service interfaces (java, wsdl and so on ) that are going to used in

[jira] Assigned: (TUSCANY-680) Add Python implementation binding

2006-09-13 Thread Andrew Borley (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-680?page=all ] Andrew Borley reassigned TUSCANY-680: - Assignee: Andrew Borley Add Python implementation binding - Key: TUSCANY-680

[jira] Commented: (TUSCANY-680) Add Python implementation binding

2006-09-13 Thread Andrew Borley (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-680?page=comments#action_12434445 ] Andrew Borley commented on TUSCANY-680: --- Added references and client support in r442975 Add Python implementation binding

[jira] Commented: (TUSCANY-91) Replace Tuscany-model.config with import.wsdl

2006-09-13 Thread Andrew Borley (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-91?page=comments#action_12434446 ] Andrew Borley commented on TUSCANY-91: -- We now automatically load all .wsdl and .xsd files we can find in a package tree - so no requirement for import.wsdl.

Re: Failure building binding for Axis2

2006-09-13 Thread Jeremy Boynes
It works for me - you may need newer versions of Axis or something. I'm on IRC if that would help work through this. -- Jeremy On Sep 13, 2006, at 6:54 AM, Ignacio Silva-Lepe wrote: After getting a newer copy of axiom-api-SNAPSHOT.jar in my repo, to get rid of a previous class not found error

Java SDO M2 release documentation

2006-09-13 Thread kelvin goodson
I volunteered on the IRC chat the other day to handle the creation of a Java SDO release to go with the SCA release before ApacheCon. One thing we need to think about is any documentation that needs to be created / updated. Off the top of my head as a starting list we would need to update the

RE: Binding Context?

2006-09-13 Thread Liu, Jervis
Hi, I understand there is an on-going process in the spec group to define a JAX-WS integration with SCA, it would be interesting to look into this context issue from the aspect of JAX-WS services. According to JAX-WS spec, a thread local WebServiceContext object needs to injected into an

Re: Java SDO M2 release documentation

2006-09-13 Thread Frank Budinsky
Here is a list of the new function and bug fixes for the M2 release. I created it by summarizing all the JIRAs and SVN commits since M1. If anyone knows of anything that I missed in this list, please let me know. Thanks, Frank. kelvin goodson [EMAIL PROTECTED] wrote on 09/13/2006 10:31:05

Re: [C++] Python extension available

2006-09-13 Thread Jean-Sebastien Delfino
Andrew Borley wrote: Hi all, I've just checked in code to support SCA clients written in Python and references in Python components. The updated PythonCalculator sample under

[jira] Updated: (TUSCANY-642) Composite references and services - model and runtime representations

2006-09-13 Thread Ignacio Silva-Lepe (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-642?page=all ] Ignacio Silva-Lepe updated TUSCANY-642: --- Attachment: CommentsOut.patch Trivial change to remove some commented out code Composite references and services - model and runtime

Axis2ServiceTestCase

2006-09-13 Thread Ignacio Silva-Lepe
I noticed that the first statement in Axis2ServiceTestCase is 'if (true) return;'. Any pointers into what the problem was that prompted bypassing the test?

Re: Binding Context?

2006-09-13 Thread Jeremy Boynes
On Sep 13, 2006, at 7:50 AM, Liu, Jervis wrote: Hi, I understand there is an on-going process in the spec group to define a JAX-WS integration with SCA, it would be interesting to look into this context issue from the aspect of JAX-WS services. According to JAX-WS spec, a thread local

[C++] Configure options for our Linux automake build?

2006-09-13 Thread Jean-Sebastien Delfino
As we add more extensions to our runtime, I think it would be a good idea to add feature configuration options to our Linux build, to allow people to build just a subset when they are not interested in a specific feature and/or do not have the pre-req software for it on their machine. If you

[jira] Commented: (TUSCANY-642) Composite references and services - model and runtime representations

2006-09-13 Thread Jeremy Boynes (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-642?page=comments#action_12434472 ] Jeremy Boynes commented on TUSCANY-642: --- CommentsOut patch applied - thanks Composite references and services - model and runtime representations

Re: Binding Context?

2006-09-13 Thread Raymond Feng
Hi, I guess we all agree that we need such a featurean what really matters is how it fits into the programming model. Please see more comments inline. Thanks, Raymond - Original Message - From: Jeremy Boynes [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, September

Re: Big Bank Sample

2006-09-13 Thread Luciano Resende
Hi Jeffery Guo You were interested in this sibject a while ago, just want to check if you were able to make any progress, and if you need any help/guidance. - Luciano On 8/10/06, Robbie Minshall [EMAIL PROTECTED] wrote: AJAX interaction is always good for traction these days, just as a

[jira] Assigned: (TUSCANY-441) Remove DAS use of Class variable to trigger logging.

2006-09-13 Thread Luciano Resende (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-441?page=all ] Luciano Resende reassigned TUSCANY-441: --- Assignee: Luciano Resende Remove DAS use of Class variable to trigger logging.

More databinding integration update

2006-09-13 Thread Raymond Feng
Hi, 1) A model for WSDL portType/operation and related XSD metadata to represent unwrapped and wrapped WSDL operations 2) Input2InputTransformer and Out2OutTransformer to handle message payload conversions accross IDL/databindings. 3) A databinding provider such AXIOM, DOM, JAXB orSDO can

Re: Big Bank Sample

2006-09-13 Thread Simon Nash
These suggestions sound great. As a first step, I think it would make sense to get the current BigBank sample from M1 ported to the recursive model so that it works on M2. I am willing to work on this if people think that it would be useful. Simon Luciano Resende wrote: Hi Jeffery Guo

Re: [jira] Commented: (TUSCANY-719) Exception in SDO runtime on Windows using VC++ Express 2005

2006-09-13 Thread Geoffrey Winn
Sebastian, I've installed Microsoft Visual C++ 2005 Express Edition and used it to open the tuscany_sdo.sln file in a fresh extract from svn and a debug build fails claiming that it can't find odbc32.lib. Have you seen that before? I'm a bit puzzled because it ran a wizard that claimed to be

Re: More databinding integration update

2006-09-13 Thread Raymond Feng
The good news is that I managed to get the helloworldwsclient working with a workaround and some minor changes. Workaround: Use the interface.wsdl instead of interface.java for the binding.ws. AxisReference: Set the databinding to OMElement for the WSDLServiceContract Axis2TargetInvoker:

Re: [C++] Loading the PHP extension on Linux, was: [C++] First pass PHP extesion

2006-09-13 Thread Jean-Sebastien Delfino
Simon Laws wrote: On 9/12/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: On 9/8/06, Simon Laws [EMAIL PROTECTED] wrote: On 9/8/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: Earlier I created a patch for a first pass at a PHP extension

Re: Binding Context?

2006-09-13 Thread Jeremy Boynes
On Sep 13, 2006, at 4:48 AM, Peter Cousins wrote: I agree that business application logic should not use this context information. Ideally, there would support for users to write simple plugins that could run inside the call context as aspects (in the AOP sense). Only the aspects would

[jira] Updated: (TUSCANY-441) Remove DAS use of Class variable to trigger logging.

2006-09-13 Thread Luciano Resende (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-441?page=all ] Luciano Resende updated TUSCANY-441: Attachment: lresende.tuscany441.20060913.txt I have made all DAS RDB logging based on log4j. I still have to finish the wiring of a log4j

Re: [C++] Loading the PHP extension on Linux, was: [C++] First pass PHP extesion

2006-09-13 Thread Simon Laws
On 9/13/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: On 9/12/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: On 9/8/06, Simon Laws [EMAIL PROTECTED] wrote: On 9/8/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws

[jira] Created: (TUSCANY-721) Adding support for callbacks over bindings.axis2

2006-09-13 Thread Ignacio Silva-Lepe (JIRA)
Adding support for callbacks over bindings.axis2 Key: TUSCANY-721 URL: http://issues.apache.org/jira/browse/TUSCANY-721 Project: Tuscany Issue Type: New Feature Components: Java SCA

Re: [C++] Loading the PHP extension on Linux, was: [C++] First pass PHP extesion

2006-09-13 Thread Jean-Sebastien Delfino
Simon Laws wrote: On 9/13/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: On 9/12/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: On 9/8/06, Simon Laws [EMAIL PROTECTED] wrote: On 9/8/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote:

Re: Tomcat Integration

2006-09-13 Thread Kapil Katyal
Hi Rick, Thanks for the response. I extracted my application and unzipped the web-1.0-snapshot-bin.zip to that directory. I see several Tuscany jars under the WEB-INF\lib and WEB-INF\tuscany\boot directories. I'm trying to invoke a jsp and I'm getting a null pointer exception. The following

[jira] Updated: (TUSCANY-721) Adding support for callbacks over bindings.axis2

2006-09-13 Thread Ignacio Silva-Lepe (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-721?page=all ] Ignacio Silva-Lepe updated TUSCANY-721: --- Attachment: Axis2Callbacks.patch This patch contains the main code and preliminary test cases added to the existing ones. More testing,

Re: [C++] Loading the PHP extension on Linux, was: [C++] First pass PHP extesion

2006-09-13 Thread Simon Laws
On 9/13/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: On 9/13/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: On 9/12/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Simon Laws wrote: On 9/8/06, Simon Laws [EMAIL PROTECTED] wrote:

Re: Tomcat Integration

2006-09-13 Thread Robbie Minshall
I am looking at running some simple SCA applications within tomcat. Unfortunately it has not been as fun as I would like :-( The java/GettingStarted.htm refers to the embeded tomcat server in the build env. I believe that this is no longer the supported scenario. What is the plan here ? The

Re: [jira] Updated: (TUSCANY-721) Adding support for callbacks over bindings.axis2

2006-09-13 Thread Ignacio Silva-Lepe
To elaborate on relaxing the single callback method assumption, one way to gain knowledge about the callback method invoked by the service at the other end, is to pull from axis2 whatever bit of pertinent information that may be conveyed in the callback envelope. For instance, the soap

[C++] Component properties failure

2006-09-13 Thread Andrew Borley
Hi all, Is anyone else finding that loading composites containing component properties is failing at the moment? On my system I have a sample.calculator.composite file with the following: component name=CalculatorComponent implementation.cpp library=Calculator header=CalculatorImpl.h/

Re: [C++] Component properties failure

2006-09-13 Thread Jean-Sebastien Delfino
Andrew Borley wrote: Hi all, Is anyone else finding that loading composites containing component properties is failing at the moment? On my system I have a sample.calculator.composite file with the following: component name=CalculatorComponent implementation.cpp library=Calculator

[jira] Resolved: (TUSCANY-702) Provide updated contents for DAS website page and create new DAS Java Overview website page

2006-09-13 Thread Luciano Resende (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-702?page=all ] Luciano Resende resolved TUSCANY-702. - Fix Version/s: Java-M2 (was: Java-Mx) Resolution: Fixed Fixed, thanks Rick for applaying the patch. Provide updated

Java DAS M2 release documentation

2006-09-13 Thread Luciano Resende
I have updated the DAS wiki with the key features that is in for Java DAS M2 http://wiki.apache.org/ws/Tuscany/TuscanyJava/DAS_Java_Overview There is also an atachment with JIRAs fixed after M1 I have also started to create pages to document some of the features we are adding to DAS, and

[jira] Commented: (TUSCANY-707) IllegalArgumentException at o.a.t.sdo.util.DataObjectUtil.getOpenFeature(DataObjectUtil.java:1782) w/dual-core CPU

2006-09-13 Thread Ron Gavlin (JIRA)
[ http://issues.apache.org/jira/browse/TUSCANY-707?page=comments#action_12434586 ] Ron Gavlin commented on TUSCANY-707: In my test, I first initialize all metadata and then create a list of 2000 dataobjects. The dataobject of choice has

Use ServiceContract in ServiceExtension SPI

2006-09-13 Thread Raymond Feng
Hi, We now have IDL-independent ServiceContract/Operation models. So usages of java interface/method as contracts need to be replaced with ServiceContract/Operation. I notice that the ServiceExtension SPI still takes a java interface. We need to replace it with ServiceContract so that we