-
15. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 8, 2012 12:55 PM (in response to simplex-software)Also Help-Check for update says that there is no any update, as mentioned previously.
-
16. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 12:59 PM (in response to simplex-software)The project is a straight Dynamic Web Project. That's it. I'm not doing anything fancy here. Minimal setup in an attempt to reproduce what you're seeing.
-
17. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 1:04 PM (in response to bfitzpat)===============================================
Found: org.jboss.wsf.spi.tools.cmd.WSConsume
Class: org.jboss.wsf.spi.tools.cmd.WSConsume
Package: org.jboss.wsf.spi.tools.cmd
Library Name: jbossws-spi.jar
Library Path: C:\Runtimes3\soa-p-5.2.0.GA\jboss-soa-p-5\jboss-as\client\jbossws-spi.jar
===============================================
===============================================
Found: org.jboss.wsf.spi.tools.cmd.WSConsume
Class: org.jboss.wsf.spi.tools.cmd.WSConsume
Package: org.jboss.wsf.spi.tools.cmd
Library Name: jbossws-spi.jar
Library Path: C:\Runtimes3\soa-p-5.2.0.GA\jboss-soa-p-5\jboss-as\common\lib\jbossws-spi.jar
===============================================
===============================================
Found: org.jboss.wsf.spi.tools.cmd.WSConsume
Class: org.jboss.wsf.spi.tools.cmd.WSConsume
Package: org.jboss.wsf.spi.tools.cmd
Library Name: jboss-embedded-all.jar
Library Path: C:\Runtimes3\soa-p-5.2.0.GA\jboss-soa-p-5\seam\lib\test\jboss-embedded-all.jar
===============================================
-
18. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 8, 2012 1:11 PM (in response to bfitzpat)Okay, I did the same. I created a new Dynamic Web project i which i created my WSDL and XSD in two folders in the src directory of the Java Resources. I right clicked on the wsdl and New->Others->Web Services->Web Service. In the next page, the Web Service is "Top-down Java bean Web Service", service definition is the path to my WSDL, Server runtime is JBoss Enterprise Application Platform 5.x (I have selected the SOAP-5.2 runtime), the web service runtime is JBossWS. The slider for the service is "start" and the one for the client is "No client". I'm pressing Next. I'm leaving the next page (JBoss Web Service Code Generation Configuration) as it is, ie without anything in the package name, catalog, binding files, etc. and pressing Next. And I get
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/cmd/WSConsume Caused by: java.lang.ClassNotFoundException: org.jboss.wsf.spi.tools.cmd.WSConsume at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: org.jboss.wsf.spi.tools.cmd.WSConsume. Program will exit. -
19. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 1:19 PM (in response to simplex-software)Can you install a fresh SOA-P 5.2 installation somewhere and point to that as the runtime? I'm really out of ideas. The only thing that keeps popping into my brain is that something's out of whack with your actual runtime installation.
I followed your steps exactly here with a clean environment and it works fine.
-
20. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 8, 2012 1:25 PM (in response to bfitzpat)1 of 1 people found this helpfulYeah, I'll try that. And I was mistaken, it's not JBDS 4.1.1 but 4.1.2, this is why there weren't any update . I'll keep you posted. Many thanks for your time.
-
21. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 1:30 PM (in response to simplex-software)Definitely keep us posted. Sorry for the delay in getting back to you! And no worries on the time. Good luck!
-
22. Re: Can't create top-down web service with JBDS 4.1.1
maxandersen Feb 9, 2012 2:28 AM (in response to simplex-software)Just wondering if there could be OS specific concerns here?
Windows vs linux/osx path handling ?
-
23. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 9, 2012 2:03 PM (in response to maxandersen)Hi, I repeated the test with a fresh install of JBDS 4.1.2 and SOA-P 5.2 and the same exception is raised when I try to create the web service from the WSDL. I'm on RHEL 4.1.2 x86-64. I don't have any windows machine to test. Could it be a RHEL specific issue ?
Kind regards,
Nicolas
-
24. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 9, 2012 3:31 PM (in response to simplex-software)That's a bummer. It could be a path issue on linux/osx vs. windows as mentioned by Max earlier.
Let me see what I can figure out. Is there more to the exception or anything in the eclipse .log file?
-
25. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 16, 2012 3:38 AM (in response to bfitzpat)No, the server log file doesn't say anything and the Eclipse log file doesn't say anything more than the mentioned exception.
Is there any progres on this issue ? Am I the only person having it ? It was envisaged that this could be a specific issue to linux/RHEL. Am I the only person using JBDS on RHEL ? After all, JBDS is a RedHat product and it is not uncommon to use a RedHat product on a RedHat operating system.
-
26. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 16, 2012 10:26 AM (in response to simplex-software)Hey Nicolas...
Apologies. Still working on getting an environment together to test this locally. Got sidetracked trying to get some things wrapped up for an upcoming milestone.
-
27. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 16, 2012 4:08 PM (in response to bfitzpat)Ok, so with a VirtualBox running Fedora 16 and OpenJDK 1.6.0 with JBDS 4.1.2 and SOA-P 5.2, I am able to create the web service code via the Web Service->Web Service wizard just fine.
Let me ask this question - what JRE do you have set in your Eclipse workspace? Is it the JRE that you're pointing to or the JDK?
-
28. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 17, 2012 7:32 AM (in response to bfitzpat)My workspace is configured to use the JDK (not JRE) 1.6.0_21 for 64 bits. And I'm running a RedHat 5 64 bits vmWare virtual machine on Windows 7 64 bits
-
29. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 17, 2012 10:32 AM (in response to simplex-software)Nicolas - is that Sun's JDK or the OpenJDK?