You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Starting from 10.1.86 we introduced a new API called net.http.listen which makes it much simpler to port over web services code implemented in Iguana 6. To try it out do the following:
STEP 1 - Make sure you GIT cache is up to date
Use the Refresh Cache link at the bottom of the Add Components screen. Close the screen. Wait a few minutes and then you should be able to see everything again.
STEP 2 - Import the Web Service component
STEP 3 - Run the component
You should see something like this:
STEP 4 - Click on the URL Link http://localhost:7777/
If your Iguana instance is running remotely you might need to figure out what the public IP address is instead and use that.
STEP 5 - Play with the interface
You’ll see something like this:
STEP 6 - Look at the source code
You should see something like this:
STEP 7 - Import some sample data
The you should see a screen like this:
STEP 8 - Click around, alter the code, stop and start it.
It will probably be easier for you to develop the webservice if you are in Development mode. See:
Using the DEVELOPMENT Commit
Enjoy - I find the sample data interface in Iguana X personally makes building web services more fun than with Iguana 6.