• Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis Stock Quote Example

 
punna Kumar
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , i am started learning web service using apache axis . i deploy the Axis Stock Quote Example. in my tomcat web server .

can any one explain how i can execute the service with browser . i would like to see the answer.

any give the idea . because i am very new to the web services.

if possible please explain the steps
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Web Services aren't generally meant for browser access, although can put together JavaScript code that accesses them via XmlHttpRequest. See the Web Services FAQ for links to material about this.

The example comes with a couple of CLI clients, though. Tey're called GetQuote, GetQuote1 and GetQuote2.
 
punna Kumar
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for replay

how i can execute the this example can u explain, i would like to see the out put of that code

please proved the necessary steps to execute and get the out put
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's an elaborate README file in the "stock" directory. What exactly are you having problems with?
 
punna Kumar
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for replay,
i looked in to the read me text file. i hered that web services will execute only with xml as a input but here i am not giving any xml file as in put.

can u explain what is the xml usage for this example.

other wise please give the examples having the xml file or string as a input and invoke the service.
please help me out
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The input to the WS does not consist of an XML file, but it does consist of XML. If you use a tool like TCPMon (which comes with Axis) you can observe what is sent and received between the client and the WS, and that is very much XML (SOAP, to be more exact).

If you are unclear about XML, SOAP, WS and how they work together, then that goes way beyond what can be explained in a message like this. You could start reading up on some of that with this SOAP introduction,
[ February 14, 2006: Message edited by: Ulf Dittmer ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!