SalesDBService

This procedure allows you to test the SalesProcessingDBService service included in the SalesDBService database service package.

  1. Deploy the SalesDBService package:

    1. In the WorkSpace Navigator, expand SybStore_Sample/Services/DB/.

    2. Right-click the SalesDBService.svcpkgdef file and select Deploy Package from the context menu.

    3. When the Select Target Server dialog box opens, select MyServiceContainer and click OK.

      NoteIf a Pre-Deploy Check Status message asks if you want to continue the deployment, click OK.

    4. When the process completes, a Deployment Status window states that the package was successfully deployed.

      Click OK to close the window.

  2. Close the Console view by clicking the “X” on the title tab.

  3. In the Enterprise Explorer, expand ServiceContainers/MyServiceContainer/Packages/SalesDBService/Services.

  4. Right-click SalesProcessingDBService (service interface) and select Test Service from the context menu.

    NoteIf you have completed any of the SybStore tutorials, additional packages may appear in the Packages folder, and additional services may appear in the Services folder.

  5. When the Service Testing Wizard opens, select the test method Dialog Service Test Wizard and click Next.

  6. When the Options window opens, click Next to accept all defaults.

  7. In the Select A Method to Test window, select the bottom method— Sybstore_validate_salesdataResponse—and click Next.

  8. When the Parameters for Method window opens, click Edit and provide these values:

  9. Click OK.

  10. Click Invoke to invoke the service.

    You see this response message with a returnval of 1:

    <sybstore_validate_salesdataResponse>
    <RETURN_VALUE>0</RETURN_VALUE>
    <returnval>1</returnval>
    <reason>Successful</reason>
    <updateCounts>
    <updateCount>1</updateCount>
    <updateCount>0</updateCount>
    </updateCounts>
    <warnings></warnings>
    </sybstore_validate_salesdataResponse>
    

    A message below the Output Parameter pane states:

    Method sybstore_validate_salesdata successfully invoked 
    at <date> <time>. Duration <00.00.00>
    

    The response indicates that the item number entered is valid.

  11. Click Finish.