Error In Generating Wsdl From Java Java.lang.classnotfoundexception
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Eclipse “Create Web Service” Showing Weird Error up vote 1 down vote favorite EDIT 2: I probably should have mentioned this earlier, but I'm getting a warning after I set up the Web Service (but before it is actually made, where the error occurs). Here is the warning: The service class "net.rim.Indy.WebService.Functions_JSONP" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly. And the juice: The service class "net.rim.Indy.WebService.Functions_JSONP" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly. The field or property "cause" on the value type "atg.taglib.json.util.JSONException" used via the service class "net.rim.Indy.WebService.Functions_JSONP" has a data type, "java.lang.Throwable", that is not supported by the JAX-RPC 1.1 specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result. If this is fixed, I have a feeling the Web Service will start working, because it is identical to another one I have except for the JSON functionality. Something needs to be changed so that my web service is fully supported by the JAX specs. EDIT: I'm now getting around the issue where it is automatically choosing the wrong project for me. I followed File->New->Web Service. My settings are as follows: Web service type: Bottom up Service implementation: net.aaa.bbb.WebService.Functions_JSONP Server runtime: Tomcat v6 Web service runtime: Apache Axis Service project: ABC Client type: Java Proxy I check off "Publish the Web service" and hit Next. Then on the next page I hit Next again to generate Functions_JSONP.wsdl and get the following error: IWAB0398E Error in generating WSDL from Java: java.lang.ClassNotFoundException: net.aaa.bbb.WebService.Functions_JSONP Here is the full stack trace: IWAB0398E Error in generating WSDL from Java: java.lang.ClassNotFoundException: net.aaa.bbb.WebService.Functions_JSONP java.lang.ClassNotFou
CommunityMarketplaceEventsPlanet EclipseNewsletterVideosParticipateReport a BugForumsMailing ListsWikiIRCHow to ContributeWorking GroupsAutomotiveInternet of ThingsLocationTechLong-Term SupportPolarSysScienceOpenMDM Toggle navigation Bugzilla – Bug122171 IWAB0398E Error in generating WSDL from Java java.lang.NoClassDefFoundError Last modified: 2006-09-26 12:52:59 EDT Home | New | Browse | Search | [?] | Reports | Requests | Help | Log In [x] | Forgot Password Login: [x] | Terms of Use | Copyright Agent First Last Prev Next This bug is not in your last search results. Bug122171 - IWAB0398E Error in generating WSDL from Java java.lang.NoClassDefFoundError Summary: IWAB0398E Error in generating WSDL from Java java.lang.NoClassDefFoundError Status: CLOSED WONTFIX Product: WTP Webservices http://stackoverflow.com/questions/4682949/eclipse-create-web-service-showing-weird-error Classification: WebTools Component: jst.ws Version: 1.0 Hardware: PC Windows XP Importance: P3 normal (vote) TargetMilestone: 1.5 M6 Assigned To: Kathy Chan QA Contact: URL: Whiteboard: Keywords: Depends on: Blocks: Show dependency tree Reported: 2005-12-27 15:46 EST by Michel BENET Modified: 2006-09-26 12:52 EDT (History) CC List: 1 user (show) cs6clr See Also: Attachments Add an attachment https://bugs.eclipse.org/bugs/show_bug.cgi?id=122171 (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description Michel BENET 2005-12-27 15:46:28 EST I want to create a webservice with a webservice with one function having a javax.activation.DataSouce as a parameter : public boolean testDataSource(DataSource param) { return true; } I get this error : IWAB0398E Error in generating WSDL from Java java.lang.NoClassDefFoundError: javax/wsdl/DataSource After applying the comment#8 of bug 104993, the error changed to : IWAB0398E Error in generating WSDL from Java java.lang.NoClassDefFoundError: javax/wsdl/extensions/ExtensibilityElement This class is inside the wsdl jar file witch is the list of the axis jar files. After having the two above errors, I tried to change the function with a bute[] parameter : public boolean testDataSource(byte[] param) { return true; } The error still appear. I have to exit eclipse, to reboot the computer, restart eclipse and after the wizard can create the web service with a byte[] as a parameter. My configuration is : eclipse 3.1.1 wtp 1.0RC4 Tomcat 5.0
not work correctly without it enabled. Please https://developer.jboss.org/thread/102540 turn JavaScript back on and reload this page. All Places > JBoss Web Services > Discussions Please enter a title. You can not post a error in blank message. Please type your message and try again. 1 Reply Latest reply on Nov 23, 2007 3:55 AM by Richard Opalka IWAB0398E Error in error in generating generating WSDL from Java simona ligorio Nov 22, 2007 10:46 AM Hi,I use Jboss 4.0, jdk 1.5 and eclipse 3.3.1.when I click on "create web service", appears to me a windows with an error.Can someone tell me what's the problem?________________________________________________________________IWAB0398E Error in generating WSDL from Java: java.lang.ClassNotFoundException: owlJena.ExportConverterjava.lang.ClassNotFoundException: owlJena.ExportConverterat java.lang.ClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429)at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)at java.lang.ClassLoader.loadClass(Unknown Source)at org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLoader.java:1414)at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1085)at java.lang.ClassLoader.loadClass(Unknown Source)at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)at java.security.AccessController.doPrivileged(Native Method)at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:2079)at org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java2WsdlAntTask.java:188)at org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand.executeAntTask(Java2WSDLCommand.java:181)at org.eclipse.jst.ws.internal.axis.con