Prev | Current Page 140 | Next

Binildas A Christudas

"Service-Oriented Java Business Integration"

The deploy operation registers the service using
the deployment information located in a file specified by the third parameter. In our
case, the file is called DeploymentDescriptor.xml and it contains the deployment
descriptor for the hello Service.
Once you have executed the deploy command, you can execute the list command.
You should now see output listing urn:ejbhello, which is the unique ID of
your service. You can also view this service from the web admin tool by going to
http://localhost:8080/soap/admin/index.html and selecting the List button.
The list ant target to execute the list command is as follows:

fork="true" >







We can verify whether the deployment was successful by typing the following:
ant list
Run the Client
The client creates a Call, sets parameters, and invokes the service binding as shown
in the following code:
URL url = new URL (args[0]);
Call call = new Call ();
call.


Pages:
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152