Iffo
Iffo

Reputation: 353

Generate html form from wsdl

I need a way to generate HTML interface (form), starting from wsdl, to submit web service requests. The request submission is made by server side code. The user fills out the form and posts data.

I am looking for a library (Java) that might help me to write the code.

I'm not trying to create java classes of the web service, I have to generate form fields for any wsdl url.

Upvotes: 2

Views: 1980

Answers (1)

Paul Wasilewski
Paul Wasilewski

Reputation: 10372

According to MikeC http://www.soapclient.com/soaptest.html is a tool to create HTML forms from WSDL documents. Unfortunately, its not a Java library and it also had at least one limitation: no multidimensional array support.

But with a little effort you should be able to write an own parser/transformer for your specific use case. See also How to parse WSDL in Java? to find more information about a WSDL parser for JAVA.

Also possible XSLT http://www.ibm.com/developerworks/library/ws-xsltwsdl/.

Upvotes: 2

Related Questions