lua-users home
lua-l archive

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


Isaac,

I've never used LuaSoap, but in our lab we came across some issues
regarding the SOAP binding models (RPC/encoded, Document/Literal...)
when putting .NET and Java implementations to work together---the
biggest of them being just the use of arrays. Perhaps you should try
to find whether there is a mismatch between the binding models adopted
in LuaSoap and the NOAAA weather service.
For further info about such binding models, I recommend the following link:
http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/

Regards,
--
Antonio Tadeu.Azevedo Gomes, DSc.
http://www.lncc.br/~atagomes
http://martin.lncc.br


On 07/02/2008, Isaac Guenard <izyk@izyk.net> wrote:
> Hello
>
> Hoping someone here can help me with a question about using LuaSoap -
> I also emailed info@keplerproject.org but I understand the LuaSoap
> part of that project may not be maintained any longer.
>
> I am trying to use LuaSoap with the NOAAA weather service (described
> at http://www.weather.gov/xml/), and I am running into some trouble
> with declaring an array of booleans.
>
> I grabbed LuaSoap from the CVS at LuaForge, and created a test
> application which is successfully connecting and retrieving data.
> Unfortunately, one required parameter is an array. The tests that come
> with LuaSoap show a simple array of numbers, and I tried to use that
> as a model, but I don't seem to be able to generate a valid result.
>
> The specific tag I am referring to is called WeatherParameters, and it
> is described in the WDSL at
> http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl
>
>
> params = {
>         tag = "weatherParameters",
>         attr = {
>                 ["xmlns:SOAP-ENC"] = "http://schemas.xmlsoap.org/soap/encoding/";,
>                 ["SOAP-ENC:arrayType"] = "xsd:boolean[5]",
>         },
>         {tag = "maxt", true },
>         {tag = "mint", false },
>         {tag = "temp", false },
>         {tag = "dew", false },
>         {tag = "appt", false },
> }
>
> (I have a much longer version which uses all 51 of the valid
> parameters, this has been truncated for brevity)
>
> While the SOAP call does not fail, the results returned are not
> filtered they way I have observed in the example clients provided by
> the NOAAA. I am almost a total XML beginner, so this is all feeling a
> bit alien to me at the moment.
>
> Any help at all would be appreciated.
>
> Thanks
> Isaac
>


-- 
Antonio Tadeu Azevedo Gomes, DSc.
http://www.lncc.br/~atagomes/