Web Service Tester
From Wiki
|
| User Guide |
Developing a web service using RPG requires testing. If the web service receives input parameters from the URL (like http://myserver.com/rxs/RPGWS1?customer=123&crdcode=E), a browser can test it. However, in most cases information will not be passed using a URL query string. Instead it will send an XML document via HTTP POST. Browser applications cannot easily test this process.
The Windows client-side Web Service Tester program, available from the RPG-XML Suite web site, meets that need. It calls and tests web services whether written in RPG or some other higher level language or script. The alternative to the Web Service Tester that we recommend for web services that use a WSDL is named soapUI and is freely available from www.soapui.org.
Installation Instructions
- Download the Web Service Tester here.
- Unzip the file and double click on the WSUnitTest.bat file to run the application.
After starting the Web Service Tester, you may encounter the following error:
If this error occurs, you may need to update the version of Java running on your computer to use this program. The newest versions of Java can currently be found here.
Using the Web Service Tester
You can make calls from this application to nearly any HTTP URL. Enter http://rpg-xml.com and the contents of the home page will show in the Result text area.
A video walkthrough of how to use the Krengel Tech Web Service Tester can be found on the RPG-XML Suite website.

