Print Page | Close Window

HTTP XML API help

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25120
Printed Date: 04 April 2026 at 4:56am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: HTTP XML API help
Posted By: vassabi
Subject: HTTP XML API help
Date Posted: 09 January 2008 at 9:06am
Hi boRg thanks for nice feature, but where can I find the documentation about how to use this API ?

Thanks



Replies:
Posted By: vassabi
Date Posted: 09 January 2008 at 9:39am
Sorry just noticed that


Posted By: WebWiz-Bruce
Date Posted: 09 January 2008 at 9:44am
The documentation is found by poiting your browser at the API, it comes with a load of test forms for each method so you can see them working.

The error message that you get suggests that you have updated your includes/setup_options_inc.asp file to the latest version.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: vassabi
Date Posted: 09 January 2008 at 9:53am
And is there any db changes since 9.06?


Posted By: WebWiz-Bruce
Date Posted: 09 January 2008 at 9:57am
No, database changes only happen between major releases.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: vassabi
Date Posted: 09 January 2008 at 10:04am
Thanks boRg

but I still have trouble testing the API

I fill the test forms but it gives me this error

XML Parsing Error: not well-formed
Location:
Line Number 1, Column 65:<?xml version="1.0" encoding="utf-8" ?> <font face="Arial" size=2>error '80020009'</font>
----------------------------------------------------------------^


Posted By: WebWiz-Bruce
Date Posted: 09 January 2008 at 10:40am
You would need to do a view source to see what the actual server error is, that should help workout why you are getting an error.

Maybe some info on which action you are testing may help.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: vassabi
Date Posted: 09 January 2008 at 11:05am
Any action I tried gives this error

view source is given bellow
------------------------------------------

<?xml version="1.0" encoding="windows-1251" ?> <font face="Arial" size=2>error '80020009'</font>
<p>
<font face="Arial" size=2>/forum/HttpAPI.asp</font><font face="Arial" size=2>, line 177</font>





Posted By: vassabi
Date Posted: 09 January 2008 at 11:06am
I use Russian language pack in my forum can this cause the error?


Posted By: WebWiz-Bruce
Date Posted: 09 January 2008 at 11:14am
I think you may have missed out parts of the error message so it's a bit hard to work exactly why you get the error.

However, I can tell you line 177 reads in Salt value for the admin password.

Check in your database that you have a main admin account at Author_ID 1 in the tblAuthor table of your database. This is the built in admin account which the API uses to log you in. If this account has been removed for some reason then you would not be able to use this API.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: vassabi
Date Posted: 09 January 2008 at 11:21am
Yea the problem is there, I removed Admin account, the account I use has ID = 3, will it work if I just add new account with ID = 1 ?


Posted By: vassabi
Date Posted: 09 January 2008 at 11:29am
BTW why not just check if the given username and password belongs to someone with admin priveleges?


Posted By: WebWiz-Bruce
Date Posted: 09 January 2008 at 11:32am
It would work if you change the ID = 1 to ID = 3

The reason for only using the built in Admin account is to reduce the surface attack area.

Also the built in admin account has privileges and options other admin accounts do not have, just like for this, so it is not recommended that you remove this hardcoded account built.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: vassabi
Date Posted: 14 January 2008 at 12:33pm
Dear boRg

I have some methods works ok but some of them still has trouble, the method wich creates a forum member is not working on my side it gives the error, the view source shows the following

<?xml version="1.0" encoding="windows-1251" ?> <font face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01f4'</font>
<p>
<font face="Arial" size=2>Variable is undefined: 'isBool'</font>
<p>
<font face="Arial" size=2>/forum/HttpAPI.asp</font><font face="Arial" size=2>, line 1130</font>



Posted By: WebWiz-Bruce
Date Posted: 14 January 2008 at 12:38pm
Please see the following post:-
http://forums.webwiz.net/forum_posts.asp?TID=25135 -
http://forums.webwiz.net/forum_posts.asp?TID=25135


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: vassabi
Date Posted: 14 January 2008 at 1:18pm
Thanks but I guess that's not all

Variable is undefined: 'BoolC'

line 1151



Posted By: WebWiz-Bruce
Date Posted: 14 January 2008 at 1:27pm
em, looks like it may need to wait for version 10 for the XML API to work then as it looks like it is relying on more new functions that anticipated. 

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: vassabi
Date Posted: 14 January 2008 at 1:29pm
that's sad :-(


Posted By: vassabi
Date Posted: 14 January 2008 at 1:46pm
boRg could you please provide the implementation of that method as well for me, because I have done a huge work of creating class library in ASP.net which uses this API and I do not wish to wait until the release of v10, which I guess will not happen so soon.


Posted By: WebWiz-Bruce
Date Posted: 14 January 2008 at 1:57pm
You could do a search and replace, for BoolC to CBool

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net