• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Error writing wsdl

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic