I'm trying to echo sparse array as part of interop test round 2 but
I get wrong answers from all the servers. I've used echoArrayStruct
service with only some members of array filled. Here is the message:
It send array of size 6 with only two elements defined at positions 2
and 4. Some SOAP implementations return only array of size 2 and the
other arrays of the correct size but with elements stored in first two
members.
I see no problem in message. Do the server implement sparse arrays? Or
where is the problem?
Hi All, I'm trying to echo sparse array as part of interop test round 2 but I get wrong answers from all the servers. I've used echoArrayStruct service with...
Martin Frydl
martin@...
Aug 17, 2001 4:41 pm
Hi, Martin! ... SOAP::Lite should return array of size 4 with two elements stored at positions 2 and 4. Is it wrong? btw, looks like an easy DoS attack: <array...
Paul Kulchenko
paulclinger@...
Aug 17, 2001 5:02 pm
... All of the servers? Axis should return (omitting irrelevant details): <item xsi:nil="true"/> <item xsi:nil="true"/> <item href="#id1"/> <item...
Sam Ruby
rubys@...
Aug 17, 2001 5:13 pm
Hi all, ... SOAP4R should return like this, too. For now, using SOAP4R, users cannot distinguish sparse array from common array. So echo2DStringArray of...
NAKAMURA, Hiroshi
nahi@...
Aug 20, 2001 3:51 am
Hiroshi, you are concerned about "how you can transmit 'nil' itself". You see, a sparse array is just an array where some positions are nil so that's exactly...
Jacek Kopecky
jacek@...
Aug 20, 2001 8:41 am
Hi Jacek, ... Thank you for your explanation. I understand it like below; In SOAP data model. 1. sparse-array is only an array with element omission. 2....
NAKAMURA, Hiroshi
nahi@...
Aug 20, 2001 11:52 am
... Hi Paul! It is kinda hard to have an element at position 4 in an array of size 4. ; -) SOAP::Lite seems to solve this dilemma by returning these elements...
Sam Ruby
rubys@...
Aug 17, 2001 5:13 pm
hi, Sam! ... ok, ok, my math is bad today ;) ... No, it does it right. btw, as soon as you online, maybe you can answer another interop question. I have an...
Paul Kulchenko
paulclinger@...
Aug 17, 2001 6:51 pm
Hi Paul, you are right, but the array should have size 6, not 4. Also positions are not correct: My array: [0]=- [1]=- [2]=something [3]=- [4]=something [5]=- ...
Martin Frydl
martin@...
Aug 17, 2001 5:35 pm
Hi, Martin! Could you try again please? It was an illusion ;) Best wishes, Paul. ... __________________________________________________ Do You Yahoo!? Make...
Paul Kulchenko
paulclinger@...
Aug 17, 2001 5:47 pm
Hi Sam, I'm sorry, you are right. The problem with Axis is on my side. But there is still one problem with Axis. The first element in returned messages...
Martin Frydl
martin@...
Aug 17, 2001 5:50 pm
Hello Paul, now the side and positions are OK, but I think that this is not correct: <item xsi:type="namesp2:SOAPStruct"/> I think this means SOAPStruct with...
Martin Frydl
martin@...
Aug 17, 2001 6:23 pm
Hi, Martin! ... I agree with you (except that xsi:null should be "1", not "true"). Here is what I have: <SOAP-ENC:Array SOAP-ENC:arrayType="xsd:ur-type[6]" ...
Paul Kulchenko
paulclinger@...
Aug 17, 2001 6:42 pm
Hello, Sparse arrays aren't supported yet in the WM implementation. RC...
Bob Cunnings
cunnings@...
Aug 17, 2001 6:26 pm
... messages declares ... Hmmm. I thought we fixed that a while back. Here's what I currently get back for the request: <?xml version="1.0"...
Sam Ruby
rubys@...
Aug 17, 2001 6:28 pm
Hi Paul: That's actually because we didn't put an EchoMapArray method into our test server, just EchoMap. :) I just checked one in - Sam, can you update...
Glen Daniels
gdaniels@...
Aug 17, 2001 7:01 pm
Hi Paul, Your dump looks correct, but I still get empty structures, not null ones from your end-point: <namesp1:echoStructArrayResponse...
Martin Frydl
martin@...
Aug 20, 2001 9:43 am
The SOAP 1.1 specification does not justify some of the assumptions made below. In particular, the below goes wrong at step 2. Element omission does not...
Andrew Layman
mail@...
Aug 24, 2001 4:52 pm
Hi Andrew, Thank you for your response. I was looking forward to hear someone's view. ... made ... omission ... absence. I see. This is my first...
nahi@...
Aug 25, 2001 3:22 pm
Many programming languages use "null" to represent the omission of information. For example, in C++, Java, C# etc, arrays which have values in some cells and...
Andrew Layman
mail@...
Aug 25, 2001 5:25 pm
You might also be interested in a post I recently made to XML-Dist-App: http://lists.w3.org/Archives/Public/xml-dist-app/2001Aug/0201.html . While the subject...
Andrew Layman
mail@...
Aug 25, 2001 5:48 pm
Hi, Andrew! ... While I agree that it's not a "sparse array", multiple representations on wire can map to the same representation in the language, and...
Paul Kulchenko
paulclinger@...
Aug 25, 2001 6:00 pm
Andrew, Can an array utilize offset + position? <myArray SOAP-ENC:arrayType="xsd:string[10]" SOAP-ENC:offset[4]> <item position="[6]">p6</item> <item...
Matt Long
mlong@...
Aug 26, 2001 11:00 am
Hi Andrew, ... app/2001Aug/0201.html . While ... on my ... grammatical ... of I agree. NULL of SQL-92 is not the same as Nothing of VB, Null-pointer of Java,...
nahi@...
Aug 26, 2001 2:30 pm
Ok, this is probably going to be ignored by everyone, and its probably the wrong place to bring it up, but *personally* I think sparse arrays should not be in...
Alan Kent
ajk@...
Aug 28, 2001 9:11 am
Thanks for the reply, and please accept my apologies for the delay in my response. I'm still digging through a large pile of mail. I understand the goal of...
Andrew Layman
mail@...
Aug 31, 2001 4:25 am
"I want to know, in SOAP data model, if omitted element in sparse array and nil are the same or not..." The SOAP 1.1 specification makes no mention of xsi:nil...
Andrew Layman
mail@...
Aug 31, 2001 4:26 am
Hi Andrew, ... I see. Thanks. In SOAP data model level, we cannot expect the behaviour of omitted element in sparse array (nil? how should it be echoed?). So...
NAKAMURA, Hiroshi
nahi@...
Aug 31, 2001 6:22 am
Hi all, ... I forgot this important option. 5. Echo back as a sparse array. int[1] = 1, int[3] = 2, size = 4 => int[1] = 1, int[3] = 2, size = 4 // NaHi...