This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 247
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: 39547
    
  27
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 - updated with new look and Ping home screen widget
Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 247
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: 39547
    
  27
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis Stock Quote Example
 
Similar Threads
Problems with installing Axis 1.0
problem - deployment with AdminClient
Axis AdminClient gives 404 error
axis download
Problem while Deploy web service