Using Tclsoap 1.6.7 tcldom/tclxml 2.6
I've written a server using tclsoap.
TclSoap is blowing up when trying to deserialize .NET style arrays.
When using dom::tcl the problem does not happen, the array is deserialized into a tcl list c
orrectly.
When using the libxml2 version of tcldom, tcldom craps out:
[dom::node parent $node]
'token "malformed node token "doc12"" is not a DOM Document'
Has anyone seen this before?
================Request============================================
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/
soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://
www.lyris.com/lmapi" xmlns:types="http://www.lyris.com/lmapi/encodedTypes" xmlns:xsi="http:/
/www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:SelectMembers xmlns:q1="lmapi">
<ArrayOfFilterCriteria href="#id1" />
</q1:SelectMembers>
<soapenc:Array id="id1" soapenc:arrayType="xsd:string[2]">
<Item> EmailAddress like %1balh% </Item>
<Item> ListName = list1 </Item>
</soapenc:Array>
</soap:Body>
</soap:Envelope>
====================RESPONCE===============================
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="htt
p://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:S
OAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s0="http://www.lyris.com/lmapi"> <S
OAP-ENV:Body> <SOAP-ENV:Fault><faultcode>NONE</faultcode><faultstring>token "malformed node t
oken "doc12"" is not a DOM Document</faultstring> <detail><e:errorInfo xmlns:e="urn:TclSOAP-E
rrorInfo"> <errorCode>NONE</errorCode><stackTrace>token "malformed node token "doc12"" is not
a DOM Document
while executing
"dom::node parent $node"
(procedure "getDocumentElement" line 2)
invoked from within
"getDocumentElement $parent"
(procedure "getDocumentElement" line 6)
invoked from within
"getDocumentElement $parent"
(procedure "getDocumentElement" line 6)
invoked from within
"getDocumentElement $parent"
(procedure "getDocumentElement" line 6)
invoked from within
"getDocumentElement $parent"
(procedure "getDocumentElement" line 6)
invoked from within
"getDocumentElement $parent"
(procedure "getDocumentElement" line 6)
invoked from within
"getDocumentElement $domElement"
(procedure "getElementValue" line 10)
invoked from within
"getElementValue $domElement"
(procedure "decomposeSoap" line 9)
invoked from within
"decomposeSoap $node"</stackTrace> </e:errorInfo></detail></SOAP-ENV:Fault></SOAP-ENV:Body></
SOAP-ENV:Envelope>
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Tclxml-users mailing list
Tclxml-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tclxml-users