Looking for the v10 manual? Visit our new user's guide!
 
Search Descriptions Version
 
 
This article applies to the WSI functionality.

Test Application


Most sites using the WSI feature are going to need a developer to create an application that interfaces with the WSI service for them. Those applications will vary from simple import/update tools, to 'middleware' apps that sit between your store site and external sites or applications, allowing integration between the two.

For very simple WSI-based tasks, or just to use as an example for developing your own application, we have provided a basic test program that sends an XML request to your WSI service. That test application can be downloaded here (C#) or here (VB).

The .zip files that you download actually contain several test/sample tools. The included Readme.txt file explains the use of several of them, which demonstrate how to use WSI along with the built-in event handlers feature.

For testing basic WSI functionality, however, we are interested in the WindowsApplication1.exe file located in the WSIEventSampleClient\WSIImportTester\WindowsApplication1\bin\Debug folder. Run that file, and you should see this screen:

There are several parts to using this tool:

WSI: Change this to the URL of the ipx.asmx page on your site, ie http://www.youstore.com/ipx.asmx

USE WSE3 Token Authentication: If this is checked, the password supplied must be the hashed password copied directly from your admin account's record in the Customer table in your store database. We highly recommend that this method be used.

E-Mail: This should be the email address of the admin account you're going to use to authenticate through WSI.

Password: If the checkbox described above is checked, use the hashed password for your admin account from the database. If not, enter your admin password here in plain text.

Top text field: Place your WSI-formatted XML in this field. Examples of operations that can be performed and how to format the XML can be found throughout this manual.

GO!: Clicking this button sends the XML entered above to the web service for processing.

Show Raw Errors: Checking this box will show more detailed error message information if any errors are encountered. If this is unchecked, only 'friendly' error messages will be displayed.

Pretty Print XML Above: Clicking this button will properly indent/align the XML you pasted into the top text box. This is a quick test of whether your XML is properly formatted, as if it fails to align properly when this button is clicked, there is a problem with your XML.

Bottom text field: The bottom text field will contain any results that are returned by WSI after running the XML that you submitted above.