This project is for the next phase of Windows Form API Webservice project created by provider nshilingovskiy. This phase is to add some functionality to this application as described below. The main objective is add the logic to support the QuerybyIDorNameBelow service. This project wlll be awarded to nshilingovskiy.
A. Web Service API. This control will contain the path for the STEP Web Service API – Please use default text - http://serverurl/Stepws/stepws?wsdl . This control should just be a textbox. This is a required field.
B. User ID. This control will contain the user ID for the STEP application. This is needed when calling the API. This control should just be a textbox. This is a required field.
C. Password. This control will contain the password for the STEP application. This is needed when calling the API. This control should just be a textbox. This is a required field.
D. Select a Request Type. This will contain some of the API request types. There are a lot but I only want the ones shown right now. We can add more later. This should be a list box control.
This is a required field.
E. Context. This will control with contain the context to select the data from in STEP. A context represents a country or language. In most cases the user will just select a context like “EN US”. This control should just be a textbox. This is a required field.
F. Workspace. This control will contain the STEP Workspaces. There are only two as shown above. This should be a list box control. This is a required field. Default selection is “Main”.
G. Enter D or Name. This control will contain the ID or Name of the object to look for. This control should just be a textbox. This is a required field.
H. Node Type. This control will contain the type of STEP data we are searching for. This should be a list box control. This is a required field. The default selection needs to be Product.
I. References to Include. As explained in section 2.1, each product could be connected to other data through references. There are really just three types of references as shown above. User can select none, one or all. When you retrieve an object in STEP like a product object, the references will be available so all you have to do is get the data the reference is connected to. This control should just be a list box. This is an optional field. No default selection.
J. Include Packaging Hierarchy. I will explain this option more later. This should be a radio button control and is an optional selection.
K. Max Record to Return. Should a be list box control as shown above. Default selection is ALL.
L. Submit Button. When selected, validate required fields have been provided and then perform processing which is described in the next section.
M. Reset Button. When selected, reset all values and and make sure default values are selected.
N. Save Button. Need to allow the users to save the selections. Just write to an XML file and then load the selections from the XML when you start the window. Just need to save the user ID, password, Web Service API and Context. Would be a pain to have to retype these each time so just save the last selection. We really do not need this button so you remove.
O. Cancel Button. This is used to stop the processing. When selected, just display the results that were obtained up to that point.
P. Export Data. When selected, prompt the user to specify the file name and path. Ten save the results to an EXCEL file or .csv - TEXT file.
4.3. Evaluate the Request Type
4.4. Execute the QuerybyIDorNameBelow