• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Axis Stock Quote Example

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic