tag:blogger.com,1999:blog-31425501.post-1077102663651135102006-11-16T21:59:00.000-06:002006-11-19T18:54:35.002-06:002006-11-19T18:54:35.002-06:00Mystery of the missing wsdl stub class: another clue(?)As previously <a href="http://aftergeek.blogspot.com/2006/09/coldfusion-and-netsuite-cautionary.html">bemoaned here</a> and <a href="http://aftergeek.blogspot.com/2006/11/preventing-coldfusion-from-recompiling.html">here</a>, I ran into a problem with ColdFusion failing to generate and compile all of the necessary java classes from <a href="http://www.netsuite.com/">Netsuite's</a> wsdl when invoking a new web service object. Meanwhile, I run wsdl2java from the command line, and get each and every one of the 500+ java source code files from the wsdl.<br /><br />Tell me, is <a href="https://webservices.netsuite.com/wsdl/v2_5_0/netsuite.wsdl">Netsuite's wsdl</a> really so complex that ColdFusion misses some of the class files? I find that very hard to believe. In any case, one of my coworkers today discovered that ColdFusion seems to come with two copies of Apache Axis, which includes the wsdl2java class. Apparently axis is not only in [cfusion install]/lib/axis.jar, but is also mixed in with other packages in [cfusion install]/runtime/lib/webservices.jar. So that makes me wonder if ColdFusion is using the version that I was not calling from the command line. I think it warrants a little test. Hopefully I'll get a chance tomorrow. I'll post my findings here.<br /><br />UPDATE: I actually found a THIRD place where wdsl2java exists in the CF installation. I was able to test two of them, but both generated all of the java source files. Curious indeed.Jeremy "King Skidz" Gibbensnoreply@blogger.com2