Two Laptop Bag
The moose likes Web Services and the fly likes Validating SOAP messages against WSDL in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Validating SOAP messages against WSDL in Java" Watch "Validating SOAP messages against WSDL in Java" New topic

Validating SOAP messages against WSDL in Java

Vi Manch

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.

H Frost

Joined: Mar 01, 2008
Posts: 1
wsdl4j can probably be used to piece this together. Has anyone solved this?
Smita S. Mutha

Joined: Aug 05, 2008
Posts: 8

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

Joined: Mar 22, 2000
Posts: 13036
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.

I agree. Here's the link:
subject: Validating SOAP messages against WSDL in Java
jQuery in Action, 3rd edition