Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.07 KB

README.md

File metadata and controls

60 lines (38 loc) · 1.07 KB

wsdl2html

Converts WSDLs to html documents which are readable by everybody.

Example:

v3-sample

Check the full html here.

How to run

Run as a command line tool

Note: minimum jdk (not just jre) version: 1.8

mvn clean 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 with docker

docker build -t wsdl2html .
docker run --rm \
  -v /path/to/your/html/directory:/usr/src/output \
  wsdl2html http://.../some?wsdl

Run it inside your application

In your pom.xml, add the following:

	<dependencies>
		...	
		<dependency>
			<groupId>com.github.chenjianjx</groupId>
			<artifactId>wsdl2html</artifactId>
			<version>4.2.0</version>
		</dependency>
		...
	</dependencies>	
String html = org.jaxws.wsdl2html.service.Wsdl2Html.generateHtml(wsdlUrl);