• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

web services with axis and castor

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Im new to web services and have gone through ibm's tutorial that explains how to use castor and axis to create a web service.But i cant seem to understand the following basic things about web service

1)If i call a url of the following form http://host ort/something/services/AddressService how does Axis know what is to be done with this(im guessing that this request goes to the Aaxis Servlet since all urls of the form /services are mapped to the Axis Servlet) and what does happen exactly after i call the above url.

2)I have seen an application where a vendor just calls the above url (they say they pass an xml file too with all the details required as input to the web service)and the web service gets invoked processes the request and sends response.I cant seem to understand where and how he posts the xml and also again how invoking the url causes the web service to generate the response and how is the response sent back in xml format.

3)Ive also seen in some places where people write an xsd use castor to generate java files and these use these java files to read data from xml file and output using other java code.I cant seem to understand how exactly this happens.

I would be really greatful to anyone who helps me out with this.Im stuck and cant seem to understand how to proceed writing web services.Please help
 
reply
    Bookmark Topic Watch Topic
  • New Topic