Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-17-2008, 08:47 PM
Member
 
Join Date: Mar 2008
Posts: 1
buk110 is on a distinguished road
Problem with wsimport / Netbeans
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

Code:
Created dir: C:\Documents and Settings\buk110admin\.netbeans\6.0\config\WebServices\myService \jaxws\build Created dir: C:\Documents and Settings\buk110admin\.netbeans\6.0\config\WebServices\myService \jaxws\src Consider using <depends>/<produces> so that wsimport won't do unnecessary compilation
command line: wsimport [additional args were here]
Code:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390) at java.lang.StringBuilder.append(StringBuilder.java:119) at com.sun.tools.xjc.generator.bean.field.UntypedListField.generateAccessors(UntypedListField.java:130) at com.sun.tools.xjc.generator.bean.field.AbstractListField.generate(AbstractListField.java:127) at com.sun.tools.xjc.generator.bean.field.UntypedListField.<init>(UntypedListField.java:107) at com.sun.tools.xjc.generator.bean.field.UntypedListFieldRenderer.generate(UntypedListFieldRenderer.java:58) at com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:75) at com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:744) at com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:532) at com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java:234) at com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:174) at com.sun.tools.xjc.model.Model.generateCode(Model.java:286) at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:246) at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85) at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:134) at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2193) at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:187) at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:133) at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.tools.ws.Invoker.invoke(Invoker.java:116) at com.sun.tools.ws.WsImport.main(WsImport.java:52) C:\Program Files\NetBeans 6.0.1\enterprise4\modules\ext\build-ws.xml:125: wsimport failed 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

Code:
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NetBeans 5.5.1 Help. padutch2 New To Java 6 12-03-2007 04:01 AM
Where to find wsimport javaplus Web Frameworks 1 11-26-2007 10:59 AM
help with netBeans the godfather01 NetBeans 3 11-14-2007 08:54 PM
netBeans problem Restated elizabeth NetBeans 1 08-07-2007 09:49 PM
Problem with display in Netbeans 5.5 Albert NetBeans 1 07-13-2007 04:33 PM


All times are GMT +3. The time now is 01:05 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org