Generate readable html docs from WSDLs
Java FreeMarker Other
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
src
.gitignore
License.md
README.md
pom.xml
test-cases.md

README.md

wsdl2html

Converts WSDLs to html documents which are readable by everybody.

Online version: http://www.wsdl2html.com

Example:

v3-sample

Check the full html here.

How to run

Run online

Run online if your WSDL has been hosted on a public site. Do it here: http://www.wsdl2html.com

Run as a command line tool

mvn package 
unzip target/wsdl2html*jarset.zip -d /path/to/your/dir
cd /path/to/your/dir/wsdl2html*
./wsdl2html.sh http://.../some?wsdl /path/to/your/html/directory  
# or wsdl2html.bat for windows

Run it inside your application

In your pom.xml, add the following:

	<dependencies>
		...	
		<dependency>
			<groupId>com.github.chenjianjx</groupId>
			<artifactId>wsdl2html</artifactId>
			<version>4.0.0</version>
		</dependency>
		...
	</dependencies>	
//Note: if you call this method in your code, make sure the jdk version you used to run your code is 
// no lower than that of the jdk used by your "wsimport" to run in shell

String html = org.jaxws.wsdl2html.service.Wsdl2Html.generateHtml(wsdlUrl);