Cannot create ws from wsdl on JBoss 6M3
---------------------------------------
Key: JBIDE-6390
URL:
https://jira.jboss.org/browse/JBIDE-6390
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.x
Environment: jbdevstudio-eap-linux-gtk-4.0.0.v201005280223N-H334-M1,
jboss-6.0.0.20100429-M3/
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
Fix For: 3.2.x
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
-create a dynamic web project with JBoss6M3 runtime and use server supplied JBossWS
-create a top-down service from
http://www.ecubicle.net/iptocountry.asmx?wsdl
=> Error: Could not import. (use --verbose to see full traces)Error:
com/sun/xml/ws/policy/sourcemodel/wspolicy/NamespaceVersion
this works fine if JBoss 5.x server runtime is used
This looks like a problem in JBossWS included in JBoss6M3 since on the command line it
says the same:
jlukas@lukas-laptop:/tmp/aaa$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
jlukas@lukas-laptop:/tmp/aaa$
/space/java/servers/jboss-6.0.0.20100429-M3/bin/wsconsume.sh -k --verbose
http://www.ecubicle.net/iptocountry.asmx?wsdl
parsing WSDL...
Error: Could not import. (use --verbose to see full traces)
java.lang.NoClassDefFoundError:
com/sun/xml/ws/policy/sourcemodel/wspolicy/NamespaceVersion
at
com.sun.tools.ws.wsdl.parser.PolicyExtensionHandler.getNamespaceURI(PolicyExtensionHandler.java:57)
at com.sun.tools.ws.wsdl.parser.WSDLParser.register(WSDLParser.java:131)
at com.sun.tools.ws.wsdl.parser.WSDLParser.<init>(WSDLParser.java:123)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:109)
at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:185)
at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:246)
at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:240)
at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:86)
Caused by: java.lang.ClassNotFoundException:
com.sun.xml.ws.policy.sourcemodel.wspolicy.NamespaceVersion
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)
... 8 more
jlukas@lukas-laptop:/tmp/aaa$
Where should I file corresponting issue? To JBAS or JBWS project?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: