aspose file tools*
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
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
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: 12823
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validating SOAP messages against WSDL in Java