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.
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
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,
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
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
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
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
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
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
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
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
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
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.
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
14 matches
Mail list logo