My test on document/literal doesn't show this behaviour. With
document/literal, I have tried with string, Integer and byte[], all
worked fine.

-Feng 

-----Original Message-----
From: Ephemeris Lappis [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 14, 2005 1:41 PM
To: Axis-User
Subject: AXIS 1.2 / Style Wrapped / array operation arguments

Hello.

Just for a confirmation...

I'm testing again the wrapped style services, with different kid of
arguments and return types. It seems, for what my server side class
receives, that the client call doesn't make difference to marshall null
and empty array arguments.

For example, for an operation with the java signature :

        public void testArrayOfInteger(int[] values)

the two invocations on the service stub :

        testArrayOfInteger(null)
or
        testArrayOfInteger(new int[0])

produce, for the server class invocation a null argument.

It seems to be the same for arrays of objects, like strings or custom
types.
For the moment, this doesn't represent a real problem, but i'd like to
know if this behaviour is natural, or may be a wsdl default or a bug...

This tests are all done with wrapped/literal style services. I don't
know if other style/use produce the same...

Thanks.

--
Ephemeris Lappis





--
Philippe Maseres

Reply via email to