aspose file tools*
The moose likes Web Services and the fly likes Complete Schema Information Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Complete Schema Information" Watch "Complete Schema Information" New topic
Author

Complete Schema Information

Mittal Vishal
Greenhorn

Joined: Nov 13, 2006
Posts: 21
Hi,

I am new to web services, I have parsed the web service & have the Definition object with me

Now I want to get all the schemas defined in the WSDL.
Schemas can have import/include statements.
Is there any way to get the complete schema information

So that I can iterate on the individual Schema & get the Element, Complex Types, restriction from it.


Thanks
Vishal
Palak Mathur
Ranch Hand

Joined: Jan 29, 2007
Posts: 313

Mittal Vishal wrote:Hi,

I am new to web services, I have parsed the web service & have the Definition object with me

Now I want to get all the schemas defined in the WSDL.
Schemas can have import/include statements.
Is there any way to get the complete schema information

So that I can iterate on the individual Schema & get the Element, Complex Types, restriction from it.


Thanks
Vishal


You can do anything. Like you have parsed WSDL, now traverse to the types element and retrieve all the schemas defined in it.


Palak Mathur | My Blog | TechJaunt | What is JavaRanch? | List of All FAQs
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Complete Schema Information