Testing in TIBCO Business Studio™ for BusinessWorks™
This section describes how to configure a server and client. It uses the HTTP service to return information about the city that given a ZIP code. The sample also provides the distance between the two cities as defined by their ZIP codes.
Procedure
Result
When both the applications start successfully, you will see the following message in the console log.
For server application:
17:20:05.800 INFO [Thread-12] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300006: Started BW Application [tibco.bwce.sample.binding.soap.http.ZipCodeServiceProvider.application:1.0]
For client application:
15:48:11.905 INFO [Thread-12] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300006: Started BW Application [tibco.bwce.sample.binding.soap.http.ZipCodeServiceClient.application:1.0] 15:48:14.572 INFO [bwEngThread:In-Memory Process Worker-6] c.t.b.p.g.L.t.b.s.b.s.h.Z.Log1 - Information of the City with Zip code 61801 is as follows. Urbana Illinois Urbana, Illinois, United States 40.11 88.20761801 15:48:14.576 INFO [bwEngThread:In-Memory Process Worker-6] c.t.b.p.g.L.t.b.s.b.s.h.Z.Log - The distance between the Cities Urbana and Champaign is 4 miles.
Copyright © Cloud Software Group, Inc. All rights reserved.