By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,408 Members | 1,840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,408 IT Pros & Developers. It's quick & easy.

Problem with wsimport / NetBeans

P: 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(
  3. at java.lang.AbstractStringBuilder.expandCapacity(
  4. at java.lang.AbstractStringBuilder.append(
  5. at java.lang.StringBuilder.append(
  6. at
  7. at
  8. at<init>(
  9. at
  10. at
  11. at
  12. at
  13. at<init>(
  14. at
  15. at
  16. at
  17. at
  18. at
  19. at
  20. at
  21. at
  22. at
  23. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  24. at sun.reflect.NativeMethodAccessorImpl.invoke(
  25. at sun.reflect.DelegatingMethodAccessorImpl.invoke(
  26. at java.lang.reflect.Method.invoke(
  27. at
  28. at
  29. C:\Program Files\NetBeans 6.0.1\enterprise4\modules\ext\build-ws.xml:125: wsimport failed
  30. BUILD FAILED (total time: 21 seconds)

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
Share this question for a faster answer!
Share on Google+

Post your reply

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