wood burning stoves 2.0*
The moose likes Web Services and the fly likes Axis Stock Quote Example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Stock Quote Example" Watch "Axis Stock Quote Example" New topic
Author

Axis Stock Quote Example

Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Dear Friends
I have gone according to installation of Axis Stock Quote Example and everything is working fine. The example got deployed into tomcat and when tested it got me the results 55.25 ok.

Now I am nwo trying to understand what each of the java run i made mean to me interms of webservice.

What does the below command do and where is this URL (/axis/services/AdminService) defined?

java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/serivces/AdminService deploy.wsdd
Thanks
Farouk


SCJP, SCWCD, SCBCD, SCEA 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42035
    
  64
That command tells Axis to deploy the web service that is defined in "deploy.wsdd". Afterwards, the web service can be accessed (and it will also be listed at http://localhost:8080/axis/servlet/AxisServlet).

The URL is defined by Axis. You'll see it in the web.xml file.


Ping & DNS - my free Android networking tools app
Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Thanks for your reply,
Now the URL I mentioned is not AxisServlet URL, but the AdminService URL which is not mentioned anywhere in the web.xml. I cannot find definition of the below URL in web xml

http://localhost:8080/axis/serivces/AdminService
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42035
    
  64
AdminService is not listed per se, but "/services/*" is mapped to AxisServlet. The appendix AdminService is used internally to distinguish what to do with the request.
 
GeeCON Prague 2014
 
subject: Axis Stock Quote Example