RE: java.util.List and 1.1.RC2

2003-04-03 Thread Keith Hatton
For fromArray(), you mean this? java.util.Arrays.asList(Object[]) -Original Message- If you go return (Foo)list.toArray(new Foo[0]); You can turn a list to an array in a snap. A fromArray() would be nice to match it.

Re: java.util.List and 1.1.RC2

2003-04-03 Thread Steve Loughran
Keith Hatton wrote: For fromArray(), you mean this? java.util.Arrays.asList(Object[]) -Original Message- If you go return (Foo)list.toArray(new Foo[0]); You can turn a list to an array in a snap. A fromArray() would be nice to match it. you learn something new every day. Thanks

java.util.List and 1.1.RC2

2003-04-02 Thread Brain, Jim
Does anyone know if: Bugzilla Bug 8435 [xsd:list] WSDL2Java doesn't handle schema list enumerations has been fixed. I don't know how current Bugzilla is, though I concerned it is, as this seems to preclude the use of AXIS for our project (makes heavy use of Lists) Jim Jim Brain,

Re: [java.util.List and 1.1.RC2]

2003-04-02 Thread Mitch Gitman
Jim, There seem to be two separate issues here. The one (which bug 8435 addresses) is how to emulate an enumeration type, which of course is not natively supported in Java. I could have sworn recently I saw (maybe on this list) a roundabout example how to code a Java class that Axis would

Re: java.util.List and 1.1.RC2

2003-04-02 Thread Steve Loughran
Brain, Jim wrote: Does anyone know if: Bugzilla Bug 8435 [xsd:list] WSDL2Java doesn't handle schema list enumerations if its open, its probably open; you can always write a test to make sure. Note that is the special case of a list enum, not a simple list. The way .NET serialises a

Re: [java.util.List and 1.1.RC2]

2003-04-02 Thread Steve Loughran
Mitch Gitman wrote: Jim, There seem to be two separate issues here. The one (which bug 8435 addresses) is how to emulate an enumeration type, which of course is not natively supported in Java. I could have sworn recently I saw (maybe on this list) a roundabout example how to code a Java class

RE: java.util.List and 1.1.RC2

2003-04-02 Thread Brain, Jim
tomorrow's decisions today. (319) 369-2070 (work) SYSTEMS ARCHITECT, ITS, AEGON FINANCIAL PARTNERS -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 12:08 PM To: [EMAIL PROTECTED] Subject:Re: java.util.List and 1.1.RC2

Re: java.util.List and 1.1.RC2

2003-04-02 Thread James Black
Brain, Jim wrote: All I know at present is that when I expose a method that returns List, the Java2WSDL piece in AXIS complains bitterly when I do ?WSDL. As for customizing AXIS, I'm willing to try, but my knowledge of the inner workings of AXIS is extremely limited. What I did is to just turn

Re: java.util.List and 1.1.RC2

2003-04-02 Thread Mitch Gitman
Right, refer to the Forgive me... message which I sent out five minutes later when I realized this. I'm still wondering about the apparent existing support for java.util.List and the like. It seems to me that Java2WSDL should generate an exception when it comes across a collection class that

RE: java.util.List and 1.1.RC2

2003-04-02 Thread Brain, Jim
To: [EMAIL PROTECTED] Subject:Re: java.util.List and 1.1.RC2 Brain, Jim wrote: All I know at present is that when I expose a method that returns List, the Java2WSDL piece in AXIS complains bitterly when I do ?WSDL. As for customizing AXIS, I'm willing to try, but my knowledge of the inner

Re: java.util.List and 1.1.RC2

2003-04-02 Thread Steve Loughran
Mitch Gitman wrote: Right, refer to the Forgive me... message which I sent out five minutes later when I realized this. yeah, I caught that I'm still wondering about the apparent existing support for java.util.List and the like. It seems to me that Java2WSDL should generate an exception when it

Re: java.util.List and 1.1.RC2

2003-04-02 Thread Steve Loughran
Brain, Jim wrote: I know, and I thought of that. Unfortunately, I need to expose 296 service classes, containing 5000 references to List, and I have a program that is creating web service wrappers for all the classes (the original classes combined data and access logic, which had to split in half

Re: [Re: java.util.List and 1.1.RC2]

2003-04-02 Thread Mitch Gitman
I've used toArray() numerous times in my service code and had no problem with that. Obviously, Jim (the fellow who started this thread) doesn't have the luxury of coding that manually. My point, to be more precise, is that JAX-RPC 1.0 says nothing about java.util collections classes/interfaces.

RE: java.util.List and 1.1.RC2

2003-04-02 Thread Brain, Jim
and 1.1.RC2 Brain, Jim wrote: I know, and I thought of that. Unfortunately, I need to expose 296 service classes, containing 5000 references to List, and I have a program that is creating web service wrappers for all the classes (the original classes combined data and access logic, which had