Hello again,
another question....
The Web77 example has the SOAPACTION stored ina GROUP.
Does it mandatory have to be a GROUP?
Action_Group GROUP
Customer_Action STRING(20)
END
The table, which will be written to, has also the name CUSTOMER.
In the "AutoService:<filename> ROUTINE" I see that the server seems to expect a Value names "LOWER(<filename>_Action)". Those variable are all declared in source by the template.
As I have several NetWebServerMethods on several Tables, I then would need
Customer_Action
Product_Action
Employee_Action
whatever_Action each?
However, when I add them all to a GROUP, the server then every whatever_Action, none execpt one is needed.
! End of "Start of AutoService: Routine"
case lower(<filename>_Action)
of 'insert'
orof 'add'
! Start of "Before Insert AutoService: Routine"
! [Priority 4000]
dbgView('AutoService:<filename> We just received ' & records(q:<filename>) & ' Records in records(q:<filename>) from Client ')
! End of "Before Insert AutoService: Routine"
Loop x = 1 to records(q:<filename>)
get(q:<filename>,x)
do InsertRecord:<filename>
end
of 'update'
...... etc
I assume, that everything you do, Bruce, has some deeper reason. So - what is the reason behind this stuffing into a GROUP?
Or can we have simple local (global?) variables for each action, adding them as a STRING to the Parameters, without causing harm?
Thanks so far,
Wolfgang