Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis Stock Quote Example

 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic