Author
Validating SOAP messages against WSDL in Java
Vi Manch
Greenhorn
Joined: Sep 07, 2003
Posts: 3
Is anyone aware of any publicly available APIs or some Java tools which can be used to validate a given SOAP message (request/response) against a WSDL (not XML Schema)? I am aware of tools like XMLSpy, SOAP-UI and am looking only for some Java programs which can be integrated into our Java application.
SCJP, SCWCD
H Frost
Greenhorn
Joined: Mar 01, 2008
Posts: 1
posted Mar 01, 2008 20:45:00
0
wsdl4j can probably be used to piece this together. Has anyone solved this?
Smita S. Mutha
Greenhorn
Joined: Aug 05, 2008
Posts: 8
Hi, Has anyone solved the issue? If yes, Please let me know. I am searching for the same for long time, but not able to get it.
--------------------------------<br />SCJP (91%), SCWCD(89%)<br />ON the way to SCDJWS...
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12324
Exactly what sort of validation are you looking for? If the WSDL was used to build server and client code, non-conforming messages will probably cause errors and throw exceptions. You can use SOAPui etc to create bad messages and see what happens. I tried to survey general web service testing in this article and this followup article. Bill
Java Resources at www.wbrogden.com
subject: Validating SOAP messages against WSDL in Java