Forums Register Login

Error writing wsdl

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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
Beauty is in the eye of the tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1071 times.
Similar Threads
How To :: Generating WSDL file from eclipse(java2wsdl & wsdl2java from eclipse)
is there any alternative for ArrayList object in web services
Axis Vs Axis2
webservice resources.
Axis2 Exception in NetBeans & Eclipse
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 20:25:13.