java - Parsing a WSDL to extract Service / Port elements -
I want to process a WSDL file automatically to find defined service / port elements. Is it possible, using java or ant utility of something? if so, how? JAX-WS actually holds the WSDL parsing code and allows you to inspect the WSDL ports and services.
If you are looking for things that can be more robust, then you can get the facility of manipulating or inspecting other parts of the WSDL, WSDL4J may be useful for you WSDL 4 There may be an added advantage of not having this meaning in it, that you can easily add it to your classpost, do not worry about it, its code is conflicting with the GRM version.
If you really need to call web service and only to inspect the high level parts of WSDL, JADS-WS will work fine. Due to possible configuration overhead and / or you do not really need to call web service, you need more portable, so WSDL4J can be a better option.
Comments
Post a Comment