There appears to be a problem when generating WSDL for Java code and when generating Java clients from WSDLs from Eclipse. I have searched for the error received
(java.io.IOException: Cannot run program "C:\Program Files\Java\jre6\bin\javaw.exe": CreateProcess error=87, The parameter is incorrect) and it appears that this is caused by a command line that is too long. If this is the case I am surprised that this problem has not been resolved. It appears that both Eclipse and Apache are making no attempt to fix this. The impression I am getting is that it is being called a Windows problem. This may certainly be the case but one thing that might be done to fix this is to provide an option to have the command line parameters read in from a file. I don't know if such a change is the responsibility of Eclipse, Apache or both and I will be posting this same message to the Eclipse forums. Tools like Eclipse are valuable to software developers but only if they work properly. I urge the Apache CXF contributors to approach Eclipse about this and work with them to resolve it.
