Just more details about the problem...
What is sent with a null array argument :
<soapenv:Body>
<testIntegerArrayToIntegerArray xmlns="urn:axis-test3">
<in0 xsi:nil="true"/>
</testIntegerArrayToIntegerArray>
</soapenv:Body>
What is sent with an zero length array argument :
<soapenv:Body>
<testIntegerArrayToIntegerArray xmlns="urn:axis-test3"/>
</soapenv:Body>
Both are deserialized on the server side to a null value...
Waiting for a confirmation...
>>> -----Original Message-----
>>> From: Feng Xie (fxie) [mailto:[EMAIL PROTECTED]
>>> Sent: Tuesday, June 14, 2005 8:28 PM
>>> To: [email protected]
>>> Subject: RE: AXIS 1.2 / Style Wrapped / array operation arguments
>>>
>>>
>>> Ephemeris :
>>>
>>> Please let me know if you see any result with document/literal different
>>> from what I described.
>>>
>>> Thanks,
>>> -Feng
>>>
>>> -----Original Message-----
>>> From: Ephemeris Lappis [mailto:[EMAIL PROTECTED]
>>> Sent: Tuesday, June 14, 2005 2:22 PM
>>> To: [email protected]
>>> Subject: RE: AXIS 1.2 / Style Wrapped / array operation arguments
>>>
>>> Few weeks ago, all my tests used document/literal style, but i don't
>>> remember how the empty arrays were exchanged, if i tested it. I could
>>> test the same services with document style to compare the results, but i
>>> suppose a confirmation of this behaviour should be a good thing...
>>> --
>>> Ephemeris Lappis
>>>
>>> >>> -----Original Message-----
>>> >>> From: Feng Xie (fxie) [mailto:[EMAIL PROTECTED]
>>> >>> Sent: Tuesday, June 14, 2005 8:10 PM
>>> >>> To: [email protected]
>>> >>> Subject: RE: AXIS 1.2 / Style Wrapped / array operation arguments
>>> >>>
>>> >>>
>>> >>> 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