Hi,
I am trying to build a web service from wsdl using Netbeans 6.8, Tomcat 6 and axis2 1.6, but I give the error:
"org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: WSDL writing failed!"
The original wsdl file is 10,155 characters long (258 lines) but there are only 7,996 characters (197 lines) in the copied file ..\build\axis2\resources\miLegacyArticoliService.wsdl.
It seems there is a too short buffer to contain the full wsdl!
The same thing appens if I try to develop the same project with Eclipse (on Windows) and also if I simply try to use wsdl2java utility (In my opinion both Netbeans
and Eclipse use wsdl2java and obviously generate the same error).
Is there some workaround to avoid this problem?
Best regards
Domenico
I am trying to build a web service from wsdl using Netbeans 6.8, Tomcat 6 and axis2 1.6, but I give the error:
"org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: WSDL writing failed!"
The original wsdl file is 10,155 characters long (258 lines) but there are only 7,996 characters (197 lines) in the copied file ..\build\axis2\resources\miLegacyArticoliService.wsdl.
It seems there is a too short buffer to contain the full wsdl!
The same thing appens if I try to develop the same project with Eclipse (on Windows) and also if I simply try to use wsdl2java utility (In my opinion both Netbeans
and Eclipse use wsdl2java and obviously generate the same error).
Is there some workaround to avoid this problem?
Best regards
Domenico