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 Ayhan Molla <mo...@yahoo.com> on 2007/09/27 14:21:07 UTC

String Array parameter in POJO web service

Hi,
I have a very basic web service made of POJO that accepts String [] as parameters.
Howeever, axis does not correctly convert the message to string [] so that I only receive a single item array where the value is whitespace characters only.

When I chage the method to receive ArrayList instead of String []. i receive the whole xml like follows:

<item xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">test_item</item>

Anybody know how axis copes with arrays as input parameters?
Thanks.

       
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.