From: Byron W. <by...@ly...> - 2004-09-13 22:25:41
|
Using Tclsoap 1.6.7 tcldom/tclxml 2.6=20 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 correctly. 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? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRequest=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D <?xml version=3D"1.0" encoding=3D"utf-8"?><soap:Envelope = xmlns:soap=3D"http://schemas.xmlsoap.org/soap/envelope/" = xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/" = xmlns:tns=3D"http://www.lyris.com/lmapi" = xmlns:types=3D"http://www.lyris.com/lmapi/encodedTypes" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> <soap:Body soap:encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"> <q1:SelectMembers xmlns:q1=3D"lmapi"> <ArrayOfFilterCriteria href=3D"#id1" /> </q1:SelectMembers> <soapenc:Array id=3D"id1" soapenc:arrayType=3D"xsd:string[2]"> <Item>EmailAddress like %1balh% </Item> <Item>ListName =3D list1 </Item> </soapenc:Array> </soap:Body> </soap:Envelope> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRESPONCE=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D <?xml version=3D"1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelope/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:SOAP-ENC=3D"http://schemas.xmlsoap.org/soap/encoding/" = xmlns:s0=3D"http://www.lyris.com/lmapi"><SOAP-ENV:Body><SOAP-ENV:Fault><faultco= de>NONE</faultcode><faultstring>token "malformed node token "doc12"" is not a = DOM Document</faultstring><detail><e:errorInfo = xmlns:e=3D"urn:TclSOAP-ErrorInfo"><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></SO= AP-ENV:Envelope> |