Hello again. I've done more tests again, with my "int[] operation(int[])" operation, passing an empty array, and the results are : - with rpc/encoded : ok - with document/literal : ok - with wrapped/literal : not ok, a null reference is received on the server side, instead of the empty array.
In fact, the tests also use other operations with other types of arrays with strings or custome types, and the result is the same. So, a confirmation is welcome, this is a bug or not, or a wrapped style logical behaviour. Thanks. -- Ephemeris Lappis >>> -----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
