i am new to lucee so please bear with me on this one.
I have a simple SOPA LITE web service written in .php and i want to do the same with lucee. The web service has 2 functions. First function sends something to my server and writes the info into the mysql table. The second function calls the web service, reads something from mysql table and sends the result/results back to the client.
- calls web service, increment collumn ID by 1 and writes it back to the table.
- calls web service to check the last number of collumn ID in a table and sends it to client.
In the end my goal is to send multiple records from a client and write all of them into a mysql table. I assume the easiest way of sending multiple records would be with creating an xml file and sending that file to a web service which would than write everything into a mysql table.
Can somoene please points me into the right direction?
Any help is appreciated!
p.s. if it helps, i can also post php code that i have now for reading and writting …
Don’t forget to tell us about your stack!
OS: windows 10
Java Version: 1.8.0_271-b09
Tomcat Version: Apache Tomcat/9.0.11
Lucee Version: 184.108.40.206