PDA

View Full Version : SOAP and XML



srussell
10-06-2005, 11:35 PM
Anyone doing anything with SOAP web service calls and XML? I've been working on another project that has several hundred web services, such as GetPasswordHash, that use SOAP calls and would like to do the same in Autoplay Media Studio

Example: (you pass the administrator name and the password and it returns the pashh MD5 hash...)

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetPasswordHash xmlns="http://webservice.xxxxxxxx.com/">
<Administrator>string</Administrator>
<Password>string</Password>
</GetPasswordHash>
</soap:Body>
</soap:Envelope>

TJ_Tigger
10-10-2005, 11:51 AM
I am not very familiar with SOAP (insert bad joke here:) ). Do you submit to a page the XML structure you have listed above? Or how does one interact with the information contained within the XML?

On lua.org there is a page on LUASOAP (http://www.keplerproject.org/luasoap/manual.html) which is based on LUASocket 2.0. Since LUASocket works in AMS6 I don't know if LUASOAP will work but it is worth a try.

TJ_Tigger
10-10-2005, 05:58 PM
It is too bad that we cannot use the HTTP.Submit to POST a SOAP XML to a website and have the SOAP response returned.

Tigg

srussell
10-12-2005, 09:31 AM
It is too bad that we cannot use the HTTP.Submit to POST a SOAP XML to a website and have the SOAP response returned.

Tigg

Something to look into the future... Web services are becoming much more popular as they are written in C-sharp. For now, we may have to use Php or something ...
Srussell