tuscany 1.1 - possible bug in Java2WSDLHelper

2008-02-08 Thread Clemens Utschig - Utschig
Hey tuscany team, I was playing with tuscany 1.1 and interop on SDO and got a nullpointer on line 194 org.apache.tuscany.sca.interfacedef.wsdl.java2wsdl.Java2WSDLHelper for (int i = 0; i nodeMap.getLength(); i++) { for a null nodeMap -- adding a nullcheck before fixed that. I debuged into

Re: Using security policies in the Bigbank scenario, was Re: Policy Framework Scenarios.

2008-02-08 Thread Venkata Krishnan
Hi Sebastien, am working on this and should be done today. Am just about taking a bit of time to fit this into our existing ContributionService implementation. - Venkat On Feb 6, 2008 12:49 PM, Venkata Krishnan [EMAIL PROTECTED] wrote: Ok, let me go try this and post back. I'd like to vary

[SDO Java] Reminder: IRC chat on release contents, 9AM PST, 5PM GMT

2008-02-08 Thread kelvin goodson
The chat will take as input the fruits of Amita's and my recent labours documented at ... http://cwiki.apache.org/confluence/display/TUSCANYWIKI/SDO+Java+Project and give you a chance to adjust the priorities we placed on issues, and to say where you can contribute to help make this a useful

[jira] Created: (TUSCANY-2032) WS Binding - Issue with complex function

2008-02-08 Thread JIRA
WS Binding - Issue with complex function -- Key: TUSCANY-2032 URL: https://issues.apache.org/jira/browse/TUSCANY-2032 Project: Tuscany Issue Type: Bug Components: Java SCA Axis Binding

[jira] Commented: (TUSCANY-1831) Make SDOPackageRegistryDelegator pluggable

2008-02-08 Thread Amita Vadhavkar (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12566995#action_12566995 ] Amita Vadhavkar commented on TUSCANY-1831: -- I am not very sure, but there was

[SDO Java] Pluggable SDOPackageRegistryDelegator and Tuscany-1459

2008-02-08 Thread Amita Vadhavkar
Please refer to https://issues.apache.org/jira/browse/TUSCANY-1831 and https://issues.apache.org/jira/browse/TUSCANY-1459 and share your thoughts about what can be done for Tuscany-1831 Regards, Amita

Re: XPath related question

2008-02-08 Thread Raymond Feng
Hi, My experience is that you need to set the NamespaceContext on the XPath so that you can map a prefix to the namespace URI. See: http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/xpath/XPath.html#setNamespaceContext(javax.xml.namespace.NamespaceContext). For example, you can associate sca

Tuscany 1.1 in maven repo

2008-02-08 Thread Dave Sowerby
Hi All, I can't seem to spot the 1.1 artifacts over at http://people.apache.org/repo/m2-incubating-repository Is this intentional - has the repo location changed? Or has it just slipped through the net? Cheers, Dave. -- Dave Sowerby MEng MBCS

[jira] Updated: (TUSCANY-182) Investigate how to best represent 0..n relationships requiring a keyed access in models

2008-02-08 Thread Kelvin Goodson (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Goodson updated TUSCANY-182: --- Component/s: Java SCA Assembly Model There's too much assumed context in this JIRA

Re: XPath related question

2008-02-08 Thread Doug Tidwell
Venkat, I made a couple of points below. Send me the stylesheet and I'll look through it if you want. The complication for your second question is that in XPath/XSLT 1.0, some instructions work with the first node in a nodeset, while others iterate through the whole nodeset. Cheers, -Doug

Re: Tuscany web-apps and jUnit dependencies

2008-02-08 Thread Raymond Feng
As the first step, I fixed the code (r619973) to tolerate the case that junit is not present on the classpath. Now the webapp samples should be working as-is now. How about the following refactoring? 1) Create a new module as host-webapp-junit under modules folder. (I think it should be

Error trying to initialize Tuscany web-apps that uses ws-binding

2008-02-08 Thread Luciano Resende
I was trying our calculator-ws-secure-webapp and calculator-ws-webapp in various web application hosts, and looks like it works fine in Tomcat 6.0.16, Geronimo 2.0.2, but it's failing in Websphere 6.1 with the following exception. I'll try to debug later today, but just want to mention here in

Tuscany web-apps and jUnit dependencies

2008-02-08 Thread Luciano Resende
I'm trying to run our sample webapps, and realize that they are all requiring jUnit as dependencies, even when there is no test available. This might be a side effect of our effort to automate the run of iTests in a web container. I just want to double check if others are seeing the same issue,

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-08 Thread Raymond Feng
+1 on the proposal. The interceptor could just return the flag based on its capability without asking the next one. And the runtime can query it from the head in the invocation chain and stop when it gets a true. boolean allowsPBR = false; Invoker i = invocationChain.getHead();

Re: PolicyHanders

2008-02-08 Thread Raymond Feng
Hi, I don't enough knowledge to cover all of your points, but let me give a try. See my comments inline. Thanks, Raymond - Original Message - From: Greg Dritschler [EMAIL PROTECTED] To: tuscany-dev tuscany-dev@ws.apache.org Sent: Wednesday, February 06, 2008 12:03 PM Subject:

Re: Tuscany web-apps and jUnit dependencies

2008-02-08 Thread Raymond Feng
- Original Message - From: Luciano Resende [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Friday, February 08, 2008 12:55 PM Subject: Re: Tuscany web-apps and jUnit dependencies +1 for a new module. As for the other items, If we have TuscanyServletFilter and

Re: Tuscany web-apps and jUnit dependencies

2008-02-08 Thread Jean-Sebastien Delfino
ant elder wrote: On Feb 8, 2008 5:30 PM, Luciano Resende [EMAIL PROTECTED] wrote: I'm trying to run our sample webapps, and realize that they are all requiring jUnit as dependencies, even when there is no test available. This might be a side effect of our effort to automate the run of iTests

Eclipse-Groovy-Spring issues

2008-02-08 Thread Kevin Williams
I just imported the latest java/sca into Eclipse and the projects with Groovy scripts were not building. Surprisingly, this prevented me from running the Spring iTests. The reported error from Eclipse had to due with items on the class path not being available. I suspect there is a unnecessary

[jira] Resolved: (TUSCANY-1838) HelperContext provided to createObjectOutputStream is inadvertantly ignored

2008-02-08 Thread Amita Vadhavkar (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amita Vadhavkar resolved TUSCANY-1838. -- Resolution: Fixed Marking resolved based on the previous comment. If required please

XPath related question

2008-02-08 Thread Venkata Krishnan
Hi, I am trying to get some xpaths evaluated against a composite file. I have a couple of questions related to xpath queries. Can somebody familiar please help. Thanks. My composite element in the composite file defines the defaultnamespace - xmlns=http://www.osoa.org/xmlns/sca/1.0;. Given

[jira] Resolved: (TUSCANY-1360) New SDOUtil: Getting the enumeration facet

2008-02-08 Thread Amita Vadhavkar (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amita Vadhavkar resolved TUSCANY-1360. -- Resolution: Fixed 1360-Amita.patch applied to rev. 619858 New SDOUtil: Getting

Tuscany: Axis2 codegen bug? - java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is not honoring the namespace

2008-02-08 Thread Clemens Utschig - Utschig
Folks, I have a simple composite as below - which makes use of SDO through SOAP in the reference ?xml version=1.0 encoding=UTF-8? composite xmlns=http://www.osoa.org/xmlns/sca/1.0; targetNamespace=/model/common/

Re: Tuscany web-apps and jUnit dependencies

2008-02-08 Thread ant elder
On Feb 8, 2008 5:30 PM, Luciano Resende [EMAIL PROTECTED] wrote: I'm trying to run our sample webapps, and realize that they are all requiring jUnit as dependencies, even when there is no test available. This might be a side effect of our effort to automate the run of iTests in a web

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-08 Thread Jean-Sebastien Delfino
Raymond Feng wrote: +1 on the proposal. The interceptor could just return the flag based on its capability without asking the next one. And the runtime can query it from the head in the invocation chain and stop when it gets a true. It could, but that would be making an assumption on the

Re: Tuscany 1.1 in maven repo

2008-02-08 Thread Simon Laws
On Feb 8, 2008 4:27 PM, Dave Sowerby [EMAIL PROTECTED] wrote: Hi All, I can't seem to spot the 1.1 artifacts over at http://people.apache.org/repo/m2-incubating-repository Is this intentional - has the repo location changed? Or has it just slipped through the net? Cheers, Dave. --

Re: Tuscany web-apps and jUnit dependencies

2008-02-08 Thread Jean-Sebastien Delfino
Raymond Feng wrote: As the first step, I fixed the code (r619973) to tolerate the case that junit is not present on the classpath. Now the webapp samples should be working as-is now. How about the following refactoring? 1) Create a new module as host-webapp-junit under modules folder. (I

Re: Tuscany: Axis2 codegen bug? - java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is not honoring the namespace

2008-02-08 Thread Simon Nash
Clemens Utschig - Utschig wrote: Folks, I have a simple composite as below - which makes use of SDO through SOAP in the reference ?xml version=1.0 encoding=UTF-8? composite xmlns=http://www.osoa.org/xmlns/sca/1.0; targetNamespace=/model/common/

RE: Tuscany: Axis2 codegen bug? - java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is not honoring the namespace

2008-02-08 Thread Clemens Utschig - Utschig
thx jean - this is key for SDO via SOAP interop (the complex case) - hence I guess also pretty interesting .. -- have you seen the other email today, with the bug in the Java2WSDL resolver and the NPE? /clemens -Original Message- From: Jean-Sebastien Delfino [mailto:[EMAIL PROTECTED]

Re: Tuscany: Axis2 codegen bug? - java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is not honoring the namespace

2008-02-08 Thread Jean-Sebastien Delfino
Clemens Utschig - Utschig wrote: Folks, I have a simple composite as below - which makes use of SDO through SOAP in the reference ?xml version=1.0 encoding=UTF-8? composite xmlns=http://www.osoa.org/xmlns/sca/1.0; targetNamespace=/model/common/

RE: Tuscany: Axis2 codegen bug? - java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is not honoring the namespace

2008-02-08 Thread Clemens Utschig - Utschig
simon, sure - do I have credentials / rights to open a jira?/ -- also what about the NPE I reported in the morning, one for that too? /clemens -Original Message- From: Simon Nash [mailto:[EMAIL PROTECTED] Sent: Friday, February 08, 2008 4:14 PM To: tuscany-dev@ws.apache.org Subject: Re:

[jira] Created: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

2008-02-08 Thread clemens utschig (JIRA)
java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace -- Key: TUSCANY-2033 URL:

[jira] Updated: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

2008-02-08 Thread clemens utschig (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] clemens utschig updated TUSCANY-2033: - Attachment: EmpFlexFieldService.java the java interface that is promoted as service

[jira] Updated: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

2008-02-08 Thread clemens utschig (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] clemens utschig updated TUSCANY-2033: - Attachment: EmpFlexFieldService.wsdl the wsdl that represents the endpoint in the ws

[jira] Updated: (TUSCANY-2034) NPE while namespace creation in

2008-02-08 Thread clemens utschig (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] clemens utschig updated TUSCANY-2034: - Attachment: Java2WSDLHelper.java attached is the fixed version .. line 196 - //

RE: Tuscany: Axis2 codegen bug? - java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is not honoring the namespace

2008-02-08 Thread Clemens Utschig - Utschig
https://issues.apache.org/jira/browse/TUSCANY-2033 and https://issues.apache.org/jira/browse/TUSCANY-2034 latter one contains the patch /clemens -Original Message- From: Clemens Utschig - Utschig [mailto:[EMAIL PROTECTED] Sent: Friday, February 08, 2008 4:14 PM To:

[continuum] BUILD ERROR: Apache Tuscany SCA Implementation Project

2008-02-08 Thread Continuum VMBuild Server
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=48281projectId=277 Build statistics: State: Error Previous State: Ok Started at: Fri 8 Feb 2008 19:03:37 -0800 Finished at: Fri 8 Feb 2008 20:03:05 -0800 Total time: 59m 27s Build Trigger: Schedule Build

[continuum] BUILD ERROR: Apache Tuscany SCA Implementation Project

2008-02-08 Thread Continuum VMBuild Server
Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=48281projectId=277 Build statistics: State: Error Previous State: Ok Started at: Fri 8 Feb 2008 19:03:37 -0800 Finished at: Fri 8 Feb 2008 20:03:05 -0800 Total time: 59m 27s Build Trigger: Schedule Build