-
1. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 7, 2012 8:09 AM (in response to simplex-software)Nobody feels concerned by that ?
-
2. Re: Can't create top-down web service with JBDS 4.1.1
maxandersen Feb 7, 2012 8:29 AM (in response to simplex-software)which server did you target in the wizard ?
-
3. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 7, 2012 9:15 AM (in response to maxandersen)SOA-P 5.2
-
4. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 8, 2012 9:30 AM (in response to simplex-software)Could any body please help ?
-
5. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 11:08 AM (in response to simplex-software)I'm getting an environment set up and will see what I can figure out. Is it any WSDL or just a particular one?
-
6. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 8, 2012 11:26 AM (in response to bfitzpat)I'd like to attach my war but it doesn't seem to be possible. At least, I don't find how. I only have one WSDL, I didn't try with others but I don't think it's related to the WSDL.
-
7. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 11:34 AM (in response to simplex-software)I'm still downloading the server archive to get a clean environment set up. Hopefully will know something in about an hour.
-
8. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 12:14 PM (in response to bfitzpat)Nicolas have you by chance updated to JBDS 4.1.2 yet? I went to grab the 4.1.1 installer from the CSP and got 4.1.2, which has a few fixes. But I just got my environment together and am trying things out...
-
9. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 12:24 PM (in response to bfitzpat)Ok, I just created a new SOA-P 5.2 environment with the latest JBDS 4.1.2 tooling and am able to create a top-down web service using the "Web Service" wizard (File->New->Other, Web Services->Web Service) just fine.
This is my sample wsdl: http://pastie.org/3342593
Can you try creating your web service with an external WSDL as opposed to one hosted in the war?
-
10. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 8, 2012 12:36 PM (in response to bfitzpat)Brian, trying to create a web service with the given WSDL raises the following exception:
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.
I'm using JBDS 4.1.1 as there is no any newer update, at least not found. What are your project facets ? I'm using a Seam project to which I activated the Web Services Core facets. Could you please post your project's JBossWS Runtime preferences page ?
-
11. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 12:46 PM (in response to simplex-software)Here's my project facets: http://tinypic.com/r/24n3b0g/5
And I have nothing in my JBossWS prefs page: http://tinypic.com/r/b3sbc4/5
Seems like something is definitely out of whack in your runtime. WSConsume should be in there somewhere.
-
12. Re: Can't create top-down web service with JBDS 4.1.1
bfitzpat Feb 8, 2012 12:47 PM (in response to bfitzpat)I guess try and document what steps you've followed to create your project and try to generate the WS code. Tough to reproduce if I don't know exactly what you're doing yet.
-
13. Re: Can't create top-down web service with JBDS 4.1.1
maxandersen Feb 8, 2012 12:49 PM (in response to simplex-software)Use Help > Check for Updates and you should get the latest 4.1.2.
(but I don't think that should fix anything since only Teiid was updated here)
-
14. Re: Can't create top-down web service with JBDS 4.1.1
simplex-software Feb 8, 2012 12:54 PM (in response to bfitzpat)I'm confused. Your project isn't even configured such that to work with web services ! What kind of project is taht, a Seam one or simply a Dynamic Web Project ? If you right-click on the project and go to Properties->JbossWS Runtime what does it display ? Also, could you do a jarscan in your install to look for the class org.jboss.wsf.spi.tools.cmd.WSConsume and let me know if you found it and where ?