10.19. Testing the Web Service ClientWe've generated Web Service proxy code and written a client to call the findAvailableCars Web Service. Go to the ch10/client sub-directory, and compile and run the client by typing: ant run-client. Ant runs the client (by MyAxisClient's main( ) method) after generating and compiling the client code. You should see the following output in the client console: ... [java] Finding InventoryService ... [java] Getting InventoryEndpoint ... [java] Getting Cars ... [java] Year = [2005], Make = [Toyota], Model = [Camry], status = [Available] [java] Year = [1999], Make = [Toyota], Model = [Corolla], status = [Available] [java] Year = [2005], Make = [Ford], Model = [Explorer], status = [Available] |