문제

I have to extract the content of the messages of a WSDL to build a view in excel sheet of the hierarchy of blocks and data fields. My objective is to have one line per block or field with the name, datatype, restrictions, mandatory or not, etc... To perform this task, I look for a java library and samples or a tutorial.

I tried with WSDL4J and easyWSDL but I feel that these libraries are too complex for my need and difficult to leverage with the available documentation...

Can anyone give me an advise ?

PS : the subject of my answer isn't about generate the excel sheet

올바른 솔루션이 없습니다

다른 팁

Those libraries would help you to generate client classes for your webservice, but I don't think they would help you in your purpose. Instead of that I suggest that, for example, you use dom4j or jdom to parse the WSDLs (whigh should be correct xml documents) and extract the information you need from them by using XPath queries

http://www.jdom.org/

http://dom4j.sourceforge.net/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top