WebReference.com - Part 1 of chapter 3 from Professional Java Web Services, Wrox Press Ltd. (3/3)
[previous] |
Professional Java Web Services
Testing the Configuration
Testing the Server-Side Configuration
In order to test the server-side configuration we first need to start Tomcat, by executing
startup.bat
, located in the %TOMCAT_HOME%\bin
directory. The command
line to start Tomcat looks like this:
> startup
Next, open a web browser and point it to the following URL:
https://localhost:8080/soap/servlet/rpcrouter
.
The following message should be displayed:
If the above message is not displayed then check your configuration to ensure that it is
configured properly. This URL maps to the following servlet:
org.apache.soap.server.http.RPCRouterServlet
. This servlet is responsible for processing
SOAP messages that contain RPC method calls and dispatching them for processing. We will refer to
this URL as Apache SOAP runtime endpoint for the rest of this chapter.
Testing the Client-Side Configuration
To ensure that the client-slide configuration is setup properly we can run the following command:
> java org.apache.soap.server.ServiceManagerClient https://localhost:8080/soap/servlet/rpcrouter list
If it succeeds the output will only contain Deployed Services:
. This command is used to
list the services that are registered. In our case, no services will be registered since we just installed
Apache SOAP. If you get any other output, then you need to check your configuration.
[previous] |
Created: May 15, 2002
Revised: May 15, 2002
URL: https://webreference.com/programming/java/webservices/chap3/1/3.html