Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error writing wsdl  RSS feed

 
D. Formenton
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sathees sam
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Domenico,

I could not pin point the exact problem, hope the following url will help you to get idea about this, but I advice not to depend on any editor to generate webservices artifacts but use ant targets.


codegentools

thanks & regards
sathees
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!