Hi,

I was just trying to figure out why a colleague , using Java, couldn't
call my LuaSOAP methods. The method arguments were not getting through
the soap parser. We compared the xml data which looked identical,
except for some whitespaces and newlines in between the tags. It
turned out that in most positions in the xml the parser is ok with
whitespace, but at least one (right after the method name tag) it
message

This works

<?xml version="1.0"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";><soap:Body><setReplyAddress><replyAddress>http://my/new/server/address</replyAddress></setReplyAddress></soap:Body></soap:Envelope>


This doesn't

<?xml version="1.0"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";><soap:Body><setReplyAddress>
<replyAddress>http://my/new/server/address</replyAddress></setReplyAddress></soap:Body></soap:Envelope>


... because there is a space after <setReplyAddress>

Thijs

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to