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:
Open your Integrated WebLogic Server.
In the Integrated WebLogic Server Admin Console, navigate to:
Environment::Servers::Default Server::Deployments
Expand the BSSV for example, JP010020.
Click on your web service; for example, CustomerManagerService.
Select the Testing tab.
Expand the name and click on the test client.
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>