It is not a problem from a java client, but we have another requirement
where the client just sends the http get request. Now actually we decided
to go by the tilda (~) separated strings since the Axis Servlet seems to be
using getParameterValue instead of getParameterValues to retrieve the
values.
Thanks to you though,
Hrishikesh.
[EMAIL PROTECTED]
07/01/2004 06:49 To
PM [EMAIL PROTECTED]
cc
Please respond to Subject
[EMAIL PROTECTED] Re: Passing Arrays
he.org
Simply use an unbounded array of string in the xml schema and it should
work fine. I have done it.
In a message dated 7/1/2004 9:17:15 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
I've been trying to get info on this as well. Can you show me the
beginning and end of the relevant Java class method, and some idea about
how you are sending it (JavaScript, PHP, etc.)? Sending and receiving
Strings is so easy that I have considered using tab-delimited Strings,
as String.split("(\t){1}") turns the String into an array of Strings in
one shot. I guess that's one possibility for you.
Best,
David Beahm
Hrishikesh Kumar wrote:
> Hi All,
>
> We are supposed to pass an array of strings to the SOAP Service from
the
> client. Currently we are using the Http Get request kind of client
invokin
g
> the SOAP service. Do you know how we can pass arrays of strings from the
> browser, what has to be typed in the url to achieve this.
>
> we tried passing like &number=1&number=2&number=3 and so on, but only
th
e
> first value is the only what can be obtained on the server side.
>
>
> Thanks,
>
> Hrishikesh.
--
-----------------------------------------------------------------------
This email is confidential and intended solely for the use of the
individual
to whom it is addressed. If you are not the intended recipient, be advised
that you have received this email in error and that any use,
dissemination,
forwarding, printing, or copying of this email is strictly prohibited. If
you have received this email in error, please contact the sender.
-----------------------------------------------------------------------