Tuscany SCA Chinese Discussion F orum (Tuscany SCA中文论坛)

2008-06-13 Thread Raymond Feng
Hi, I have created a Google group to provide a forum for Chinese-speaking developers and users to exchange ideas and practices in Chinese about Tuscany and SCA. The group home page is: http://groups.google.com/group/tuscany-sca-chinese. You are invited to join and contribute to the forum! Pl

Re: Conversational webservices not supported yet?

2008-06-11 Thread Raymond Feng
: Conversational webservices not supported yet? Hi, Raymond: I am very interested in this area. I will start this work after a 8-days SAP commercial training (till June. 12). Best Regards, Yang Sun 2008/6/3 Raymond Feng <[EMAIL PROTECTED]>: Hi, You are right. We haven't impleme

Re: Apache Tuscany doubts

2008-06-06 Thread Raymond Feng
Thank you for your interests in Tuscany. Please see my comments inline. Raymond -- From: "Mohan, Mithun" <[EMAIL PROTECTED]> Sent: Friday, June 06, 2008 10:04 AM To: Cc: <[EMAIL PROTECTED]> Subject: Apache Tuscany doubts Hello, I am new to Apac

Re: Can't generate a Java interface from a WSDL portType

2008-06-04 Thread Raymond Feng
Hi, I got the CXF code-gen plugin 2.1 working after debugging the plugin source code :-(. Here is the pom.xml snippt I figured out. Please note I had to override wsdlRoot/testWsdlRoot to be a non-existing file to avoid NPE (I assume it's CXF bug if the wsdl files are in src/test/resources/ws

Re: Conversational webservices not supported yet?

2008-06-02 Thread Raymond Feng
Hi, You are right. We haven't implemented the logic to check the SCA extensions in WSDL. Are you interested in helping out? Thanks, Raymond -- From: "Sun Yang" <[EMAIL PROTECTED]> Sent: Sunday, June 01, 2008 4:54 AM To: Subject: Conversational w

Re: 1 to many connection in Tuscany 1.2

2008-06-02 Thread Raymond Feng
Hi, You probably should have: Please make sure the java type for the field or setter with @Reference is java.util.Collection or an YourInterface[]. Thanks, Raymond -- From: <[EMAIL PROTECTED]> Sent: Monday, June 02, 2008 2:58 PM To: Subject:

Re: [Help] Two questions on Tuscany SCA

2008-05-31 Thread Raymond Feng
Hi, Thank you for your interests and good comments about Tuscany. Please see my comments in line below. Raymond -- From: "Sun Yang" <[EMAIL PROTECTED]> Sent: Saturday, May 31, 2008 4:57 AM To: Subject: [Help] Two questions on Tuscany SCA Hi, a

Re: New Java2WSDL runtime generator is now active in the build

2008-05-28 Thread Raymond Feng
Hi, I did some refactoring to move the JAXBTypeHelper to databinding-jaxb module and removed the JAXB dependency from databinding module. Meanwhile, I changed the getXMLTypeHelperClass() to getXMLTypeHelper() to avoid extra cache. I'll check in the change when the build is done. Thanks, Raym

Re: Problems setting property while deploying as a webapp

2008-05-19 Thread Raymond Feng
Hi, Can you post the composite file here? You should have something like the following if you have the @Property on the impl class for CurrencyConverter component. ... 10.0 Thanks, Raymond -- From: "Rohan Sahgal" <[EMAIL PROTECTED]>

Re: jaxb / sdo question

2008-05-14 Thread Raymond Feng
.java:130) ... 30 more Caused by: javax.xml.stream.XMLStreamException at org.apache.axiom.om.impl.llom.OMStAXWrapper.updateLastNode(OMStAXWrapper.java:1000) at org.apache.axiom.om.impl.llom.OMStAXWrapper.next(OMStAXWrapper.java:923) at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:153) ... 33 more --

Re: jaxb / sdo question

2008-05-14 Thread Raymond Feng
til.java:130) ... 30 more Caused by: javax.xml.stream.XMLStreamException at org.apache.axiom.om.impl.llom.OMStAXWrapper.updateLastNode(OMStAXWrapper.java:1000) at org.apache.axiom.om.impl.llom.OMStAXWrapper.next(OMStAXWrapper.java:923) at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:153) ..

Re: Does Tuscany support EJB service binding?

2008-05-14 Thread Raymond Feng
Hi, We only have the reference binding support for EJB stateless sessions in Tuscany at this moment. Are you interested in helping us add the EJB service binding? Thanks, Raymond -- From: "Sun Yang" <[EMAIL PROTECTED]> Sent: Saturday, May 10, 20

Re: jaxb / sdo question

2008-05-13 Thread Raymond Feng
Hi, JAXB doesn't handle interfaces and the current Tuscany code doesn't deal with Collection very well. Can you try to use an array? Thanks, Raymond -- From: "Abraham Washington" <[EMAIL PROTECTED]> Sent: Tuesday, May 13, 2008 8:06 AM To: Subjec

Re: SDO in Eclipse Plug-in

2008-05-12 Thread Raymond Feng
You might have run into a java.lang.Error (such as NoClassDefFoundError). Use the try {...} catch (Throwable e) {...} to trap it. Thanks, Raymond -- From: "Tomasz Klukowski" <[EMAIL PROTECTED]> Sent: Monday, May 12, 2008 2:01 PM To: Subject: SDO

Re: Problem with the Serialization of an SDO object

2008-05-07 Thread Raymond Feng
Hi, You need to make sure the SDO types are correctly registered before the deserialization of the SDO data objects. For generated SDO classes, you can call the XXXFactory.INSTANCE.register(...) method. Thanks, Raymond -- From: "C.Vamshi Shekhar

Re: handling InputStream as a service parameter

2008-05-07 Thread Raymond Feng
Hi, It seems that you are trying to pass binary data over Web Service binding. Tuscany doesn't support it yet (At this moment we assume InputStream contains XML data). We have started some discussions on the tuscany-dev mailing list recently. From the databinding perspective, we probably need

Re: wsdl reference question

2008-04-30 Thread Raymond Feng
Hi, When you promote a service, you can further configure the interface which can be a subset of the operations of the original CalculatorService. The XML could look like: Thanks, Raymond -- From: "Abraham Washington" <[EMAIL PROTECTED]> S

Re: [jira] Commented: (TUSCANY-2268) Exceptions errors on binding toexternal web services

2008-04-24 Thread Raymond Feng
Hi, Marina. I managed to run the sample successfully with a few tweaks: 1) Make sure we use the correct port name in wsdlElement="http://tempuri.org/#wsdl.port(HelloWorld/HelloWorldSoap)"/>. The port name was wrong in the attached test case (HelloWorldSoapPort). 2) I need to comment out the H

Re: How to use references using multiplicity="1..n" with binding.ws or binding.rmi

2008-04-24 Thread Raymond Feng
Hi, Daniel. Check this out: http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Multiple+bindings+and+reference+multiplicity Thanks, Raymond -- From: <[EMAIL PROTECTED]> Sent: Thursday, April 24, 2008 8:35 AM To: Subject: How to use referenc

Re: jboss deployment

2008-04-23 Thread Raymond Feng
A few other folks hit this JBoss issue before. Wang Feng points out that it might be a JBoss bug, see http://confluence.atlassian.com/pages/viewpage.action?pageId=104300830. Thanks, Raymond -- From: "Abraham Washington" <[EMAIL PROTECTED]> Sent:

Re: svn checkout problem

2008-04-23 Thread Raymond Feng
lipse for further investigation, debuging, development. Thanks, Radu Marian CRM Services Architecture Team Bank of America, Charlotte NC (980) 387-6233 [EMAIL PROTECTED] -Original Message- From: Raymond Feng [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2008 1:32 PM To: Marian

Re: svn checkout problem

2008-04-22 Thread Raymond Feng
;. Thanks, Raymond From: Marian, Radu Sent: Tuesday, April 22, 2008 10:19 AM To: Raymond Feng Subject: RE: svn checkout problem Thanks Raymond, That helped a bit. Here is my next tutorial build error: [INFO] --

Re: SDO 1.1.1 RC1

2008-04-22 Thread Raymond Feng
Is p0:sdoArgName a global element in your XSD? If not, the xsi:type seems to be appropriate. What problem are you experiencing w/ the xsi:type? Thanks, Raymond -- From: "Altaf Muneer" <[EMAIL PROTECTED]> Sent: Tuesday, April 22, 2008 7:50 AM To:

Re: loading composite from url

2008-04-21 Thread Raymond Feng
Hi, Are you trying to load and run a SCA composite remotely from a HTTP URL? SCADomain class is not designed for this purpose. We now have the NodeLauncher which can launch a SCA node to run a deployable composite with required contributions. Please see an example at: https://svn.apache.org

Re: Query: invocation-time access to reference policies

2008-04-21 Thread Raymond Feng
Hi, Now we have a new set of SPIs to handle policies. Please see the ML discussions on http://markmail.org/message/gvz6pb2phvpqx7kb?q=tuscany+policyhandlers&page=1&refer=icgy2fce45g2ioze. Please let us know if it fits your requirements. Thanks, Raymond --

Re: FW: JMS Binding - XML message - Message Format problems!!

2008-04-17 Thread Raymond Feng
It seems to be a SDO issue. It tries to open HTTP connection for some URLs while it parses the XML into SDO. Would you please open a JIRA against tuscany-sdo-impl to track it? Thanks, Raymond -- From: "Konradi, Philipp (CT)" <[EMAIL PROTECTED]> S

Re: Need urgent help on binding to external web service within Tuscany

2008-04-17 Thread Raymond Feng
To echo what Simon Laws said, we don't have support for RPC-encoded WSDL operations in Tuscany yet. Thanks, Raymond -- From: "Simon Laws" <[EMAIL PROTECTED]> Sent: Thursday, April 17, 2008 10:26 AM To: Subject: Re: Need urgent help on binding to e

Building a Chinese Web Site for Tuscany

2008-04-16 Thread Raymond Feng
Hi, I noticed that a few folks from the Chinese community have started to contribute Chinese content for Tuscany at [1]. At this moment, the menu items have been translated into Chinese. Some of the links still point back to our English version. I suggest that we add a link on the official Tus

Re: AW: Using generated SDO classes in SCA, was: Re: sdo newbie problem

2008-04-16 Thread Raymond Feng
Hi, I opened JIRA TUSCANY-2236 to track the SDO issue. I also check in a test case to reproduce the problem under http://svn.apache.org/viewvc?rev=648755&view=rev. Thanks, Raymond -- From: "Raymond Feng" <[EMAIL PROTECTED]

Re: AW: Using generated SDO classes in SCA, was: Re: sdo newbie problem

2008-04-16 Thread Raymond Feng
e open a JIRA against tuscany-sdo. We'll investigate on it. Thanks, Raymond -- From: "Albert Rainer" <[EMAIL PROTECTED]> Sent: Tuesday, April 15, 2008 8:19 AM To: "Raymond Feng" <[EMAIL PROTECTED]> Subject: AW: Using generated SDO classes in SCA, was: Re

Should we move to SDO 1.1-incubating version for SCA Java?

2008-04-15 Thread Raymond Feng
Hi, Now the SDO 1.1-incubating has been released. Should we adjust the pom.xml in SCA Java to reference this release? ATM, we have SDO 1.0-incubating-SNAPSHOT in trunk. And SCA projects either reference SDO 1.0-incubating or 1.0-incubating-SNAPSHOT. I think it's better to have SCA depends on

Re: Using generated SDO classes in SCA, was: Re: sdo newbie problem

2008-04-14 Thread Raymond Feng
Hi, There is an integration test at https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/itest/databindings/sdogen. It has quite a few test methods covering different combinations. Can you post the full stack trace so that we can understand where it falls into an infinite loop? It wou

Using generated SDO classes in SCA, was: Re: sdo newbie problem

2008-04-11 Thread Raymond Feng
Hi, Welcome to Tuscany! I intentionally modified the subject your issue is about how to use generated SDO classes in SCA. Here is a quick answer: You need to have the statement to the composite file to register the SDO metadata. xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databindin

Re: When is @Destroy called for @Scope("REQUEST")?

2008-04-09 Thread Raymond Feng
Hi, It seems to be a bug. The @Init method should be called upon the end of the scope. For request, it's the thread. Can you open a JIRA to track it? Thanks, Raymond -- From: "Gilbert Kwan" <[EMAIL PROTECTED]> Sent: Wednesday, April 09, 2008 12:

Re: Reg: passing Javaobject using a JSON binding

2008-04-03 Thread Raymond Feng
Hi Raymond, Thanx for the help but now I am getting [object Object] in the response could you tell me how to convert it? Thanks & Regards Ashwini Kumar Jeksani -Original Message- From: Raymond Feng [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2008 9:01 PM To: tuscany-user@w

Re: STP SCA Component -> STP SCA Tools sub project

2008-04-02 Thread Raymond Feng
Hi, The proposal looks good to me. IMO, having SCA tools as a sub-project under STP will benefit the growing SCA community. I look forward to seeing an smooth end-to-end development/deployment experience with better alignment between the two projects. Thanks, Raymond ---

Re: Reg: passing Javaobject using a JSON binding

2008-04-02 Thread Raymond Feng
Hi, It seem that the java bean has not been transformed into JSON. Do you have the @Remotable annotation on the service interface exposed over binding.jsonrpc? Thanks, Raymond -- From: "Ashwini Kumar Jeksani" <[EMAIL PROTECTED]> Sent: Wednesday,

Re: JSON with HTTP GET?

2008-03-31 Thread Raymond Feng
be happy to help with what I can. If you can give me pointers, I can try to help out. Regards, Skip On Fri, Mar 28, 2008 at 3:05 PM, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, We are following the JSONRPC protocol (See a drfat spec at [1]). We don't have the support for HTTP GET

Re: Tuscany client side authentication best practice?

2008-03-31 Thread Raymond Feng
Hi, If I understand your question correctly, you're looking for a way to keep some state data (authenticated subject) for SCA components. Please correct me if otherwise. The Java implementation type supports all of the scopes defined in the Java Common Annotations and API Specification: STAT

Re: JSON with HTTP GET?

2008-03-28 Thread Raymond Feng
Hi, We are following the JSONRPC protocol (See a drfat spec at [1]). We don't have the support for HTTP GET yet. From the spec, you can only send simple types (not objects) as GET parameters. Are you interested in helping out? Thanks, Raymond [1] http://json-rpc.org/wd/JSON-RPC-1-1-WD-200608

Re: Tuscany: usage limits

2008-03-26 Thread Raymond Feng
ocal services, that even the sample Store application talks about, and it looks so like and DCOM model to me. Can any one clarify my doubts. Thanks, hary On Wed, Mar 26, 2008 at 12:37 PM, Raymond Feng <[EMAIL PROTECTED]> wrote: Thank you for your interests. It's a bit open-ended to

Re: Tuscany: usage limits

2008-03-26 Thread Raymond Feng
Thank you for your interests. It's a bit open-ended to discuss the Tuscany limitations as there are many extensions in Tuscany to support different implementation, binding and databinding types. Would you please elaborate what you want to achieve? If possible, sharing your usage scenarios will

Re: Ask for help on promot and target

2008-03-25 Thread Raymond Feng
you permit and your are not Chinese? 2008/3/26, Raymond Feng <[EMAIL PROTECTED]>: Hi, Let me give a try: 1) @target a) An SCA service represents a business function that a component provides, for example, a book store selling books. b) An SCA reference represents a business functio

Re: Ask for help on promot and target

2008-03-25 Thread Raymond Feng
Hi, Let me give a try: 1) @target a) An SCA service represents a business function that a component provides, for example, a book store selling books. b) An SCA reference represents a business function that a component consumes, for example, book store needs to use shopping cart and catalog.

Re: Passing URL parameters to a feed component?

2008-03-21 Thread Raymond Feng
pace-admin, probably around CompositeImageCollectionImpl.java. On Fri, Mar 21, 2008 at 10:58 AM, Raymond Feng <[EMAIL PROTECTED]> wrote: > Hi, > > Let's assume you have a service exposed over feed binding as follows: > > > > > > uri="http://lo

Re: Passing URL parameters to a feed component?

2008-03-21 Thread Raymond Feng
Hi, Let's assume you have a service exposed over feed binding as follows: http://localhost:8083/rssAggregator"/> Do you expect that your component impl "test.MyServiceImpl" gets the parameters from the URL and provide functions based on the parameters? For example, http:/

Re: WS outside of control

2008-03-21 Thread Raymond Feng
Hi, Welcome to Tuscany! Let me first make sure that I understand your scenario correctly. 1) You have an external web service "MathService" developed with Axis2 and the endpoint address is http://localhost:8080/zong/services/MathService. 2) In the Calculator composite, you want to wire to the

Re: ask for help on use tuscany in tomcat6.0.10

2008-03-19 Thread Raymond Feng
Hi, I'm working on a whitepaper which describes how to package tuscany as a web application for Geronimo. Most of the content applies to Tomcat too. You can find it at: http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Tuscany+Web+Application+based+Integration+with+Geronimo. Feedback is

Re: Tuscany-sca 1.2-incubating-SNAPSHOT is not on maven repo

2008-03-17 Thread Raymond Feng
Hi, SCA Java 1.1 has already been released. Can you try http://people.apache.org/repo/m2-incubating-repository/ and 1.1-incubating? BTW, We need to publish the SNAPSHOT versions more frequently. Can we configure the continumm to automate the publish if the build is successful? Thanks, Raymo

Re: What should be in Tuscany SCA Java release 1.2?

2008-03-05 Thread Raymond Feng
+1 on Luciano as the RM for 1.2. Thanks, Raymond -- From: "Luciano Resende" <[EMAIL PROTECTED]> Sent: Tuesday, March 04, 2008 9:36 AM To: Cc: "tuscany-dev" <[EMAIL PROTECTED]> Subject: Re: What should be in Tuscany SCA Java release 1.2? Time flie

Re: How to reduce tuscany's library.

2008-03-04 Thread Raymond Feng
Welcome to Tuscany! I assume you want to get the minimum set of jars required to deploy Tuscany applications to Tomcat. For the webapp packaging, we generate the WAR based on the dependencies. You can also look into the build.xml for a list of jars required. Recently we also have some discussi

Re: Questions about Java Interfaces using binding.ws

2008-02-29 Thread Raymond Feng
Hi, Daniel. Thank you for reporting the issue. We will be looking into this. Which level of Tuscany code are you using? We recently improved the fault/exception handling in the trunk code, can you give a try? I would also appreciate if you can open a JIRA at http://issues.apache.org/jira/bro

Re: tuscany and jboss

2008-02-27 Thread Raymond Feng
jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:595) On Tue, Feb 26, 2008 at 6:27 PM, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, I was told by some guys before that JBoss

Re: tuscany and jboss

2008-02-26 Thread Raymond Feng
Hi, I was told by some guys before that JBoss has something special dealing with file-based URLs. Can you post the full stacktrace so that we can better understand what code path is failing? Thanks, Raymond -- From: "Norman Barker" <[EMAIL PROT

Re: Problem with javabean data binding (empty arraylist)

2008-02-15 Thread Raymond Feng
Hi, The java Collection is not supported yet. We only support arrays at this point for web services. It shouldn't be too hard to add Collection support considering we already have arrays working. Can you open a JIRA so that we can track it? (http://issues.apache.org/jira/browse/TUSCANY) Than

Re: databinding-jaxb build

2008-02-02 Thread Raymond Feng
Hi, I guess you hit the problem I reported in http://jira.codehaus.org/browse/MEV-573. Please remove the \.m2\repository\javax\xml\ws\jaxws-api\2.1 to try again. Or you can replace the pom with http://download.java.net/maven/1/javax.xml.ws/poms/jaxws-api-2.1.pom. The "import"s will be resol

Re: Tuscany - WS Binding - Issue with "complex" function

2008-01-29 Thread Raymond Feng
Hi, Jérôme. We really appreciate your efforts to try out different data combinations for the binding.ws. Would you please go ahead to create a JIRA @ https://issues.apache.org/jira/browse/TUSCANY? If you could contribute your test case to Tuscany, that would be great. I can definitely try it a

Re: Helloword-bpel initialization issues, follow up information

2008-01-24 Thread Raymond Feng
Hi, Can you try to use maven-surefire-plugin 2.3.1 or 2.4? You probably need to get the maven build going before you run it inside Eclipse because the mvn build will create a derdy DB for ODE. Thanks, Raymond - Original Message - From: Moberg Dale To: tuscany-user@ws.apache.org

Re: Does Tuscany support jaxws implementation?

2008-01-07 Thread Raymond Feng
Hi, I'm looking into the JAXWS support from a slight different perspetive. Basically, I'm adding JAXWS annotation processing capability into Tuscany so that Tuscany can capture the addtional metadata from the annotations and use them during runtime. Thanks, Raymond - Original Message --

Re: Working with related beans

2007-12-13 Thread Raymond Feng
Hi, I think you hit an issue we recently discussed on the mailing list [1]. To work around the problem, can you try to add "implements Serializable" to your beans for now? [1] http://www.mail-archive.com/[EMAIL PROTECTED]/msg26191.html Thanks, Raymond - Original Message - From: Á

Re: Release 1.1 - what will be ready for next week?

2007-12-11 Thread Raymond Feng
Hi, The JAXB based POJO transformation has been checked. But I'm afraid the transation policy is not quite ready as we are flushing out the blockers around the policy framework. Thanks, Raymond - Original Message - From: "Simon Laws" <[EMAIL PROTECTED]> To: "tuscany-dev" <[EMAIL PRO

Re: What is Tuscany?

2007-12-07 Thread Raymond Feng
Hi, Joshua. Thank you for your interests in Tuscany. Let me try to dump some information to you :-). Tuscany provides open-source software for distribution at no charge to the public, that simplifies the development, deployment and management of distributed applications built as compositions

[ANNOUNCE] Apache Tuscany SCA Java 1.0.1 released

2007-11-19 Thread Raymond Feng
The Apache Tuscany team are delighted to announce the 1.0.1 release of the Java SCA project. Apache Tuscany provides a runtime environment based on the Service Component Architecture (SCA). SCA is a set of specifications aimed at simplifying SOA application development. These specifications are

Tuscany SCA article: http://java.sys-con.com/read/458183.htm

2007-11-11 Thread Raymond Feng
Hi, We just published an article on Java Developer's Journal and SOA World Magazine: http://java.sys-con.com/read/458183.htm. Thanks, Raymond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: Problem with dependency resolution when using promoted references and services

2007-11-06 Thread Raymond Feng
Hi, Adrian. Thank you for reporting the problem and I'll look into this issue. FYI: The best way to report an issue is to create a JIRA at http://issues.apache.org/jira/browse/TUSCANY. You were lucky to get the attachements pass through the mail as they are usually filtered out :-). Thanks,

Re: Exception in servlet while invoking from a jsp

2007-11-02 Thread Raymond Feng
Hi, It would be helpful if you can provide the full stack trace. I'll be gald to take a look with that. Thanks, Raymond - Original Message - From: "Ashwini Kumar J" <[EMAIL PROTECTED]> To: Sent: Friday, November 02, 2007 6:42 AM Subject: Exception in servlet while invoking from a j

Re: SCA in Web 2.0 applications...

2007-10-29 Thread Raymond Feng
Hi, I think it is a nice and clean way to use SCA with Web 2.0. I have a few comments. 1) To reference the generated JavaScript for a given component, say foo, should we use a naming convention to avoid conflict? For example, sca/foo.js? 2) Why do I have to use the following syntax to decl

Please review the SCA Java 1.0.1 RC1

2007-10-25 Thread Raymond Feng
Hi, The SCA Java 1.0.1 RC1 is ready for review. SVN Tag: http://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0.1-RC1/ Stage maven repo: http://people.apache.org/~rfeng/tuscany/maven/ RAT report: http://people.apache.org/~rfeng/tuscany/1.0.1-RC1/1.0.1-RC1.rat.txt Distros (zip

Re: Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release

2007-10-23 Thread Raymond Feng
ECTED]> To: Sent: Tuesday, October 23, 2007 9:33 AM Subject: Re: Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release Raymond Feng wrote: Hi, The plugin is a great relief. Thanks! For the binary distro, we used to have all the jars (including tuscany and 3rd pa

Re: Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release

2007-10-22 Thread Raymond Feng
scripts follow that pattern. Raymond - Original Message - From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]> To: Sent: Monday, October 22, 2007 6:49 PM Subject: Generating Ant Re: Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release Jean-Sebastien Delfino

Re: Interceptors between services

2007-10-22 Thread Raymond Feng
Hi, You need to add an extension to Tuscany and then you can add interceptors as follows: 1) Implement the org.apache.tuscany.sca.invocation.Interceptor interface for your interceptor 2) Implement org.apache.tuscany.sca.runtime.RuntimeWireProcessor interface public void process(RuntimeWire

Please nominate the bug fixes for Tuscany SCA Java 1.0.1 release

2007-10-22 Thread Raymond Feng
Hi, As it was originally proposed, we'll do a SCA Java 1.0.1 release using the 1.0 branch as the base line. The 1.0.1 is intended to be a bug fix release and it should contain only non-disruptive changes. The approach we take is to pull post-1.0 commits of incremental bug fixes from the trunk

Re: [DISCUSS] Tuscany SCA Roadmap and next releases

2007-10-17 Thread Raymond Feng
Hi, Thank you for participating the discussion. I collected all the input we have so far at the following WIKI page: http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Roadmap+Discussion Please feel free to add/update to make it an ongoing community effect. Hopefully we can start to turn

Re: Promote?

2007-10-12 Thread Raymond Feng
or disclosure by another person is strictly prohibited. ######## ##### -Original Message- From: Raymond Feng [mailto:[EMAIL PROTECTED] Sent: Friday, October 12, 2007 12:50 PM To: tuscany-user@ws.apache.org Subject: Re: Promote? Hi, A SCA composite can be used a

Re: [DISCUSS] Tuscany SCA Roadmap and next releases

2007-10-12 Thread Raymond Feng
Hi, In addtion to what Sebastien brought up, I have a few more on the wish list: Core: * Separate the interface declaration (per service or reference) and interface type (can be shared if used by multiple services or references) and enhance the dynamic interface/operation support * Improve ex

Re: Promote?

2007-10-12 Thread Raymond Feng
Hi, A SCA composite can be used as an implementation (implementation.composite) for a component. This is so-called recursive composition. It allows pre-assembled composites to be reused. "promote" can be used to make services or references declared on a component inside the composite visible

Re: New using Tuscany

2007-10-11 Thread Raymond Feng
he references. Could you please help me? Thanks, Ana Belen -Original Message- From: "Raymond Feng" <[EMAIL PROTECTED]> To: Date: Thu, 11 Oct 2007 09:22:20 -0700 Subject: Re: New using Tuscany Another issue is that you should use @Reference against public/protecte

Re: New using Tuscany

2007-10-11 Thread Raymond Feng
Another issue is that you should use @Reference against public/protected fields or setter methods to receive the proxy by injection. In your case, the following is invalid: @Reference public List getAllInformationObject(List constraintsList) throws ISNotFoundException { ... } I'll add some

Re: Error occured at run

2007-09-28 Thread Raymond Feng
Hi, There seems to be two issues: 1) Reference POValidationReference is not declared in PORequestImpl using @Reference annotation. Can you post us PORequestImpl.java? 2) For RMI to work, the parameter has be to Serializable. Is POForm Serializable? Thanks, Raymond - Original Message -

Re: Java-Exceptions <--> WSDL-Fault Mapping

2007-09-25 Thread Raymond Feng
Hi, Sorry for the late response as we were heads down on the 1.0 release. My understanding is that if a java exception representing the business issue (for example, CustomerNotFoundException) is thrown, it should be mapple to a WSDL fault as defined by the WSDL operation. Otherwise, it will be

Re: retrieve name of component in artifact processor

2007-09-23 Thread Raymond Feng
Hi, Florian. Can you elaborate a bit on why you need the component name during the read/resolve phase for your ? If such information is needed for the runtime behavior, then org.apache.tuscany.sca.provider.ImplementationProviderFactory.createImplementationProvider(...) will pass in the compon

Re: How to get more detailed exception information from a Spring implementation?

2007-09-21 Thread Raymond Feng
Hi, Sun. Welcome to Tuscany and thank you for reporting this issue. I think you found a bug here. Would you please open a JIRA (https://issues.apache.org/jira/browse/TUSCANY) so that it can be tracked and fixed? Thanks, Raymond - Original Message - From: "Sun Yang" <[EMAIL PROTECTE

Re: tuscany-interface-wsdl-runtime module version 0.99-incubating missing

2007-09-18 Thread Raymond Feng
If I remember correctly, the module was there to host the module activator to bootstrap the extensions to support interface.wsdl. Now we use the lazy loading and the extensions are registered using service provider files under modules/interface-wsdl-xml/src/main/resources/META-INF/services. So t

Re: reading in sca-contribution.xml file

2007-09-18 Thread Raymond Feng
ple";> But in this case targetNamespace == xmlns:sample so the QName printed is "{http://sample}Calculator";. However if I remove the targetNamespace attribute then the QName printed is simply "Calculator". Thanks, Andrew "Raymond Feng" <[EMAIL PRO

Re: reading in sca-contribution.xml file

2007-09-13 Thread Raymond Feng
Hi, Thank you for reporting the issue. 1) The targetNamespace attribute shoudn't be in the sca-definitions.xml 2) Even with that, I tried a similar case and the result is good, i.e. {http://mytest.com}CalculatorComposite is returned. Which level of Tuscany code are you using? Thanks, Raymond

Re: accessing a deployed service

2007-09-12 Thread Raymond Feng
pany/examples/example-sc"; name="example-sc"> The Service.java file has: @Remotable @Service The ServiceImpl.java file has: @Service(Service.class) But I am getting the exception as I described. Could you please advice, what is wrong? Thanks a lot, Radim O

Re: accessing a deployed service

2007-09-12 Thread Raymond Feng
Yes :-). It seems that you declare a under the element but the service is not defined in the componentType (which can be introspected from a java class). It's similar as you try to use a field/method not defined in the java class. If the NodeServiceComponent is implemented in ja

Re: Referencing an external WebService

2007-09-04 Thread Raymond Feng
More comments inline. Thanks, Raymond - Original Message - From: "Simon Laws" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 04, 2007 11:09 AM Subject: Re: Referencing an external WebService On 9/4/07, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, It se

Re: @Conversational + @Scope("REQUEST") Test

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

Re: @Conversational + @Scope("REQUEST") Test

2007-09-04 Thread Raymond Feng
Comments inline. Thanks, Raymond - Original Message - From: "Simon Laws" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 04, 2007 5:57 AM Subject: Re: @Conversational + @Scope("REQUEST") Test On 9/4/07, Simon Laws <[EMAIL PROTECTED]> wrote: On 9/4/07, JunJie Nan <[EMAIL PROTEC

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]>

Re: Fw: component type impl

2007-08-23 Thread Raymond Feng
-Florian - Forwarded by Florian Rosenberg/Watson/IBM on 08/22/2007 10:16 PM - "Raymond Feng" <[EMAIL PROTECTED]> wrote on 08/22/2007 02:48:24 PM: > It seems that "implementation.splice" is not correctly handled. Do you have > the new implementation type

Re: component type impl

2007-08-22 Thread Raymond Feng
It seems that "implementation.splice" is not correctly handled. Do you have the new implementation type registered with Tuscany? You probably need to have following files: 1) META-INF/services/org.apache.tuscany.sca.contribution.processor.StAXArtifactProcessor 2) META-INF/services/org.apache.

Re: Feed binding (atom, rss) breaks when feed URL has parameters

2007-08-21 Thread Raymond Feng
Hi, We can reproduce the problem without Tuscany code. Did you replace all the "&" with "&"? In the following test case, testXML() fails while testXML1() is successful. Thanks, Raymond import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamReader; import org.junit.Test; pu

Re: jax-ws instead of axis2

2007-08-14 Thread Raymond Feng
Hi, We don't have the jax-ws support yet and it will be a big plus to Tuscany. Are you considering to help us here :-)? Thanks, Raymond - Original Message - From: "Jean-Marc Taillant" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 14, 2007 2:01 AM Subject: jax-ws instead of axis2

Re: Monitoring, logging and exceptions (again)

2007-08-14 Thread Raymond Feng
ity from scratch regards Jeff ____ From: Raymond Feng [mailto:[EMAIL PROTECTED] Sent: Tue 2007-08-14 12:23 To: tuscany-user@ws.apache.org Subject: Re: Monitoring, logging and exceptions (again) Hi, I think we have three categories in this area: 1) Monitoring: List

Re: Monitoring, logging and exceptions (again)

2007-08-14 Thread Raymond Feng
Hi, I think we have three categories in this area: 1) Monitoring: Listen on the events generated by Tuscany, for example, a component is started or stopped. (Target for management interfaces) 2) Logging: Produce end-user readable information (info/warning/error) which is subject to I18N/L10N.

Re: Services and WSDL files

2007-08-08 Thread Raymond Feng
is that the actual communication would be exchanging XMLs which do not fully comply with a specific schema, but wouldn't the objects get deserialized to proper JAXB classes on server anyway? Thanks, Radim On 8/8/07, Raymond Feng <[EMAIL PROTECTED]> wrote: > Comments line. > > Tha

Re: Services and WSDL files

2007-08-08 Thread Raymond Feng
ibute which point to a wsdl infact. It means there should exist a > wsdl > already so that could refer to. > > But how will it make sence, if the service generate wsdl "on fly" > > again. > SCA-WebServiceBinding_V100 does metioned this "on fly" feathre as

Re: EJB Binding

2007-08-06 Thread Raymond Feng
Hi, John. Please see my comments inline. Thanks, Raymond - Original Message - From: "Dr John Hunt" <[EMAIL PROTECTED]> To: Sent: Monday, August 06, 2007 3:36 AM Subject: EJB Binding Hi All, I am trying to determine what the concrete steps are likely to be when using the EJB bin

  1   2   >