Re: [VOTE] Release Apache CXF 2.0.11

2009-04-22 Thread Benson Margulies
+1 On Wed, Apr 22, 2009 at 4:50 AM, wrote: > +1 > > David > > 2009/4/21 Daniel Kulp : > > This is a vote to release CXF 2.0.11 > > > > Once again, there have been a bunch of bug fixes and enhancements that > > have been done compared to the 2.0.10 release. Over 36 JIRA issues > > are resolved

Re: [VOTE] Release CXF 2.2.1

2009-04-22 Thread Benson Margulies
+1 On Wed, Apr 22, 2009 at 4:49 AM, David Bosschaert < david.bosscha...@gmail.com> wrote: > +1 > > David > > 2009/4/21 Daniel Kulp : > > his is a vote to release CXF 2.2.1 > > > > > > Once again, there have been a bunch of bug fixes and enhancements that > > have been done compared to the 2.2 rel

Re: [VOTE] Release CXF 2.1.5

2009-04-22 Thread Benson Margulies
+1 On Wed, Apr 22, 2009 at 4:50 AM, wrote: > +1 > > David > > 2009/4/21 Daniel Kulp : > > This is a vote to release CXF 2.1.5 > > > > > > Once again, there have been a bunch of bug fixes and enhancements that > > have been done compared to the 2.1.4 release. Over 87 JIRA issues > > are resolve

Codegen changes for mvn project

2009-04-22 Thread Benson Margulies
I posted some to issue 5. As I read Svante, however, I should be splitting this code into a new repository.

A rather crazy idea for a feature

2009-04-27 Thread Benson Margulies
Imagine a CXF extension to MTOM that used shared memory to move the attachment. The bytes from the DataSource or whatever would be pushed into a mapped file, and the client would map the same file. Maybe this is just the file: URL as the MTOM identifier, and the mapping of the file is just an opimi

Re: A rather crazy idea for a feature

2009-04-28 Thread Benson Margulies
case as > it sort of fell out from the binary nature of the GIOP protocol. > > Cheers, > Eoghan > > > 2009/4/28 Benson Margulies : > > Imagine a CXF extension to MTOM that used shared memory to move the > > attachment. The bytes from the DataSource or whatever would be pushe

How to run a test with a wierd set of system properties

2009-05-13 Thread Benson Margulies
Can one have multiple executions of the maven-surefire-plugin? I want to add a test case that runs with a strange setting of file.encoding to the systests.

Re: How to run a test with a wierd set of system properties

2009-05-13 Thread Benson Margulies
But it will affect all testcase, for a specific test, how about set system properties in the setUp method? Freeman Benson Margulies wrote: Can one have multiple executions of the

Re: cxf - aegis service customization

2009-05-18 Thread Benson Margulies
Atilla, Why do you want to specify the component type at all? If you want the parameter to be Number and the xsd type to be xsd:long, just say so. After all, one way or the others, the actual Java decl of the parameter type has to be Number. I'm going to add a unit test for Number/xsd:long and fi

Re: cxf - aegis service customization

2009-05-18 Thread Benson Margulies
It turns out to seem to me to work fine if you just specify the typeName. I'm checking in a unit test. On Mon, May 18, 2009 at 12:06 PM, Attila Balogh wrote: > dear Benson, > > at this URL: > https://issues.apache.org/jira/browse/CXF-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-t

Re: cxf - aegis service customization

2009-05-18 Thread Benson Margulies
Aha, the service explodes. I'm working on it. On Mon, May 18, 2009 at 5:30 PM, Benson Margulies wrote: > It turns out to seem to me to work fine if you just specify the typeName. > I'm checking in a unit test. > > On Mon, May 18, 2009 at 12:06 PM, Attila Balogh >

Re: cxf - aegis service customization

2009-05-18 Thread Benson Margulies
OK, now I am tuned into the full muddle. Number is an abstract class. So, how do you expect Aegis to pick a concrete type? On Mon, May 18, 2009 at 6:02 PM, Benson Margulies wrote: > Aha, the service explodes. I'm working on it. > > > On Mon, May 18, 2009 at 5:30 PM, Benson M

JAXB 2.2 EA

2009-06-01 Thread Benson Margulies
It would be good if someone would find time to test this out and complain about problems with it.

Aegis schema validation design challenge

2009-06-01 Thread Benson Margulies
The way Tatu has woodstox validation set up, it would be desirable to activate it just before reading the first part-element. The code I've got so far wants to see the part, and thus get dispatched into the data binding, and then turn on validation. By which time, it's (for now) too late. It occur

Re: Aegis schema validation design challenge

2009-06-04 Thread Benson Margulies
I'm feeling a bit 'phased'. I already did my first effort here in AbstractInDatabindingInterceptor, and it seems that this is too late. Just where do I have to be to be after reading the body element? On Tue, Jun 2, 2009 at 12:41 PM, Daniel Kulp wrote: > On Mon June 1 2009

Re: Aegis schema validation design challenge

2009-06-04 Thread Benson Margulies
So we end up with an entire interceptor just to move to the first token of the body? OK. On Thu, Jun 4, 2009 at 9:05 PM, Daniel Kulp wrote: > On Thu June 4 2009 8:46:08 pm Benson Margulies wrote: >> I'm feeling a bit 'phased'. I already did

Could I push the woodstox rev in the parent to 4.0.3?

2009-06-05 Thread Benson Margulies
Could I push our default dependency to 4.0.3?

Re: Time to move trunk to 2.3 and create 2.2.x fixes branch...

2009-06-05 Thread Benson Margulies
+1 On Fri, Jun 5, 2009 at 11:25 AM, Daniel Kulp wrote: > > > With 2.2.2 out the door, I think it's probably time to create a 2.2.x fixes > branch and move trunk to targetting 2.3. > > Basically, there are things that should start coming in that are more than > just "bug fixes" that should probabl

Re: End 2.0.x support/releases?

2009-06-05 Thread Benson Margulies
+1 On Fri, Jun 5, 2009 at 11:37 AM, Daniel Kulp wrote: > > This may be a "thorny" issue, but I'd like to bring it up and start a > discussion. > > July 4th will mark the 2 year anniversary of the CXF 2.0 release.   Since > then, we have released 11 patches to that branch, along with 2.1 (and 5 >

Strange ASM errors in systests

2009-06-05 Thread Benson Margulies
java.lang.LinkageError: duplicate class definition: org/apache/hello_world_soap_http/types/GreetMeLaterResponse_WrapperTypeHelper1 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) at java.lang.ClassLoader.defineC

Re: Aegis schema validation design challenge

2009-06-05 Thread Benson Margulies
Next question: Exception mapping. Woodstox throws what it throws, in the middle of StaxUtils, when this goes off. I'm trying to figure out how to turn this into a fault. SchemaValidationTest [JUnit] org.eclipse.jdt.internal.junit.runner.RemoteTestRunner at localhost:52320

Surefire reports

2009-06-06 Thread Benson Margulies
Running mvn 2.1.0, the surefire output is now just the XML. No sign of the readable text files for the errors.

Aegis schema validation progress report

2009-06-06 Thread Benson Margulies
I think this is cooked. MSV version 2009.1 has fixes for multiple interrelated schemas. I expect to push a release of that RSN. The woodstox 4.1 branch has fixes for error reporting and is set up to use MSV 2009.1. I need to negotiate with Tatu about pushing a release of this, or pushing the erro

Re: Aegis schema validation progress report

2009-06-06 Thread Benson Margulies
-handling improvements in general). -+ Tatu +- On Sat, Jun 6, 2009 at 1:22 PM, Benson Margulies wrote: I think this is cooked. MSV version 2009.1 has fixes for multiple interrelated schemas. I expect to push a release of that RSN. The woodstox 4.1 branch has fixes for error reporting and is set up

Re: [VOTE] Alessio Soldano for committer

2009-06-08 Thread Benson Margulies
+1 On Jun 8, 2009, at 3:31 PM, Daniel Kulp wrote: Alessio has been one of the primary driving forces behind getting CXF to be a certified JAX-WS provider for JBoss. As part of that work, he has identified several bugs/issues in CXF and has provided patches for many of them. He has a

Re: Aegis schema validation design challenge

2009-06-08 Thread Benson Margulies
; On Fri, Jun 5, 2009 at 6:14 PM, Benson Margulies wrote: >> Next question: Exception mapping. Woodstox throws what it throws, in >> the middle of StaxUtils, when this goes off. >> >> I'm trying to figure out how to turn this int

Re: How to generate schemas from Java classes

2009-06-10 Thread Benson Margulies
Jaxb or Aegis. I don't think xmlbeans, but I may be out of date. On Wed, Jun 10, 2009 at 10:25 AM, Sergey Beryozkin wrote: > Hi > > I need to generate schema instances from java types, these types may or may > not be JAXB annotated. > What options are available in CXF ? > > thanks, Sergey

Are we branched?

2009-06-10 Thread Benson Margulies
Is it OK if I check into trunk with changes that depend on new wstx+ msv?

Re: Are we branched?

2009-06-10 Thread Benson Margulies
Ah, a task at which I am uniquely qualified. On Wed, Jun 10, 2009 at 11:21 AM, Daniel Kulp wrote: > On Wed June 10 2009 11:12:58 am Benson Margulies wrote: >> Is it OK if I check into trunk with changes that depend on new wstx+ msv? > > Yep.   All's a go.   Go ahead a

hudson failures

2009-06-10 Thread Benson Margulies
test failures are because the test 'fails to fail' in the default profile which lacks the necessary wstx version. I will deal when I get home from 5th grade concert.

Re: JAXRS : issues with AegisProvider

2009-06-17 Thread Benson Margulies
The 'any' in the map means that somehow Aegis is not finding type information for the map element type. If you set up some sort of test case and check it in with @Ignore, and make a JIRA, and assign it to me :-) I can probably fix it. On Wed, Jun 17, 2009 at 8:19 AM, Sergey Beryozkin wrote: > Hi,

Re: JAXRS : issues with AegisProvider

2009-06-17 Thread Benson Margulies
Like I said. Given my current level of load, if you tee it up, I'll try to knock it down. But I need something that misbehaves. I'm sorry to have to ask for that silver platter. On Wed, Jun 17, 2009 at 8:43 AM, Sergey Beryozkin wrote: > For the purpose of the demo I introduced a wrapper around th

Re: JAXRS : issues with AegisProvider

2009-06-17 Thread Benson Margulies
ozkin wrote: > Hi Benson - I just sent a followup email at the same time you replied :-), > I'll create a JIRA shortly, > > thanks, Sergey > > - Original Message - From: "Benson Margulies" < > bimargul...@gmail.com> > To: > Sent: Wednesday

Re: JAXRS : issues with AegisProvider

2009-06-17 Thread Benson Margulies
9 2:42 PM > > Subject: Re: JAXRS : issues with AegisProvider > > > Hi Benson - I just sent a followup email at the same time you replied :-), >> I'll create a JIRA shortly, >> >> thanks, Sergey >> >> - Original Message - From: "Benson Marguli

Re: Commit rights and few questions

2009-06-18 Thread Benson Margulies
Let me put in a plug for feeding the fish ... EYE. Be sure, when writing commit comments, to put JIRA numbers into them, so that FISH-EYE will automatically annotate JIRA. Which suggests an opportunity to state a few other general principles, which I will explain by telling a story. You run into

Re: Aegis schema validation stuff...

2009-06-19 Thread Benson Margulies
zerces is validaitng the schemas themselves! more when in not pecking on an iPhone . On Jun 19, 2009, at 10:30 AM, Daniel Kulp wrote: Benson, Now that Aegis is using msv for the schema validation stuff, is the xerces module in common required for anything? Is it removable? Of is it

Re: Aegis schema validation stuff...

2009-06-19 Thread Benson Margulies
Let me try this again. My first project in the area of Aegis and Schema was to add code to validate that the schemas produced by Aegis are/were valid schemas. Hypothetically, we could do the same thing with the output of JAXB or any other schema producer, or even input schemas for tools. This uses

Re: [hudson] CXF-Trunk-JDK16 job disabled

2009-07-05 Thread Benson Margulies
I think I've fixed this and I've launched a build. If it doesn't work I'll re-disable. On Fri, Jul 3, 2009 at 9:00 AM, Jukka Zitting wrote: > Hi CXF developers, > > I've disabled the CXF-Trunk-JDK16 Hudson job [1] since the last three > builds [2,3,4] all got stuck for hours while executing > org.

Re: [hudson] CXF-Trunk-JDK16 job disabled

2009-07-05 Thread Benson Margulies
I think I've fixed this and I've launched a build. If it doesn't work I'll re-disable. On Fri, Jul 3, 2009 at 9:00 AM, Jukka Zitting wrote: > Hi CXF developers, > > I've disabled the CXF-Trunk-JDK16 Hudson job [1] since the last three > builds [2,3,4] all got stuck for hours while executing > org.

Re: [hudson] CXF-Trunk-JDK16 job disabled

2009-07-05 Thread Benson Margulies
My fix isn't enough. Some 'blame'-ing is called for here to see what changes have caused all this confusion. On Fri, Jul 3, 2009 at 9:00 AM, Jukka Zitting wrote: > Hi CXF developers, > > I've disabled the CXF-Trunk-JDK16 Hudson job [1] since the last three > builds [2,3,4] all got stuck for hours

Eclipse

2009-07-14 Thread Benson Margulies
So, we got rid of our eclipse plugin because STP/WTP are supposed to be covering the ground, and now users here can't find anything working except betas on the bleeding edge, and our Confluence site is a 'someday' placeholder. Can someone tell me what's the current situation, and I'll update conflu

Re: Eclipse

2009-07-14 Thread Benson Margulies
http://cwiki.apache.org/CXF20DOC/cxf-tools-in-eclipse.html needs help. I strongly remember that there was an entire eclipse plugin in our tree back when I first showed up. I could be confabulating. On Tue, Jul 14, 2009 at 12:11 PM, Oisin Hurley wrote: >> So, we got rid of our eclipse plugin bec

MyEclipse?

2009-07-14 Thread Benson Margulies
The myeclipse people have subtracted XFire and not added CXF. Should we goose them?

Document binding/aegis

2009-07-14 Thread Benson Margulies
So, I modified the aegis sample to demonstrate a service with a Document as a return type. The client receives the org.w3c.dom.Document for the 'return' wrapper element, not the actual element corresponding to the server's return value, which is one element down. Bug?

Re: Eclipse

2009-07-15 Thread Benson Margulies
That explains that. In my experience, trying to use 'incubator' materials out of Eclipse is a recipe for incipient self-defenestration. So if that's the best there is, we're stuck. I do wonder about whether the JBoss gang has something useful. On Wed, Jul 15, 2009 at 10:10 AM, Daniel Kulp wrote

Re: Eclipse

2009-07-15 Thread Benson Margulies
My collegue followed the instructions there and was rewarded with a nonfunctioning environment. I confess that I've had bad experience with the output of WTP in the past, so I'm not inclined to push him to try harder. Call me irresponsible ... On Wed, Jul 15, 2009 at 10:51 AM, Oisin Hurley wrote:

An achievement of sorts with checkstyle

2009-07-24 Thread Benson Margulies
[INFO] Starting audit... /Users/benson/cxf/git/cxf/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/AegisElementProvider.java:0: Got an exception - java.lang.ArrayIndexOutOfBoundsException: 2147483647 Audit done. Anyone have any idea how I managed this?

Re: WSDL2JS

2009-08-10 Thread Benson Margulies
The tool is part of CXF, so it requires Java 1.5. Since its output is Javascript, I don't understand why you need to run it under J2ME. In fact, you can just use the ?js URL form from the server to get the server to generate it on the fly. On Mon, Aug 10, 2009 at 2:32 PM, Demetris wrote: > > Hi al

Re: WSDL2JS

2009-08-10 Thread Benson Margulies
>> URL? If I have the WSDL >> in my possesion how can I use this tool to generate the script of me? >> >> Thanks again >> >> Benson Margulies wrote: >>> >>> The tool is part of CXF, so it requires Java 1.5. Since its output is >>> Jav

Re: WSDL2JS

2009-08-11 Thread Benson Margulies
heck - I think I know what the issue is now > after reading the > corresponding documentation but I will return and send more info if I cannot > resolve it. > > A separate question - is there a "bridge" between Axis WS and its tools and > CFX? Can an Axis > WS cli

Re: WSDL2JS

2009-08-11 Thread Benson Margulies
is so I was wondering. >>> >> >> Pretty much none of the modern SOAP toolkits support RPC/encoded.   Axis2 >> doesn't.  CXF doesn't.  Metro/JAX-WS RI doesn't.  Etc    Basically, >> rpc/encoded was such an interopability nightmare that it real

Re: How to disablle Aegis schema validation

2009-08-12 Thread Benson Margulies
It's off by default, isn't it? On Tue, Aug 11, 2009 at 11:58 AM, Sergey Beryozkin wrote: > > Is there a property which can be used to disable Aegis schema validation ? > > thanks, Sergey > -- > View this message in context: > http://www.nabble.com/How-to-disablle-Aegis-schema-validation-tp2492047

Re: WSDL2JS

2009-08-12 Thread Benson Margulies
>> support for that so I'm pretty sure Axis1 implemented it.   Not sure how to >> go about configuring it to do so.   I'm not an Axis1 user.  :-) >> >> Dan >> >> >> >> >>> >>> Benson Margulies wrote: >>> >>&g

Re: WSDL2JS

2009-08-13 Thread Benson Margulies
; is not a requirement correct? I can run this service on any Tomcat >> container running on any OS right? >> I know this is an elementary Q but I wanted to make sure there are not >> OS-specific dependencies. >> >> Thanks >> >> Benson Margulies wrote: >&g

Maven page on confluence

2009-08-13 Thread Benson Margulies
The confluence page on how to use CXF from maven is quite dated and confused.

Re: How to disablle Aegis schema validation

2009-08-14 Thread Benson Margulies
I probably turned it on specifically in that test. On Fri, Aug 14, 2009 at 8:27 AM, Sergey Beryozkin wrote: > > Hi > > Some class path exception was reported by ab (ignorable) aegis test : > > http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSDataBi

Re: WSDL2JS

2009-08-14 Thread Benson Margulies
gt; be sending out I will need > to dig into the http layers? Is there anything I can do at the app layer to > intercept that message without > disrupting/modifying the javascript? > > Benson Margulies wrote: >> >> When the server provides the javascript, it provides the cor

Re: WSDL2JS

2009-08-17 Thread Benson Margulies
ere is, before I invest the > time going over the > documentation, is there enough material there to help me figure out CXF? It > seems that the > web site if fairly well organized so that's encouraging. > > Thanks > > Benson Margulies wrote: >> >> I w

checkstyle in the samples

2009-08-19 Thread Benson Margulies
I noticed something odd. If I build a sample in place in the tree, and the codegen runs, a subsequent 'mvn' in distribution runs checkstyle which in turn throws up on the generated code. My first attempt to figure out which pom is in control of the checkstyle plugin for this purpose failed. I'll f

Re: Test Failures

2009-08-19 Thread Benson Margulies
All is well on my Mac with Java 1.5. What's your environment. On Wed, Aug 19, 2009 at 3:55 AM, Christian Schneider wrote: > Hi all, > > I am getting some unit test errors and failures in systest. Is this expected > at the moment or am I doing something wrong? Seems like it has to do with > code ge

Re: WSDL2JS

2009-08-19 Thread Benson Margulies
Demetris, Let me answer/clarify what I can. There are two ways of getting Javascript: 1: ask the server to generate it via the ?js URL. 2: run the generator yourself, either via the command-line driver or the API it calls. Both of this works either code-first or contract first. That is, you sta

Re: How to disablle Aegis schema validation

2009-08-20 Thread Benson Margulies
sable the Aegis test - I definitely did not > enable the validation. Perhaps the validation is turned off when Aegis is > used with SOAP ? I could not find a property which could do it... > > thanks, Sergey > > > - Original Message - From: "Benson Margulies"

Interceptor type management

2009-08-20 Thread Benson Margulies
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(Message) will call any interceptor's handleMessage. If the interceptor is a SoapInterceptor, and the message is an XMLMessage, the result is a ClassCastException. I don't see any code that is intended to avoid this. Anyone out there understand

Re: How to disablle Aegis schema validation

2009-08-20 Thread Benson Margulies
Aegis test - I definitely did not >>> enable the validation. Perhaps the validation is turned off when Aegis is >>> used with SOAP ? I could not find a property which could do it... >>> >>> thanks, Sergey >>> >>> >>> - Original Messag

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
I have a rather clear memory of working on these, there wasn't enough passing of Generic classes around. I'll go have a look. On Fri, Aug 21, 2009 at 6:38 AM, Sergey Beryozkin wrote: > > Hi Benson > > if you could look at any of these tests or at least point me in the right > direction then it wo

Interceptors and type safety

2009-08-21 Thread Benson Margulies
Interceptors implement a generic interface that is parameterized over a subclass of Message. Each interceptor class implements handleMessage(T), where 'T extends Message'. This removes one type cast from the interceptors, but it creates certain risks. I hit one of them, and I've been thinking abou

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
Sergey, You have to be kidding me. The test (testReadWriteComplexMap) writes a plain bean and then expects to read a map. Of course if fails! --benson On Fri, Aug 21, 2009 at 6:38 AM, Sergey Beryozkin wrote: > > Hi Benson > > if you could look at any of these tests or at least point me in the r

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
cheers, Sergey > > - Original Message - From: "Benson Margulies" > > To: > Sent: Friday, August 21, 2009 1:34 PM > Subject: Re: Handling collections with Aegis in JAX-RS > > >> Sergey, >> >> You have to be kidding me. The test (testR

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
All fixed now. I finally remembered the history of this. When you first inveigled me into working up the Aegis provider, I got as far as this test, and sent you email saying, 'OK, you fix the test, and I'll work out the rest of the kinks.' And then if you even fixed up the test I missed the email,

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
- Original Message - From: "Benson Margulies" > > To: > Sent: Friday, August 21, 2009 5:00 PM > Subject: Re: Handling collections with Aegis in JAX-RS > > >> All fixed now. >> >> I finally remembered the history of this. When you first inveigled me >&g

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
gt; > cheers, Sergey > > - Original Message - From: "Benson Margulies" > > To: > Sent: Friday, August 21, 2009 5:00 PM > Subject: Re: Handling collections with Aegis in JAX-RS > > >> All fixed now. >> >> I finally remembered the history of this. When

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
m: "Daniel Kulp" To: Cc: "Benson Margulies" Sent: Friday, August 21, 2009 6:22 PM Subject: Re: Handling collections with Aegis in JAX-RS On Fri August 21 2009 12:52:32 pm Benson Margulies wrote: It appears to be you. I ran mvn in rt/databinding/aegis again, and still n

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
Lexington, MA, outside of Boston. On Fri, Aug 21, 2009 at 2:26 PM, D G wrote: > You are a funny man Benson - do you mind if I ask where you are located? > > > > On Aug 21, 2009, at 2:14 PM, Benson Margulies wrote: > >> I are at whole foods with iPhone - will engage when

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
as been applied > > Sergey > > > > - Original Message - From: "Daniel Kulp" > To: > Cc: "Benson Margulies" > Sent: Friday, August 21, 2009 6:22 PM > Subject: Re: Handling collections with Aegis in JAX-RS > > >> On Fri August

Aegis versus JAR-RS versus XSI

2009-08-21 Thread Benson Margulies
Now I've got problems. To make collections work in JAX-RS, I need to ensure that xsi:type gets written all the time. But JSON barfs on it.

Re: Aegis versus JAR-RS versus XSI

2009-08-21 Thread Benson Margulies
See the JIRA I just gave you. The namespace map has to know about the top-level collection and the internal types. You can't do that from a Class, you need a ParameterizedType, and then you need code to walk it and add the types to the map. On Fri, Aug 21, 2009 at 3:35 PM, Sergey Beryozkin wrote:

Re: Handling collections with Aegis in JAX-RS

2009-08-21 Thread Benson Margulies
Right, a location I know well. On Fri, Aug 21, 2009 at 4:02 PM, D G wrote: > Ha - I am in Waltham on the line of Lexington and Waltham close to IBM. How > funny is that man. > > > > On Aug 21, 2009, at 2:36 PM, Benson Margulies wrote: > >> Lexington, MA, outside of B

Incoming change from me that might not be likable around part configuration in the RFSB

2009-08-23 Thread Benson Margulies
There's an ancient festering mess in Aegis related to the documented capability to configure schema characteristics of method parameters. It's the usual three stooges: minOccurs, maxOccurs, and nillable. Aegis has a lot of confusion to go around here. In general, Aegis type objects carry these att

Re: Incoming change from me that might not be likable around part configuration in the RFSB

2009-08-23 Thread Benson Margulies
I now see the root of this insanity. DefaultServiceConfiguration refuses to take a minOccurs spec for a primitive type. I guess I'll be removing that clause and seeing what happens to me. On Sun, Aug 23, 2009 at 8:10 AM, Benson Margulies wrote: > There's an ancient festering mess in

Re: Incoming change from me that might not be likable around part configuration in the RFSB

2009-08-23 Thread Benson Margulies
ating, and then cured the test case. On Sun, Aug 23, 2009 at 8:22 AM, Benson Margulies wrote: > I now see the root of this insanity. DefaultServiceConfiguration > refuses to take a minOccurs spec for a primitive type. I guess I'll be > removing that clause and seeing what happens t

Re: Eclipse workspace sorts 'test' before 'main'

2009-08-26 Thread Benson Margulies
The jaxrs classpath is indeed ill in eclipse. On Wed, Aug 26, 2009 at 7:17 AM, Sergey Beryozkin wrote: > I can't also run a JAXRS test in Eclipse which depends on AOP aspects, for > some reasons aspectj is not added to the list of libraries even though it's > in the list of dependencies in pom.xml

Re: Eclipse workspace sorts 'test' before 'main'

2009-08-26 Thread Benson Margulies
I think some 's are needed On Wed, Aug 26, 2009 at 10:30 AM, Daniel Kulp wrote: > On Wed August 26 2009 6:14:24 am Sergey Beryozkin wrote: >> Hi >> >> After updating the source and rebuilding the workspace I can see 'src/test' >> being sorted before 'src/main'. I'm wondering, what might've caused

Old XFire @authors

2009-08-27 Thread Benson Margulies
I'm inclined to clean out old XFire @authors as I revamp code, on the grounds that these folks are no longer available to answer. I'm not looking to do Russian history here. What do people think?

Big Aegis commit coming

2009-08-27 Thread Benson Margulies
For reasons probably most comparable to acute masochism, I've gone and implemented the oft-requested 'flat array' feature. In a commit coming presently, if you add flat='true' to a parameter or member of array type, you won't get an extra level of element for the array. You'll just get 'n' element

JMS test fallure

2009-08-27 Thread Benson Margulies
Can't someone do something about: Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 28.232 sec <<< FAILURE! testDurableSubscriber(org.apache.cxf.transport.jms.JMSDestinationTest) Time elapsed: 10.495 sec <<< FAILURE! java.lang.AssertionError: Can't receive the Destination message i

propose: split systests

2009-08-27 Thread Benson Margulies
I propose a simple split of systests into about 5 large buckets. That way, when one hits a failure, one doesn't have to rerun the entire gigantic pile.

Re: Big Aegis commit coming

2009-08-28 Thread Benson Margulies
aniel Kulp wrote: > On Thu August 27 2009 6:40:53 pm Benson Margulies wrote: >> For reasons probably most comparable to acute masochism, I've gone and >> implemented the oft-requested 'flat array' feature. >> >> In a commit coming presently, if you add flat=&

JAX-RS https test problem

2009-08-28 Thread Benson Margulies
I'm moving the JAX-RS systests to their own project. I'm left with the following, even after making a copy of the org.apache.cxf.systests.http package. Anybody got a clue to share? --- T E S T S --

AbstractCXFTest is in src/main/java...

2009-08-29 Thread Benson Margulies
Should this not be in src/test/java along with its friends?

For my next oddity...

2009-08-29 Thread Benson Margulies
This is happening in the systests after I subtract aegis and jax-rs. Caused by: java.lang.ExceptionInInitializerError at org.apache.cxf.ws.policy.PolicyEngineImpl.setBus(PolicyEngineImpl.java:102) at org.apache.cxf.ws.policy.PolicyEngineImpl.(PolicyEngineImpl.java:87) at

Re: JAX-RS https test problem

2009-08-29 Thread Benson Margulies
certs referenced there to the > other location > > Cheers, Sergey > -Original Message- > From: Daniel Kulp [mailto:dk...@apache.org] > Sent: 29 August 2009 03:15 > To: dev@cxf.apache.org > Cc: Benson Margulies > Subject: Re: JAX-RS https test problem > > &

systest refactor has problems

2009-08-30 Thread Benson Margulies
I used git for my systests refactoring, and I think that some evil things may have happened. All of systests/src should have moved, but some of it is still there. And there are hudson failures that don't happen in my git trunk. I'm looking, but help would be appreciated.

Are we done with spring 2.0.x in trunk?

2009-08-30 Thread Benson Margulies
I'd like to clean out the last dependencies on the old junit apis.

recent changes

2009-08-30 Thread Benson Margulies
While I was working on splitting the systests, I set out to clean up some other test-related stuff, perhaps rashly. There is some test-only code in rt-core. I moved it from src/main/java to src/test/java, and changed the POM for rt-core to build a test jar. Then I 'fixed' the dependencies to have

Re: New systests subprojetcs are not imported into Eclipse

2009-08-31 Thread Benson Margulies
That works for me. What version of Eclipse have you got? You need to get rid of the .project and .classpath from the systests toplevel. On Mon, Aug 31, 2009 at 6:33 AM, Sergey Beryozkin wrote: > Hi > > > > After running 'mvn -Psetup.eclipse' on the trunk, I can see that all the > related files li

Re: Handling collections with Aegis in JAX-RS

2009-08-31 Thread Benson Margulies
Sergey, If you want to me to tackle PADB for Aegis, you have a writing assignment. Please write up a comprehensive explanation in the javadoc. Just calling it an 'alternative' does not give an implementor much to go with. I think the top-level issue with namespaces is going to boil down to the

Re: Handling collections with Aegis in JAX-RS

2009-08-31 Thread Benson Margulies
The more I look at this, the less I understand it. Aegis has a perfectly good API for passing in a set of root classes. Why is it better to pass that collection through this property map instead of calling setRootClasses? So that you can get to the other data bindings the same way? It still won't w

warning: not quite compatible change coming to Aegis in 2.3

2009-08-31 Thread Benson Margulies
Aegis takes a collection of root classes declared as Set>. I plan to change this to be Set to permit proper generic analysis. Given how types do and don't work in Java, this will be slightly incompatible.

Bigger proposed Aegis change: rename 'Type'

2009-08-31 Thread Benson Margulies
Aegis has a class named 'Type'. This leads to confusing code all over the place when organizing imports around java.lang.reflect.Type. Anyone care to object to changing it to AegisType for 2.3?

generics and type mapping in Aegis

2009-08-31 Thread Benson Margulies
Sergey's issues with JAX-RS have started me looking at how Aegis maps types. The following temptation now occurs: allow the fundamental aegis type mechanism to map generics. Somene could thus add a mapping from any X -> XML via a custom type. Of course, with type erasure, this only will pay attenti

  1   2   3   4   5   6   7   >