Simple Web Service Technical Guide

Sample Web Service

Sample Web Service

Previous topic Next topic  

Sample Web Service

Previous topic Next topic  

The sample web service for the demodrilldown project produces the following Web Service as shown below:

 

demodrilldownws

 

The first task to be used in the Web Service is the Logon method, as shown below, this accepts an input of a User name and password.

 

demodrilldownwslogon

 

Once invoked the Web Service logs onto the host machine and returns a session i.d which must be used on subsequent screens to continue the navigation process.The actual screens can be viewed during this process by using the admin.console at any stage, this can be useful to view exactly where the Web Service is navigating to and what screens are actually displayed, can be very useful in spotting why certain errors are occurring.

 

Once the screen is displayed with the session key it's a good idea to copy using Ctrl C so that it can be pasted into the relevant text boxes required by the Web Service (as shown below).

 

demodrilldownwsaccountsearch