简体   繁体   中英

How to parse wsdl and xsd files?

I've been looking for a way to programmatically parse WSDL and associated XSD files to get values from annotation / documentation tags. I managed to get values from wsdl using wsdl4j, but how do i do this for XSD files? I tried to use XSOM but for some reason i always get null.

1). Hope this link will be useful for you to choose the best parser, Parse WSDL Effectively .

I have tried using Apache Woden , WSDL4J and Membrane SOA . Among these, Membrane SOA seems to be developer friendly.

2). Place the dependent XSD's in the folder where you have placed the WSDL. Then try parsing your WSDL, it should work fine.

Maybe the JWSDL help will be of service. It also makes calls to the services.

Here a discussion on the subject

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM