axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "NoƩ Amorim" <noe.ro...@gmail.com>
Subject mapping complex types
Date Wed, 18 Oct 2006 17:26:09 GMT
hello.
how can i map the return type of a webservice to a custom type in Java.
Let's say the return type from the webservice is an array, each value from
the array is another array.
The return is like this:

$ret[] = array('first name' => 'Fujiwara', 'last name' => 'Takumi', 'drives'
=> 'AE86');
$ret[] = array('first name' => 'Takahashi', 'last name' => 'Ryosuke',
'drives' => 'RX-7 FD');
$ret[] = array('first name' => 'Fujiwara', 'last name' => 'Reisuke',
'drives' => 'RX-7 FC');
$ret[] = array('first name' => 'Itsuki', 'last name' => 'Takeuchi', 'drives'
=> 'Toyota Corolla Levin SR');
$ret[] = array('first name' => 'Takeshi', 'last name' => 'Nakazato',
'drives' => 'Nissan Skyline GT-R');
return $ret;

how can i map this structure on the java client side?
thanks.

Mime
View raw message