Testing the Business Service

After you deploy your business service project, you should test it. You test your business service on your Integrated WebLogic Server. Use one of these links to access your WebLogic Server:

  • http://localhost:7101/console/login/LoginForm.jsp

  • http://IPorMachineNameofJdev11g:7101/console/login/LoginForm.jsp

Enter the default user ID and password to log in to the Integrated WebLogic Server.

To test the business service:

  1. Open your Integrated WebLogic Server.

  2. In the Integrated WebLogic Server Admin Console, navigate to:

    Environment::Servers::Default Server::Deployments

  3. Expand the BSSV for example, JP010020.

  4. Click on your web service; for example, CustomerManagerService.

  5. Select the Testing tab.

  6. Expand the name and click on the test client.

  7. Modify your request document and test your business service.

The following example shows the test request and results for getCustomerCreditInformation:

Request:

<getCustomerCreditInformation xmlns="http://oracle.e1.bssv.JP010020/">
<entity>
<entityId>1001</entityId>
</entity>
</getCustomerCreditInformation>

Result:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Header />
    <env:Body>
    <orac:getCustomerCreditInformationResponse xmlns:orac="http://oracle.e1.bssv.JP010020/">
      <orac:e1MessageList />
      <orac:creditHoldExempt>false</orac:creditHoldExempt>
      <orac:amountTotalExposure>191976.8</orac:amountTotalExposure>
      <orac:entity>
        <orac:entityLongId />
        <orac:entityTaxId>66595263000170      </orac:entityTaxId>
        <orac:entityId>1001</orac:entityId>
      </orac:entity>
      <orac:amountCreditLimit>30000.00</orac:amountCreditLimit>
    </orac:getCustomerCreditInformationResponse>
  </env:Body>
  </env:Envelope>
Note: If you are using SQL Server 2008, add sqljdbc4.jar to the SBFProjects.library and 000\MISC folder.