Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Complete Schema Information

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 343
Mac OS X Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic