You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Heitzso <he...@bellsouth.net> on 2002/06/03 17:35:39 UTC

href snag w/ mozilla javascript soap

because of possible cyclic reference problems
mozilla javascript (current incarnation anyway)
refuses to touch href's.

I rewrote a class this morning from an array
of objects to several arrays of simple data types,
thinking that I would bypass the href problem that 
way.  But axis is still using an href to point
to an external pseudo object with the same contents
as would make sense in the primary object.

i.e. was:
	class A {
		B infoReThisNode = new B();
		A[] children = new A[length];
	}
rewrote to:
	class A {
		int length;
		String[] names;
		String[] descriptions;
		String[] ids;
	}
but axis still serializes the simpler bean using
an href.

I assume I'll need to write my own custom serializer
or return multiple response parameters.

QUESTION 1: I browsed the archive but didn't
see a nice, simple link to a "write your own
custom axis serializer" -- could someone point me
in a good direction?  THANKS.

QUESTION 2: how does java code look that returns
multiple items?  I've written several SOAP methods
but never tried to return multiple unbundled items ...

Again, thanks for the assistance,
Heitzso