• Post Reply Bookmark Topic Watch Topic
  • New Topic

Generate Soap xml from WSDL

 
Anthony Callaghan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm looking for something that will generate a sample soap response from a WSDL.

I can do this using SOAPUI but I want to tie this into a Maven/Ant build.

I'm using AXIS to generate service stubs with XMLBeans but from what I can see axis does not have this functionality

The services operations are returning soap responses by getting the payload from external xml files, hence the need for above as a starting point.
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anthony,
One of way of doing is to keep mock data on your service and based on a flag (usually in a properties file), you can code in such a way to return actual response or mock response.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!