lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Jan 19, 2010 at 3:35 PM, Thijs Koerselman
<thijskoerselman@gmail.com> wrote:

>
> Is it possible to escape the string so that it is not interpreted and
> used "as is"?
>

Some additional info. This is what the luasoap client.lua request_body
looks like inside the call method. The problematic data is the part
between the <rawData> </rawData> fields. The rest is going fine.

<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><addArtefact><arg0><session><id>296</id><login>luamsc_midget</login><maxStaleTime>1800000</maxStaleTime><updatedTS>1263912525172</updatedTS></session></arg0><arg1><artefact><rawData><somexmltag>Expat
or LuaSOAP doesn't like this at all</somexmltag>
2907</rawData><type>WaveformExtract</type><sourceId>2907</sourceId></artefact></arg1></addArtefact></soap:Body></soap:Envelope>

Thijs