mred589 Posted January 27, 2006 Share Posted January 27, 2006 I have Beyond TV and I'm trying to access some of the API features from autoit. Beyond TV uses a SOAP Xml system to request and retrieve data. The only way I know how to access it is through a web browser using post requests and responses, but I'm trying to make the program as clean as possible. So how do I access the functions within the API from autoit? I have included the example of both the POST and SOAP request and responses for the login part of the system. <code> SOAP The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values. POST /wsdl/BTVLicenseManager.asmx HTTP/1.1 Host: 127.0.0.1 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.snapstream.com/WebService/Logon" <?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> <Logon xmlns="http://www.snapstream.com/WebService"> <networkLicense>string</networkLicense> <password>string</password> </Logon> </soap:Body> </soap:Envelope> HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?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> <LogonResponse xmlns="http://www.snapstream.com/WebService" /> </soap:Body> </soap:Envelope> HTTP POST The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values. POST /wsdl/BTVLicenseManager.asmx/Logon HTTP/1.1 Host: 127.0.0.1 Content-Type: application/x-www-form-urlencoded Content-Length: length networkLicense=string&password=string HTTP/1.1 200 OK </code> I don't really care which way I access the data, but like I said I want the program to have a clean interface. Any help with this would be greatly appriciated, Link to comment Share on other sites More sharing options...
Xenobiologist Posted April 28, 2006 Share Posted April 28, 2006 Hi, hui I think a WSDL2au3 converter doesn't exist. To communicate via autoit as/with webServices would be to hard for autoit. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now