473,387 Members | 1,650 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem with wsimport / NetBeans

2
Hi everyone,

I'm new to using JAVA and I'm trying to interact with a web service I wrote in C#

I downloaded Netbeans & followed the instructions to point to the wsdl file
I navigated to my WSDL file http://localhost/myService/myService.asmx?WSDL

And Looking at the output of 'Web Services Manager' I see the following


Expand|Select|Wrap|Line Numbers
  1. Created dir: C:\Documents and Settings\buk110admin\.netbeans\6.0\config\WebServices\myService
  2. \jaxws\build
  3. Created dir: C:\Documents and Settings\buk110admin\.netbeans\6.0\config\WebServices\myService
  4. \jaxws\src
  5. Consider using <depends>/<produces> so that wsimport won't do unnecessary compilation
command line: wsimport [additional args were here]

Expand|Select|Wrap|Line Numbers
  1. Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
  2. at java.util.Arrays.copyOf(Arrays.java:2882)
  3. at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
  4. at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
  5. at java.lang.StringBuilder.append(StringBuilder.java:119)
  6. at com.sun.tools.xjc.generator.bean.field.UntypedListField.generateAccessors(UntypedListField.java:130)
  7. at com.sun.tools.xjc.generator.bean.field.AbstractListField.generate(AbstractListField.java:127)
  8. at com.sun.tools.xjc.generator.bean.field.UntypedListField.<init>(UntypedListField.java:107)
  9. at com.sun.tools.xjc.generator.bean.field.UntypedListFieldRenderer.generate(UntypedListFieldRenderer.java:58)
  10. at com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:75)
  11. at com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:744)
  12. at com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:532)
  13. at com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java:234)
  14. at com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:174)
  15. at com.sun.tools.xjc.model.Model.generateCode(Model.java:286)
  16. at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:246)
  17. at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
  18. at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:134)
  19. at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2193)
  20. at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:187)
  21. at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:133)
  22. at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:165)
  23. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  24. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  25. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  26. at java.lang.reflect.Method.invoke(Method.java:597)
  27. at com.sun.tools.ws.Invoker.invoke(Invoker.java:116)
  28. at com.sun.tools.ws.WsImport.main(WsImport.java:52)
  29. C:\Program Files\NetBeans 6.0.1\enterprise4\modules\ext\build-ws.xml:125: wsimport failed
  30. BUILD FAILED (total time: 21 seconds)
  31.  
  32.  
  33.  

I'm totally lost as of what to do. I went to the netbeans.conf file & changed the default options to


Expand|Select|Wrap|Line Numbers
  1. netbeans_default_options="-J-Dcom.sun.aas.installRoot=\"C:\Sun\AppServer\" -J-client -J-Xss2m -J-Xms256m -J-XX:PermSize=768m -J-XX:MaxPermSize=768m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"
Can anyone provide any advice/guidance/suggestions/help
Mar 17 '08 #1
0 2701

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: King W.Wang | last post by:
Hi all, I've installed NetBeans IDE 3.5 on Windows XP. But if I try to start it, a message box shows "cannot load jvm.dll". This library does exist in a subdirectory. My questions are: 1) Is...
1
by: tmb | last post by:
I'm a newbie to Java. At http://java.sun.com/j2se/1.4.2/download.html I see I can download... NetBeans IDE + J2SE SDK as a 'bundle' I beleive is both NetBeans and the Java SDK... My...
13
by: Ash | last post by:
Hey. Im new to Java, and am having a prroblem with the netbeans IDE. every time i try to import java.awt.* , I can't use any of the methods(like they don't exist). I can compile it fine, but when I...
0
by: shaileshkumar | last post by:
hi, iam unable to run my applications in netbeans4.1. problem may be due to JVM or port numbers conflict. i did not intentionally change any port numbers . please guide me accordingly. iam...
0
by: sokeefe | last post by:
I use NetBeans IDE to develop a Java application. In the past, I could use the Design Editor to edit my form for the GUI. Spontaneously, NetBeans is unable to open the form file, producing this...
2
myusernotyours
by: myusernotyours | last post by:
Hi All, Am working on a Java application in which I have to use the JNI to Interface with some native code for both windows and unix. Am using netbeans IDE with the C/C++ pack installed. Am also...
1
by: sokeefe | last post by:
I am trying to edit the GUI of a project in Netbeans. In particular, I am trying to add new JButtons. I get a NullPointerException when I try to add an Event to any given JButton (even ones that...
1
by: uhdam | last post by:
HI... In netbeans, whenever i launch the app it loads up and then i get an empty pane where the gui would be. Initially i used Netbeans 6.5. Later i used Netbeans 5.0 and had the prob. ...
3
by: khalid galal | last post by:
Hi, i am having a problem in J2ME. I am using NetBeans 6.5 and my mobile is nokia 6600. I tried to deploy a helloworld applicaton to my device using the CLCD-1.0 and MIDP-2.0 as specified for nokia...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.