Re: 2.0 Beta2 samples (was: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2)

2011-02-23 Thread ant elder
On Mon, Feb 21, 2011 at 10:52 AM, Simon Laws wrote: > On Sun, Feb 20, 2011 at 8:35 AM, ant elder wrote: >> On Tue, Feb 15, 2011 at 7:08 PM, ant elder wrote: >>> On Thu, Feb 10, 2011 at 9:10 AM, ant elder wrote: >>> I have now done these. There's a beta2 branch for the release, and all

Re: 2.0 Beta2 samples (was: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2)

2011-02-23 Thread Simon Laws
> Re the doc, what sort of thing do we want? I don't think what we tried > with the beta1 release with having the sample doc only on the Tuscany > website worked that well, so these samples just have a plain text > README file. What could be done differently or better over that? > >   ...ant > I a

Re: 2.0 Beta2 samples (was: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2)

2011-02-23 Thread Florian Moga
On Wed, Feb 23, 2011 at 10:46 AM, ant elder wrote: > > The main differences are that the testcase doesn't run Tuscany and the > Tuscany plugin isn't defined in the pom.xml. I think having a unit test that starts the Tuscany runtime has multiple benefits: - more helpful for the newbie user (he

Re: PolicyHandler exception handling issue - PolicyHandler.afterInvoke() is not called when SOAPFault is generated (UNCLASSIFIED)

2011-02-23 Thread Simon Laws
Hi Gang Comments in line. Generally I still think the processing we have in 2.x is too late/early for you to get at the envelope to decrypt/encrypt it before the Axis2 engine has a go at it. It may be the answer is to map part of the handler chain into Axis2 handlers (as you have already done) rat

Re: 2.0 Beta2 samples (was: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2)

2011-02-23 Thread Florian Moga
As for doc, what do you think about the following idea? As soon as a sample graduates from contrib/ we can write a blog post explaining various things about it. It's much more interactive for both users and us. Also, the blog will probably get more attention and would be more complete. In this case

Re: PolicyHandler exception handling issue - PolicyHandler.afterInvoke() is not called when SOAPFault is generated (UNCLASSIFIED)

2011-02-23 Thread Simon Nash
Yang, Gang CTR US USA wrote: Classification: UNCLASSIFIED Caveats: NONE (cut) Hi, Simon, I have not been able to find any workaround for case 1 and 2. I can see in the debugger that the generation of response message from the AxisFault happens much later and I agree with you that it's not a si

Re: 2.0 Beta2 samples (was: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2)

2011-02-23 Thread ant elder
On Wed, Feb 23, 2011 at 9:20 AM, Florian Moga wrote: > As for doc, what do you think about the following idea? As soon as a sample > graduates from contrib/ we can write a blog post explaining various things > about it. It's much more interactive for both users and us. Also, the blog > will probab

Spring beans xml sca namespace

2011-02-23 Thread ant elder
The current Tuscany code is still using the old OSOA namespace for the sca extensions to the Spring context files. As FYI I plan to update that shortly in trunk, which does mean any existing sca spring applications would need updating if they're using the SCA extensions. ...ant

Re: 2.0 Beta2 samples (was: [VOTE] Release Tuscany SCA 2.0 Beta2 RC2)

2011-02-23 Thread Florian Moga
Yes, I was thinking that in this case READMEs would only contain some instructions on how to start the shell so it will basically be the same README copied in each and every folder. On Wed, Feb 23, 2011 at 3:02 PM, ant elder wrote: > On Wed, Feb 23, 2011 at 9:20 AM, Florian Moga wrote: > > As f

[jira] Closed: (TUSCANY-3837) Move SCABindingMapper interface to core-spi

2011-02-23 Thread Simon Laws (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-3837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Laws closed TUSCANY-3837. --- Resolution: Fixed Changes committed to 2.x > Move SCABindingMapper interface to core-spi > ---

[ANNOUNCE] Apache Tuscany SCA Java 2.0-Beta2 released

2011-02-23 Thread Florian Moga
The Apache Tuscany team is pleased to announce the 2.0-Beta2 release of the Java SCA 2.0 project. Apache Tuscany/SCA provides a runtime environment based on Service Component Architecture (SCA), which is a set of OASIS specifications aimed at simplifying SOA application development. This is the s

RE: PolicyHandler exception handling issue - PolicyHandler.afterInvoke() is not called when SOAPFault is generated (UNCLASSIFIED)

2011-02-23 Thread Yang, Gang CTR US USA
Classification: UNCLASSIFIED Caveats: NONE --- cut --- > One other idea that I had is to use an Axis2 handler that gets control > after the response message has been built, and have this handler look > for > ThreadLocal information that you have previously set up in your Tuscany > handlers. This

Re: [VOTE] Release Tuscany SCA 2.0 Beta2 RC3

2011-02-23 Thread Florian Moga
Can you please add me to the contributors for the Tuscany blog with my gmail address so I can post the release announcement? Also, is it possible to post an announcement on the ASF blog [1] and ASF Twitter account [2]? [1] http://blogs.apache.org/foundation/ [

RE: PolicyHandler exception handling issue - PolicyHandler.afterInvoke() is not called when SOAPFault is generated (UNCLASSIFIED)

2011-02-23 Thread Yang, Gang CTR US USA
Classification: UNCLASSIFIED Caveats: NONE > > > > > > For case 3, will afterInvoke will be called with the response > > > MessageContext that contains the response SOAP message? If so, I > > would > > > like your proposed workaround/fix for case 3 to be included if > > possible. > > > It'll give

Re: PolicyHandler exception handling issue - PolicyHandler.afterInvoke() is not called when SOAPFault is generated (UNCLASSIFIED)

2011-02-23 Thread Simon Nash
Yang, Gang CTR US USA wrote: Classification: UNCLASSIFIED Caveats: NONE (cut) Hi, Simon, I did try what you described here and it worked - afterInvoke is called with respnseMC that contains the fault SOAP message. So it's doable. Here's the code snippet. try { AccessContro

[jira] Created: (TUSCANY-3838) PolicyHandler.afterInvoke() is skipped when AxisFault occurs

2011-02-23 Thread Gang Yang (JIRA)
PolicyHandler.afterInvoke() is skipped when AxisFault occurs Key: TUSCANY-3838 URL: https://issues.apache.org/jira/browse/TUSCANY-3838 Project: Tuscany Issue Type: Improvement

[jira] Updated: (TUSCANY-3838) PolicyHandler.afterInvoke() is skipped when AxisFault occurs

2011-02-23 Thread Gang Yang (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-3838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gang Yang updated TUSCANY-3838: --- Attachment: code-snippet.txt > PolicyHandler.afterInvoke() is skipped when AxisFault occurs > -