Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Error writing wsdl

Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

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.


thanks & regards
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic