I have created a simple db in sql server using RISE. Next I want to
generate the php web services and to use the RISE interface to create
and add records. I've put the php files into a folder and offered that
url to the RISE Test Web Services dialog. But when I attempt to add a
new record I get a 404 error "not found". Probably it does not know
where the db is?
In the connection strings section I found this:
PHP web services
RISE generated PHP web services doesn't use ODBC and retrieves their
connection information from a separate PHP configuration file. The
file should be named <myPrefix>.config.php, where myPrefix is the RISE
model prefix. This file is automatically included, using require_once,
in the generated PHP files. It must define a set of constants used by
the PHP code, see example for MySQL below.
<?php
define("myPrefix_Username", "my userid");
etc...
But I don't find that file...certainly it was not exported to the same
dir as the test apps entity php files were. Am I supposed to create it
myself? Somehow I don't think so.
Thanks