File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Does writing XML Schemas solve everything? (Expert level suggestions required) Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Does writing XML Schemas solve everything? (Expert level suggestions required)" Watch "Does writing XML Schemas solve everything? (Expert level suggestions required)" New topic
Author

Does writing XML Schemas solve everything? (Expert level suggestions required)

Sam Nanda
Greenhorn

Joined: Jan 20, 2005
Posts: 15
Hi Freinds,

I am at a point where we have to make a final decision. In breif, I am trying to implement a Web Service and all I started was writing a XML Schema (which defines 'n' describes the data types, request 'n' response types for all our client server communications). I have looked into Apache Axis for generating my services and deploying it using some of the utilities provided by Axis (AdminClient).

But I was wondering if there is a way a Client (any client) can query a XML Schema or a WSDL and get to know about what different methods (a.k.a Web Services) are available and what are the i/p and o/p parameters along with the meta data information for those parameters.

Also, I would like to see how can a HTML form be generated from a Schema ???
Bcos a Schema has all the meta-data information and using this information I would like to see HTMl forms been generated. We looked into XForms and how we could tranform Schemas into XForms using Chiba but its not at all dynamic.

So my question to all you Web Services gurus is:

1) Can I use WSDL's or Schemas's to query about what services they provide including their meta-data ? If yes, can you explain how ? (may be with some decent examples)

2) Can we use Schemas to generate HTML forms dynamically ?


Thanks for your help in advance.

Regards,
-Sam
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 625

Also, I would like to see how can a HTML form be generated from a Schema ???


USE JAXP with XLAN processor.
Sam Nanda
Greenhorn

Joined: Jan 20, 2005
Posts: 15
Originally posted by Sam Nanda:


But I was wondering if there is a way a Client (any client) can query a XML Schema or a WSDL and get to know about what different methods (a.k.a Web Services) are available and what are the i/p and o/p parameters along with the meta data information for those parameters.

Also, I would like to see how can a HTML form be generated from a Schema ???
Bcos a Schema has all the meta-data information and using this information I would like to see HTMl forms been generated. We looked into XForms and how we could tranform Schemas into XForms using Chiba but its not at all dynamic.



Any one got answers to my questions ???
 
IntelliJ Java IDE
 
subject: Does writing XML Schemas solve everything? (Expert level suggestions required)
 
Threads others viewed
General Doubts in WebServices after Fibonacci Example
JSF versus XFORMS
Axis 1.x web service: how to make a strongly-typed interface
Schema for Web service types ?
Java -> WSDL and WSDL -> Java
MyEclipse, The Clear Choice