WebHub Release Notes for v2.046, v2.047
This file was last updated 2-Aug-2005 23:00

Skip to: WebHub Object Pascal Components    The Hub    WebHubAdmin    WebHubView    Runners    Demos    Docs
 

WebHub Object Pascal Components

SOAP Support added to WebHub for Delphi 7 and Delphi 2005 v2.046
Requires: runisa.dll v2.046+ download runner
WebHub TWebAction components can now be made to answer SOAP calls, relatively easily. Instructions follow.
You will need a total of 5 webSOAP* units. You should find webSOAPRegistry.pas in the lib folder, and 4 more in the D7 or D9 folder. Full source to the webSOAP units is available within the "WebHub Useful Source" license.
An example of server-side SOAP processing is in the HTUN (whStopSpam.dpr) demo.
Initialization, to be done in your DPR,
For each web action to make available via SOAP:
Automatic documentation about your web actions will be available like this:
To use one of the web actions, post the SOAP envelope (NB: content type must be text/xml) to: where AppID is your AppID, soap is a keyword, and WebZipCodeLookup1 is the name of the web action instance to communicate with.
TWebApp.Session type changed from Integer to Cardinal v2.046
Reason: because the session number is always greater than zero, and should be declared as an unsigned Integer for use with SOAP.
New methods on pWebApp v2.046
These methods work with the <whrow_tag>. They were copied in from the whdemo_Initialize.pas unit, and refactored to make them more generic. The "HTQ2" and "SCAN" demos use the technique.
The functions were previously named DropletNameToBeforeData, DropletNameToWHRow and DropletNameToAfterData. The procedures are new.
    function  GetDroplet(const DropletName: string;
      const DropletMode: TwhDropletSendSpecificMode): String; overload;  
    function  GetDroplet(const DropletName: string;
      const DropletMode: TwhDropletSendGeneralMode; const TagName: String):
      String; overload;
    procedure SendDroplet(const DropletName: string;
      const DropletMode: TwhDropletSendSpecificMode); overload;
    procedure SendDroplet(const DropletName: string;
      const DropletMode: TwhDropletSendGeneralMode; const TagName: String);
      overload;
The codes to use with whrow are: drBeforeWhrow,drWithinWhrow,drAfterWhrow (defined in unit webSend)
Unused tpUpdate flags removed v2.046
These flags are no longer supported: tpUpdateDenied, tpExecuting, tpUpdateByThread
If you have them set in your DFM file, Delphi will give an error when that DFM is loaded. Tell Delphi to ignore the error, then save your file, and it will be written back without the flag.
If you are using Delphi 6/7/9, use a full-text search tool to search *.DFM for tpUpdateDenied and delete it where found. For Delphi 5, you'll need to open the DFM files within Delphi IDE to search them.
WebMail Date format fixed v2.046
The Date is not supposed to include dashes, and now it does not. The correct format is dd MMM yyyy hh:nn:ss +0000.
INPUTTEXT macro improved v2.047
INPUTTEXT now expands any nested expressions, so (~INPUTTEXT|name(~DYN1~)~) is now supported.
Unix-style line breaks okay in whteko files v2.047
To help those of you who may be editing your WebHub files on other operating systems, we now allow line breaks to be either #13#10 (Windows standard) or just #10 (Unix standard).
tpFilChg.pas is free v2.046
Download: tpFilChg.pas
ucInteg ExpXY function removed v2.046
Please use Math.Power function instead.
ucScnDir.pas is free v2.046
Download: ucScnDir.pas
txtGrid.pas refactored v2.047
No changes to the interface.
If you are using a tpack text grid with a fixed number of rows, you must set the FixedRows property to a non-zero value (or an exception will be raised).
(top)

The Hub, WebHubAdmin, WebHubView

Hub sends X-Status-Reason on errors v2.046
The Hub sends an X-Status-Reason line as part of the HTTP prologue reponse, in order to indicate the type of problem, e.g. App "appid") Not Running. This information is for monitoring agents; it is not visible to someone using a web browser.
Special "xeon" Licensee Name no longer required v2.047
The Hub, WebHubAdmin and WebHubView now correctly detect the number of physical CPUs, even on machines using Xeon hyperthreading technology.
In prior versions, WebHubAdmin's Help > Register dialog would report the number of CPUs as 2N on an N-CPU machine.
If HREF gave you a special unlock codes containing the text "(xeon)", your unlock code will continue to work in v2.047+, without modification. The only difference is that WebHubAdmin will now report the correct number of physical CPUs on your computer's motherboard.
 
 
(top)  

Runners

ISAPI runner sends X-Status-Reason on errors v2.046
The runner sends an X-Status-Reason line as part of the HTTP prologue reponse, in order to indicate the type of problem, e.g. Hub Not Running. This information is for monitoring agents; it is not visible to someone using a web browser.
 
 
(top)

FYI: Valid DTDs on w3.org
FYI: IB Utils, a free tool for showing the links between the tables in your Firebird database visually.
FYI: The Firebird Book: A Reference for Database Developers, by Helen Borrie.
FYI: Reasonable sources for Kylix licenses: Kylix 3 Pro or Kylix 3 Pro, upgrade from Delphi 6 Pro $128.68
Copyright © 2005 HREF Tools Corp. All Rights Reserved. TPACK and STREAMCATCHER are registered trademarks of HREF Tools Corp.