title: Generating stub classes for 3rd party WS
body: <p>I need to incorporate a pretty complex 3rd party web service into my Grails app.  My plan was to use WSDL2Java to generate the stub classes from the wsdl, and this was the method recommended in the 3rd party's documentation (complete with examples). First i tried to use the Axis2 codegen plugin for Eclipse but eventually came up against an InvocationTargetexception.  I debugged the plugin and found it was because the wsdl is defined with RPC encoding.  </p>
  
  <p>Some people have recommended using Axis 1.4 instead, so I've now installed that too but have come up against an IO Exception - Type {<a href="http://xml.apache.org/xml-soap" rel="nofollow noreferrer">http://xml.apache.org/xml-soap</a>}DataHandler is referenced but not defined.</p>
  
  <p>Can anyone suggest a method for creating the java classes from this wsdl without having to hack the wsdl apart? </p>