Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic