Re: binding.ws in combination with doc/lit/unwrapped wsdl

2008-06-13 Thread Scott Kurz
Vamsi, It looks like all your failure cases require runtime Java2WSDL. In order to generate a doc-lit-unwrapped WSDL from Java, the Java should contain annotation: @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) I believe this the new rewrite of the Java2WSDL code that Simon

Re: [jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-12 Thread Scott Kurz
From another angle, does any spec disallow us from viewing all public setters on a Java impl as properties? It does say an @Property denotes a property but seems to allow that the converse isn't true. So, while creating a rule that such a property with a setter but no @Property must be listed in

Re: [jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-12 Thread Scott Kurz
Raymond, Just curious: did you fix it in a way such that the .componentType property definition matters or is the component property definition enough to have the value injected? On Thu, Jun 12, 2008 at 3:39 PM, Raymond Feng [EMAIL PROTECTED] wrote: Hi, It turned out this test case is not

Re: [jira] Commented: (TUSCANY-2324) InterfaceContract is not pushed down to an inner, promoted component reference only with Axis2 binding

2008-06-11 Thread Scott Kurz
/browse/TUSCANY-2324 Project: Tuscany Issue Type: Bug Components: Java SCA Axis Binding Extension Reporter: Scott Kurz Priority: Minor If we take the following example where an inner component reference is overridden in two ways

[jira] Commented: (TUSCANY-2388) Data binding does not work when Java interface implementation (where method param is not String, primitive) exposed with a web services binding

2008-06-11 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12604421#action_12604421 ] Scott Kurz commented on TUSCANY-2388: - This looks like it should work, since though

[jira] Commented: (TUSCANY-2109) Conflicts between component reference interface and promoted composite reference interface are not detected

2008-06-10 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12603900#action_12603900 ] Scott Kurz commented on TUSCANY-2109: - Based on where our discussion ended up here

Re: [NOTICE] Scott Kurz voted as Tuscany committer

2008-06-09 Thread Scott Kurz
elder Sent: Monday, June 09, 2008 4:49 AM To: tuscany-dev Subject: [NOTICE] Scott Kurz voted as Tuscany committer The Tuscany PMC has voted for Scott Kurz to become a Tuscany committer. Welcome Scott! ...ant

Re: Why the QName of service be changed?

2008-06-09 Thread Scott Kurz
I think Gilbert is pointing out that the OSOA SCA WS binding spec says that the TNS of the WSDL services/bindings/ports is supposed to be based on the SCA names: Base System URI for HTTP / Component Name / Service Name While the portType should indeed be generated from the Java interface name per

need help, different? build problem with JAXB and JDK

2008-06-09 Thread Scott Kurz
I'm getting this error: Caused by: java.lang.ClassCastException: Cannot cast class com.sun.tools.internal.xjc.addon.locator.SourceLocationAddOn to class com.sun.tools.xjc.Plugin when building the interface-java-jaxws module. I noticed on the FAQ it says to make sure you're running with

[jira] Created: (TUSCANY-2377) problem reading complex property from @file

2008-06-07 Thread Scott Kurz (JIRA)
Reporter: Scott Kurz I'm having trouble reading a complex property from a file pointed to via the property @file attr. I'm using a JAXB to hold the prop value in my Java impl, but in looking at this briefly in the debugger I think the problem might be in the DOM object before

[jira] Updated: (TUSCANY-2377) problem reading complex property from @file

2008-06-07 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2377: Attachment: 2377.itest.example.diff I didn't see an example for using XJC, so I just hand-gen'd

[jira] Updated: (TUSCANY-2377) problem reading complex property from @file

2008-06-07 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2377: Attachment: 2377.itest.example.diff Same file.. I meant to say it could be included in ASF

Re: Why target namespaces are same?

2008-06-06 Thread Scott Kurz
This was raised a few weeks ago here on this thread: http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg31241.html On Fri, Jun 6, 2008 at 4:16 PM, Gilbert Kwan [EMAIL PROTECTED] wrote: Also, the namespace convention does not match to the section 2.3.2 of WS Binding Spec V1.0, saying:

Re: [jira] Updated: (TUSCANY-2332) reconsider non-support for Holders

2008-05-28 Thread Scott Kurz
21, 2008 at 7:19 PM, Scott Kurz (JIRA) tuscany-dev@ws.apache.org wrote: [ https://issues.apache.org/jira/browse/TUSCANY-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2332: Attachment

Re: Tuscany Java2WSDL and WSDL2Java tools

2008-05-23 Thread Scott Kurz
Maybe others are taking this for granted, but I think it would help to get clear on why exactly we need a Tuscany SEI2WSDL/WSDL2SEI toolset, as opposed to, say, leveraging and extending something like the CXF toolset. I can see these arguments: A) There are SCA-specific aspects of the artifacts

Re: Tuscany Java2WSDL and WSDL2Java tools

2008-05-21 Thread Scott Kurz
That 'generate-sdo' only generates the Java types from the schema types, right? It's the WSDL2Java which maps portType operations t**o Java methods and (last I checked) our W2J is the only tool which knows how to do this with an SDO databinding. I'm not sure how useful the SDO-based J2W is,

[jira] Created: (TUSCANY-2332) reconsider non-support for Holders

2008-05-21 Thread Scott Kurz (JIRA)
Reporter: Scott Kurz Though the Java annotations/API spec specifically says wrt WSDL- Java mapping: The JAX-WS mappings are applied with the following restrictions: • No support for holders I'd like to suggest that we look into enabling such support anyway, as this seems overly

[jira] Updated: (TUSCANY-2332) reconsider non-support for Holders

2008-05-21 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2332: Attachment: guessAndGreet.wsdl reconsider non-support for Holders

Re: [jira] Commented: (TUSCANY-2109) Conflicts between component reference interface and promoted composite reference interface are not detected

2008-05-16 Thread Scott Kurz
Why do we need to be so strict in comparing interfaces? Can't we argue essentially the same point in the case with we have a Java client w/ reference w/ Java intf with a binding.ws? So, following this logic, it's suggested that the NS calculated per-JAXWS for the Java intf must match the

Re: [jira] Commented: (TUSCANY-2109) Conflicts between component reference interface and promoted composite reference interface are not detected

2008-05-16 Thread Scott Kurz
On Fri, May 16, 2008 at 1:04 PM, Simon Nash [EMAIL PROTECTED] wrote: Scott Kurz wrote: Why do we need to be so strict in comparing interfaces? Can't we argue essentially the same point in the case with we have a Java client w/ reference w/ Java intf with a binding.ws? So, following

[jira] Created: (TUSCANY-2324) InterfaceContract is not pushed down to an inner, promoted component reference only with Axis2 binding

2008-05-15 Thread Scott Kurz (JIRA)
/browse/TUSCANY-2324 Project: Tuscany Issue Type: Bug Components: Java SCA Axis Binding Extension Reporter: Scott Kurz Priority: Minor If we take the following example where an inner component reference is overridden in two ways by the outer

Re: [jira] Commented: (TUSCANY-2316) Axis2 Binding Provider does not handle services references with WSDL interfaces correctly

2008-05-14 Thread Scott Kurz
Mike, Just trying to use this issue to test/expand my own understanding of the Tuscany databinding framework. You're saying there's a problem with setting (resetting) the Axiom DB on the IC obtained from the WebServiceBindingImpl.I'm just trying to understand what the problem could be. What

Re: [BRAINSTORM] Future improvements for Tuscany databinding framework

2008-05-14 Thread Scott Kurz
Raymond, All of these sound interesting. A minor point: In making the databinding framework easy to use as a utility it would help to refactor out the exception/fault matching code so it's not tied to an interceptor, as other users of the Mediator may need to do the same routine.

Re: [jira] Commented: (TUSCANY-2316) Axis2 Binding Provider does not handle services references with WSDL interfaces correctly

2008-05-14 Thread Scott Kurz
Mike, On Wed, May 14, 2008 at 9:41 AM, Mike Edwards [EMAIL PROTECTED] wrote: Scott, Glad you've taken this out of the JIRA comments and on to the list - easier to communicate this way ;-). The point about the original code in Axis2ReferenceBindingProvider and Axis2ServiceBindingProvider

Re: [jira] Commented: (TUSCANY-2316) Axis2 Binding Provider does not handle services references with WSDL interfaces correctly

2008-05-14 Thread Scott Kurz
, 2008 at 7:45 AM, Scott Kurz [EMAIL PROTECTED] wrote: Mike, On Wed, May 14, 2008 at 9:41 AM, Mike Edwards [EMAIL PROTECTED] wrote: Scott, Glad you've taken this out of the JIRA comments and on to the list - easier to communicate this way ;-). The point about the original code

[jira] Commented: (TUSCANY-2316) Axis2 Binding Provider does not handle services references with WSDL interfaces correctly

2008-05-13 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12596503#action_12596503 ] Scott Kurz commented on TUSCANY-2316: - The binding-ws-axis2 is overwriting

Re: question on the JMS binding and databindings for XML TextMessage

2008-05-09 Thread Scott Kurz
wondering... I'm going to try to set this up before asking any more questions. Thx, Scott On Fri, May 9, 2008 at 10:49 AM, ant elder [EMAIL PROTECTED] wrote: On Wed, May 7, 2008 at 3:59 PM, Scott Kurz [EMAIL PROTECTED] wrote: I have a question on the JMS binding. If I were set up I'd just

question on the JMS binding and databindings for XML TextMessage

2008-05-07 Thread Scott Kurz
I have a question on the JMS binding. If I were set up I'd just experiment, but let me just ask It looks to me like we're requiring the service client/impl to use OMElement as its programming model (i.e. app databinding). I say this looking at class JMSBindingReferenceBindingProvider and

componentType interfaces and data transforms

2008-04-30 Thread Scott Kurz
Consider the use case where I start with a .componentType file, e.g.: componentType xmlns=http://www.osoa.org/xmlns/sca/1.0; service name=HelloWorld interface.wsdl interface= http://helloworld#wsdl.interface(HelloWorld) / /service /componentType And I proceed to write a Java impl with

Re: [vtest] getCompositeContext API for non-SCA clients

2008-04-24 Thread Scott Kurz
Kevin, Yee-Kang, Did you envision creating a new API that would accept a component URI as input, e.g.: ComponentContext getComponentContext(String componentURI); Or were you talking about some sort of virtual component like Ant mentioned? Scott On Thu, Apr 24, 2008 at 10:49 AM, ant elder

[jira] Commented: (TUSCANY-2113) Problem with fault comparison in DataTransformationInterceptor; maybe we should compare elem QNames, not type QNames?

2008-04-16 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12589777#action_12589777 ] Scott Kurz commented on TUSCANY-2113: - I'm sorry I don't have a test case handy

[jira] Created: (TUSCANY-2217) Some null guards needed in MediatorImpl

2008-04-11 Thread Scott Kurz (JIRA)
Affects Versions: Java-SCA-1.1 Reporter: Scott Kurz Fix For: Java-SCA-Next I think we should add guards to MediatorImpl.mediate() so that: - We don't do the introspectType(source) if 'source' is null - We simply return 'source' if 'targetDataType' is null While

[jira] Updated: (TUSCANY-2217) Some null guards needed in MediatorImpl

2008-04-11 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2217: Attachment: 2217.patch Some null guards needed in MediatorImpl

Re: A solution to avoid ConcurrentModificationException

2008-04-10 Thread Scott Kurz
Raymond, So, for 2085 for example, we have multiple different modules that, when activated, may do an addDatabinding on the defaultDBExtensionPoint. Eventually.. later...someone comes along and uses this to do an introspectType. At that point the loadDataBindings() is done. That all seems to

How can I get wireTarget operation from service-side binding impl?

2008-04-04 Thread Scott Kurz
This question is especially for Raymond, In trying to invoke the mediator from a service-side binding impl, I have a need to get the wireTarget operation (to pass to the mediator). I was wondering what the downside would be of caching the operation from the service contract which I'd get in the

[jira] Created: (TUSCANY-2193) NPE when configuring WSDL interface on component ref when the component has a Composite impl

2008-04-03 Thread Scott Kurz (JIRA)
Project: Tuscany Issue Type: Bug Components: Java SCA Core Runtime Reporter: Scott Kurz Priority: Minor I noticed this with a more complicated example. To reproduce more simply maybe, go to the SVN dir: sca/itest/recursive and modify

[jira] Commented: (TUSCANY-2193) NPE when configuring WSDL interface on component ref when the component has a Composite impl

2008-04-03 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12585135#action_12585135 ] Scott Kurz commented on TUSCANY-2193: - I found the problem

[jira] Updated: (TUSCANY-2189) Problems building the wire for a service implemented by Composite

2008-04-02 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2189: Attachment: test.2189.jar Sorry this doesn't exactly match the SCDL pasted it the JIRA text

[jira] Created: (TUSCANY-2189) Problems building the wire for a service implemented by Composite

2008-04-02 Thread Scott Kurz (JIRA)
Components: Java SCA Core Runtime Reporter: Scott Kurz Fix For: Java-SCA-Next Attachments: test.2189.jar Take something like this: composite name=OuterComposite component name=OuterCalculatorComponent service name=OuterCalculatorService

Should I be able to put a WS binding on a service of a component w/ Composite impl?

2008-04-01 Thread Scott Kurz
Should this work? composite name=OuterComposite component name=OuterCalculatorComponent service name=OuterCalculatorService binding.ws wsdlElement=/ /service implementation.composite name=calc:InnerComposite/ /component /composite composite

Re: Parsing the wsdl file,is part element name must equals operation's name?

2008-04-01 Thread Scott Kurz
Hi, I believe this check is only a constraint in determining if this WSDL operation qualifies for wrapped mapping according to the JAX-WS spec. If this does not hold we can still accept this WSDL, but we'll treat it as nonwrapped and when mapping to Java, say, we'll use the nonwrapped style

[jira] Commented: (TUSCANY-2084) Problems deserializing XML-SDO after using XMLType element calculated from Java to serialize SDO-XML onto

2008-03-26 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12582302#action_12582302 ] Scott Kurz commented on TUSCANY-2084: - There's a similar issue for dynamic SDO

[jira] Issue Comment Edited: (TUSCANY-2084) Problems deserializing XML-SDO after using XMLType element calculated from Java to serialize SDO-XML onto

2008-03-26 Thread Scott Kurz (JIRA)
Project: Tuscany Issue Type: Bug Components: Java SCA Data Binding Runtime, Java SDO Implementation Affects Versions: Java-SCA-1.1 Reporter: Scott Kurz Fix For: Java-SCA-Next Discussed in this thread: http://www.mail-archive.com

Re: Why there are two different ways for tuscany generating WSDL from java (java2wsdl)

2008-03-24 Thread Scott Kurz
comments. Best Regards - Alex On Wed, Mar 5, 2008 at 11:25 PM, Simon Nash [EMAIL PROTECTED] wrote: See inline. Simon Scott Kurz wrote: One important difference if I understand correctly is the tool handles SDOs whereas the runtime interface-wsdl-java2wsdl module only

[jira] Created: (TUSCANY-2113) Problem with fault comparison in DataTransformationInterceptor; maybe we should compare elem QNames, not type QNames?

2008-03-21 Thread Scott Kurz (JIRA)
: https://issues.apache.org/jira/browse/TUSCANY-2113 Project: Tuscany Issue Type: Bug Affects Versions: Java-SCA-1.1 Reporter: Scott Kurz Fix For: Java-SCA-Next There's a problem with how the fault matching in DTI uses the private DTI.typesMatch

[jira] Updated: (TUSCANY-2113) Problem with fault comparison in DataTransformationInterceptor; maybe we should compare elem QNames, not type QNames?

2008-03-21 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2113: Description: There's a problem with how the fault matching in DTI uses the private

[jira] Updated: (TUSCANY-2113) Problem with fault comparison in DataTransformationInterceptor; maybe we should compare elem QNames, not type QNames?

2008-03-21 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2113: Description: There's a problem with how the fault matching in DTI uses the private

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

2008-03-19 Thread Scott Kurz
Thanks Simon that clears things up. On Wed, Mar 19, 2008 at 10:00 AM, Simon Nash (JIRA) tuscany-dev@ws.apache.org wrote: [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12580378#action_12580378]

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

2008-03-18 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12579836#action_12579836 ] Scott Kurz commented on TUSCANY-2033: - I'm surprised we'd view Clemens' original

[jira] Updated: (TUSCANY-2094) Would like to keep track of element name during fault/exception mapping at introspect time and invocation time so I can use FaultException matching helpfully

2008-03-17 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2094: Attachment: JAXWSFaultExcMapper.patch Would like to keep track of element name during fault

[jira] Created: (TUSCANY-2094) Would like to keep track of element name during fault/exception mapping at introspect time and invocation time so I can use FaultException matching helpfully

2008-03-17 Thread Scott Kurz (JIRA)
: Scott Kurz Fix For: Java-SCA-1.2 Attachments: JAXWSFaultExcMapper.patch In the JAXWSFaultExceptionMapper, we look at the @WebFault to capture the fault element name. It would be nice to capture during introspect this so it could be set into the FaultException at wrap

real basic question on Composite impl (recursion)

2008-03-17 Thread Scott Kurz
I think this has been discussed before on this list.. but I'm not sure or forget where we ended up. In the case that you have a non-default binding on a component service defined with an inner composite which is in turn used as a component impl, what happens if the service is not re-defined

[jira] Updated: (TUSCANY-2084) Problems deserializing XML-SDO after using XMLType element calculated from Java to serialize SDO-XML onto

2008-03-14 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-2084: Component/s: Java SDO Implementation Java SCA Data Binding Runtime

make xxx2DataObject transformers private?

2008-03-14 Thread Scott Kurz
For awhile I was disabling the three xxx2DataObject transformers from being called during intermediate transfroms by using the supported mechanism for marking the private, e.g.: org.apache.tuscany.sca.databinding.sdo.String2DataObject;source=

[jira] Created: (TUSCANY-2085) ConcurentModExc in DefaultDataBindingExtensionPoint

2008-03-14 Thread Scott Kurz (JIRA)
SCA Data Binding Runtime Affects Versions: Java-SCA-1.1 Reporter: Scott Kurz Priority: Minor Fix For: Java-SCA-Next Get an exception like the following, java.util.ConcurrentModificationException at java.util.AbstractList$SimpleListIterator.next(Unknown

Re: Why there are two different ways for tuscany generating WSDL from java (java2wsdl)

2008-03-05 Thread Scott Kurz
One important difference if I understand correctly is the tool handles SDOs whereas the runtime interface-wsdl-java2wsdl module only handles POJO types. I think the runtime code basically relies on Axis2's Java-XSD mapping, which I don't think would fully honor JAXB annotations in the Java as it

Re: Why there are two different ways for tuscany generating WSDL from java (java2wsdl)

2008-03-05 Thread Scott Kurz
JXAB. But for tools\java2wsdl, it NOT easy since it use different approache. -Alex On Wed, Mar 5, 2008 at 10:09 PM, Scott Kurz [EMAIL PROTECTED] wrote: One important difference if I understand correctly is the tool handles SDOs whereas the runtime interface-wsdl-java2wsdl module

question on Axis2 binding use of J2W helper, building a port from an intf.wsdl portType

2008-02-26 Thread Scott Kurz
I think we have another case to deal with in bindings like the Axis2 binding, which is the case that the user provides a portType on interface.wsdl without a full port. So the SCDL would look like: component name=JAXBTestComponent1 implementation.java ... service...

why does SDODatabinding set up a default element ?

2008-02-26 Thread Scott Kurz
Question: Way back in October in r589154 SDODataBinding.introspect was changed to propagate the Java dflt elem QName into the XMLType logical with code that looks like: Object logical = dataType.getLogical(); if (logical instanceof XMLType) { elementName =

[jira] Updated: (TUSCANY-1679) PBVInvoker doesn't handle checked/business excs

2008-02-20 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-1679: Summary: PBVInvoker doesn't handle checked/business excs (was: PBVInvoker always uses service

[jira] Commented: (TUSCANY-1679) PBVInvoker always uses service-side classloader to deserialize ... also doesn't handle checked/business excs

2008-02-20 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12570742#action_12570742 ] Scott Kurz commented on TUSCANY-1679: - The implications of some other discussions

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-20 Thread Scott Kurz
Yes I can envision some useful transforms which wrapper/unwrapper data formats without doing copies. That raises the question of how to turn off PBVInterceptor dynamically. I guess I hadn't given this enough thought before, since actually I'd like to be able to do the same from the binding

Re: How to use SDO in tuscany sca?

2008-02-20 Thread Scott Kurz
I can see the advantages of registering in init. I'd heard that import.sdo for statics was deprecated but hadn't picked up we were trying to say it was deprecated for dynamic too. I must have missed that... Scott - To

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-20 Thread Scott Kurz
- From: Scott Kurz [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Wednesday, February 20, 2008 9:48 AM Subject: Re: Bypassing unnecessary transforms by Tuscany databinding framework Yes I can envision some useful transforms which wrapper/unwrapper data formats without doing copies

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-20 Thread Scott Kurz
Responses inline...thanks OK, I guess I didn't understand what you did after all. I'm not sure why we are looking at the client side and the reference binding invoker?Is there even a chain we care about on the client side? Doesn't the chain consist of a path from

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-20 Thread Scott Kurz
I meant to say: Given my view I don't see it's relevance ON THE CLIENT SIDE On Feb 20, 2008 2:32 PM, Scott Kurz [EMAIL PROTECTED] wrote: Responses inline...thanks OK, I guess I didn't understand what you did after all. I'm not sure why we are looking at the client side

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-02-19 Thread Scott Kurz
Hi Raymond, Sebastien, Sorry I dropped off of the discussion for awhile. I took a look at the r628163 code. Let me see if I'm understanding this correctly: When an Invoker implements PassByValueAware.allowsPassByReference() and returns 'true', it means exactly this: I know that, on this

Re: How to use SDO in tuscany sca?

2008-02-18 Thread Scott Kurz
Wang, I'm guessing the problem is probably that you need to register your app types with the appropriate context established by the Tuscany runtime. Tuscany typically does this automatically, now, for static SDO. For dynamic SDO (i.e. DataObject), you would currently put something like this in

[jira] Commented: (TUSCANY-2042) Dynamically generated WSDL not generating output message for void types

2008-02-11 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12567848#action_12567848 ] Scott Kurz commented on TUSCANY-2042: - It is looking more like an Axis2 versioning

[jira] Commented: (TUSCANY-2042) Dynamically generated WSDL not generating output message for void types

2008-02-11 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12567709#action_12567709 ] Scott Kurz commented on TUSCANY-2042: - I recreated this at the same time as stepping

Re: NoSuchMethodError: javax/wsdl/Operation

2008-02-11 Thread Scott Kurz
There's two jars with WSDL4J relevant to the 6.1 appserver runtime: WAS\plugins\com.ibm.ws.runtime_6.1.0.jar WAS\plugins\org.apache.axis2_6.1.0.jar The rest are relevant for tooling and client envs. The first of those has some version WSDL4J 1.5 and the latter 1.6. So you manually patched

Re: NoSuchMethodError: javax/wsdl/Operation

2008-02-11 Thread Scott Kurz
Ant, There is more than one version of WSDL4J in the WAS 6.1 image. You're probably getting the wrong one. Generally speaking WAS 6.1 uses OSGI bundle manifests and a special OSGi-enabled classloader network to load the right target class starting from a given source classloader. There are

[jira] Issue Comment Edited: (TUSCANY-2042) Dynamically generated WSDL not generating output message for void types

2008-02-11 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12567709#action_12567709 ] scottkurz edited comment on TUSCANY-2042 at 2/11/08 9:16 AM: --

Re: WSDLLess Deployment Implementation Question

2008-02-05 Thread Scott Kurz
, 2008 3:55 AM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Scott Kurz wrote: When you wrote: - The generator should use the databinding metadata (including any knowledge of handwritten XSD representing the business data and generation capabilities like the SDO XSDGenerator) to generate

Re: WSDLLess Deployment Implementation Question

2008-02-05 Thread Scott Kurz
On Feb 3, 2008 5:01 PM, Mike Edwards [EMAIL PROTECTED] wrote: Folks, It is important to remember that when an interface is specified EITHER as some non-WSDL interface type (eg Java interface) OR where it is specified as WSDL, the FINAL WSDL that is necessary for a deployed (web) service may

Re: WSDLLess Deployment Implementation Question

2008-02-04 Thread Scott Kurz
Sebastien, When you wrote: - The generator should use the databinding metadata (including any knowledge of handwritten XSD representing the business data and generation capabilities like the SDO XSDGenerator) to generate proper XSD in the WSDL. How were you thinking a particular XSD would be

question on runtime Java2WSDLHelper

2008-01-30 Thread Scott Kurz
I was looking over the runtime Java2WSDLHelper code to get some understanding of it. After we build the WSDL with the call to: builder.generateWSDL(); I was wondering what we're doing post-gen to the WSDL types section? What's the code calling readInlineSchemas() doing? Is that code in there

Re: Exception-Fault mapping

2008-01-28 Thread Scott Kurz
plug in their own patterns. Thanks, Raymond - Original Message - From: Scott Kurz [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Thursday, January 24, 2008 3:01 PM Subject: Re: Exception-Fault mapping Raymond, Thanks for organizing this discussion much better

Re: Exception-Fault mapping

2008-01-24 Thread Scott Kurz
should wrap the fault into a ServiceRuntimeException. Thanks, Raymond - Original Message - From: Scott Kurz [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Thursday, January 10, 2008 5:14 PM Subject: Exception-Fault mapping A few months back, I wrote up a proposal

Bypassing unnecessary transforms by Tuscany databinding framework

2008-01-23 Thread Scott Kurz
The binding-feed code suggests a way to deal with JIRAs 1678,1680. That is, the mediator is called directly from within the binding implementation, rather than relying on the DBInterceptor being set up on the wire at Composite start time with a static DB transform established at that time. A key

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-01-23 Thread Scott Kurz
Right... for specific binding(s) there might be a co-located optimization (whereas maybe other bindings require some sort of normalized data format).However the question of where the target service is co-located or not is clearly not a binding-specific question to answer. As far as

Re: Bypassing unnecessary transforms by Tuscany databinding framework

2008-01-23 Thread Scott Kurz
the same maybe I can do PBR) * is target annotated with @AllowsPBR And again, I'm ignorant to what extent this is already possible... Scott On Jan 23, 2008 1:36 PM, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Scott Kurz wrote: The binding-feed code suggests a way to deal with JIRAs

[jira] Created: (TUSCANY-2010) Default binding URI for service from Composite impl component is incorrect

2008-01-21 Thread Scott Kurz (JIRA)
Issue Type: Bug Components: Java SCA Assembly Model Affects Versions: Java-SCA-1.0.1 Reporter: Scott Kurz Priority: Minor Fix For: Java-SCA-1.1 Consider the following two SCDL files, a top-level SCDL with a component implemented in a 2nd SCDL

Re: [jira] Created: (TUSCANY-2002) SDO databinding doesn't have access to the SDO factories which are not referenced by an component service/reference interface

2008-01-18 Thread Scott Kurz
Raymond, Can I ask a question about this? For static SDOs (Ignoring the wrapper types which have this problem), we're only registering the SDOs with the Composite HelperContext during transformation, right? During introspection the SDODataBinding.introspect calls TypeHelper.getType(Class) but

[jira] Commented: (TUSCANY-1938) doc-lit-wrapped WSDLs with wrapper elems with non-substitution-group refs are incorrectly treated as non-wrapped

2008-01-15 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12559236#action_12559236 ] Scott Kurz commented on TUSCANY-1938: - It works now (operation is treated as 'wrapped

Re: Does the public/private transformer support have a bug?

2008-01-10 Thread Scott Kurz
the correct fix should be: if (edge.isPublic() || edge.getTargetVertex() == target) { ... } Thanks, Raymond - Original Message - From: Scott Kurz [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Wednesday, January 09, 2008 2:23 PM Subject: Re: Does the public/private

could we only map elems in Fault/Exception matching in DataTransformationInterceptor ?

2008-01-10 Thread Scott Kurz
I can't remember if I brought this up a few months back or not... but I question whether in DataTransformationInterceptor we really need to go as far as to match the TypeInfo of the source and target fault DataType logicals for XMLTypes. In DataTransformationInterceptor.typesMatch() we do:

Exception-Fault mapping

2008-01-10 Thread Scott Kurz
A few months back, I wrote up a proposal for decoupling the fault databinding from the way that the exception maps to a fault which would among other things get the exception handlers out of the introspection business. The mail is here:

JAX-WS spec interpretation question re: doc-lit-wrapped? WSDLs with wrapper elems with non-substitution-group refs

2008-01-09 Thread Scott Kurz
Can we discuss the issue mentioned in: https://issues.apache.org/jira/browse/TUSCANY-1938 Does anyone agree with my opinion that the interpretation in the JAX-WS RI toolset is better than the Tuscany interpretation? (Though I understand Raymond has disagreed in the past.) Thanks, Scott

Re: JAX-WS spec interpretation question re: doc-lit-wrapped? WSDLs with wrapper elems with non-substitution-group refs

2008-01-09 Thread Scott Kurz
it in TUSCANY-1938. Thanks, Raymond - Original Message - From: Scott Kurz [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Wednesday, January 09, 2008 8:58 AM Subject: JAX-WS spec interpretation question re: doc-lit-wrapped? WSDLs with wrapper elems with non-substitution-group

Does the public/private transformer support have a bug?

2008-01-09 Thread Scott Kurz
I have some code around the r603995 level... and I noticed the following transformer chain when the impl uses JAXB with the WS binding (using AXIOM DB): org.apache.tuscany.sca.databinding.jaxb.JAXB2Node org.apache.tuscany.sca.databinding.sdo.Node2DataObject

Re: Does the public/private transformer support have a bug?

2008-01-09 Thread Scott Kurz
to something else ONLY if this is the first transform outbound I also want to convert from something else to SDO ONLY if this is the last transform inbound, i.e. the transform resulting in the ultimate target DB. Does this sound reasonable? Scott On Jan 9, 2008 3:19 PM, Scott Kurz [EMAIL

use of JAXB impl classes in databinding-jaxb

2008-01-04 Thread Scott Kurz
I noticed class, org.apache.tuscany.sca.databinding.jaxb.BeanXMLStreamReaderImpl is invoking a constructor of com.sun.xml.bind.v2.runtime.JAXBContextImpl: JAXBContextImpl context = new JAXBContextImpl(classes, null, Collections.Class, Class emptyMap(), null, false, reader,

[jira] Created: (TUSCANY-1938) doc-lit-wrapped WSDLs with wrapper elems with non-substitution-group refs are incorrectly treated as non-wrapped

2007-12-17 Thread Scott Kurz (JIRA)
://issues.apache.org/jira/browse/TUSCANY-1938 Project: Tuscany Issue Type: Bug Components: Java SCA Core Runtime Affects Versions: Java-SCA-1.0 Reporter: Scott Kurz The JAX-WS Spec, Sec. 2.3.1.2, makes the following confusing statement in defining the WSDL

[jira] Updated: (TUSCANY-1938) doc-lit-wrapped WSDLs with wrapper elems with non-substitution-group refs are incorrectly treated as non-wrapped

2007-12-17 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-1938: Attachment: helloworld.wsdl doc-lit-wrapped WSDLs with wrapper elems with non-substitution

[jira] Created: (TUSCANY-1926) Problem w/ JDKInvocationHandler with dynamic reference with WSDLinterface

2007-11-29 Thread Scott Kurz (JIRA)
Issue Type: Bug Reporter: Scott Kurz Priority: Minor I found another case where the JDKInvocationHandler.match() doesn't handle WSDL interfaces. Earlier problems in this area were: https://issues.apache.org/jira/browse/TUSCANY-1342 https://issues.apache.org/jira/browse

[jira] Created: (TUSCANY-1899) Java2WSDL (trivial) - do we have to assume method names start w/ a lowercase char?

2007-11-07 Thread Scott Kurz (JIRA)
: Tuscany Issue Type: Bug Components: Java SCA Tools, Java SDO Tools Affects Versions: Java-SCA-1.0, Java-SCA-1.0.1 Reporter: Scott Kurz Priority: Trivial The fact that: TuscanyWSDLTypesGenerator .createSchemaTypeForMethodPart on line 267 calls

[jira] Updated: (TUSCANY-1902) Input2InputTransformer doesn't handle null input going from SDO-AXIOM

2007-11-07 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-1902: Fix Version/s: (was: Java-SCA-1.0.1) Input2InputTransformer doesn't handle null input going

[jira] Created: (TUSCANY-1902) Input2InputTransformer doesn't handle null input going from SDO-AXIOM

2007-11-07 Thread Scott Kurz (JIRA)
Type: Bug Components: Java SCA Data Binding Runtime Affects Versions: Java-SCA-1.0 Reporter: Scott Kurz Priority: Minor Fix For: Java-SCA-1.0.1 I get the following: java.lang.NullPointerException

[jira] Updated: (TUSCANY-1681) DataObject2XMLStreamReader can't handle a null (or could this be an SDO bug??)

2007-11-05 Thread Scott Kurz (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Kurz updated TUSCANY-1681: Attachment: 1681.patch Well, let me push the issue a bit by at least submitting a patch

  1   2   3   >