• 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Schema Validation on Axis Call Parameters

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am a newbie to Webservices.
I am using Apache Axis 1.0 on Tomcat 4.0. I have just deployed my first Web Service.
I had a query,

1) I have a Single WebService exposing different methods which will be receiving XML string from Client.
2) The XML should confirm to respective Schema (Order.xsd and Invoice.xsd).
3) I am exposing different methods for the Create/Read/Update/Delete Operations on these.
<code> e.g. createOrder(orderDetails : String), </code> here orderDetails is an XML I receive from the Client.
4) I need to validate these against respective Schema before coverting them to a bean using Castor generated objects.

My Query:-
1) Can Axis Convert the XML String directly to an Object which I have generated using Castor, instead of me validating and converting to a bean assuming the Client doesnt validate the XML .
The Castor Source Generator generates a host of Class and Class Descriptr Files too.

    Bookmark Topic Watch Topic
  • New Topic