Hello all.

Apache SOAP has been working out well for me and my current project. Seems
that it works pretty-much as documented, and where it doesn't, it's pretty
easy to go in and repair.

Before I look further into this, I'd like to ask about a service's method
returning an "Integer[]" (it might effect all "Object[]" mappings, but I
haven't testing anything but.)

As I said, my service's method returns an Integer[]. In my client, when
trying to cast the Object from getReturnValue().getValue() to an
"Integer[]", I get an Exception:

        java.lang.ClassCastException: [I

(That isn't a typo, it only returns "[I".)

If I cast the Object into an "int[]", it works fine (even though the service
is returning an "Integer[]".)

Now this might not seem like that big of a deal, but I'm documenting a SOAP
interface to an application server I've written, and it calls for said
Integer[] to be an Object value in a Hashtable. It's just a bit strange (and
I think improper) if it's not preserved.

Is this a known issue? Am I doing something wrong?

Thank you for any input on this.

-- 
David S. Kenzik
[EMAIL PROTECTED] -  http://kenzik.com
Original Music   -  http://kenzik.com/music

Reply via email to