This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Mozilla XML > April 2005 > SOAPCall and "href id"





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SOAPCall and "href id"
vincent

2005-04-04, 12:35 pm

hello,
I have a problem with SOAPCall API and SOAPpy.SOAPServer().
The following syntax XML is not correctly to analyze:

<Result...>
<item id="#i1"/>
<item id="#i1"/>
<item id="#i1"/>
</Result>
<text xsi3:type="xsd3:string" id="i1" SOAP-ENC:root="0">
ahah
</text>

var soapResult = call.invoke();
var p = soapResult.getParameters(false, {});
var items = p[0].element.getElementsByTagName("item");

here items.length be worth zero, But that one yes:

<Result...>
<item id="#i1"/>
<text xsi3:type="xsd3:string">
ahah1
</text
</item>
<item id="#i1"/>
<text xsi3:type="xsd3:string">
ahah2
</text
</item>
<item id="#i1"/>
<text xsi3:type="xsd3:string">
ahah3
</text
</item>
</Result>

Tanks for your comments and sorry for my basic english.
Grettings Vincent



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews