SalesEmailSend

This procedure allows you to test the SalesProcessingEmailSendService service included in the SalesEmailSend message service package.

  1. Modify the package’s e-mail endpoint configuration:

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

    2. Double-click SalesEmailSend.svcpkgdef to open the package profile in the Sybase Service Package Profile Editor.

    3. Select the Endpoint Configuration tab in the editor. Maximize the editor window so you can see the Endpoint Bindings section on the far right.

    4. In the Included Services section, select SalesProcessingEmailSendService. You see this service’s endpoint bindings on the right.

    5. Select SalesProcessingEmailSendService/endpoint in the Endpoint Bindings section, and click Configure Binding

    6. When the Properties dialog box opens, select Email Binding Operation : send/Email Properties in the top right pane, and select the Operation Context tab in the bottom right pane.

    7. In the Operation Context pane, scroll down and set the From, Reply To, Subject, and To properties, as appropriate for your environment, then click OK.

      NoteThe From, Reply To, and To values must be in the form of an e-mail address; for example, rob.thomas@sybase.com.

    8. Select File|Save from the WorkSpace main menu.

  2. Deploy the SalesEmailSend package:

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

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

    3. When the Select Target Server dialog box opens, select MyServiceContainer and click OK. The Console view opens and shows the progress of the deployment.

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

    4. When a Deployment Status window states that the package was successfully deployed, click OK to close the window.

      In the WorkSpace Navigator, you should see the file SalesEmailSend.svcpkg in the folder SybStore_Sample/Deployment/Services/Message/SalesEmailSend.svcpkgdef/Unwired Orchestrator Integration Server (EAServer).

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

  3. In the Enterprise Explorer, expand the folders Service Containers/MyServiceContainer/Packages/SalesEmailSend/Services.

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

  5. When the Service Testing Wizard opens, select the test method called 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 void send and click Next.

  8. When the Parameters for Method window opens, click Edit.

  9. Click Edit and enter “Email message from Sybase WorkSpace” in the Data field.

  10. Click OK.

  11. In the Parameters for Method dialog box, click Invoke to execute the service.

    Although no data appears in the Output Results pane, a message indicating success displays below that pane:

    Method send successfully invoked at <date> <time>. Duration <00.00.00>
    
  12. Click Finish.

When the test is successful, you also receive an e-mail message containing the data string you entered.