[JBoss JIRA] Created: (JBIDE-6603) cannot create ws and client at once using WTP wizard
by Lukas Jungmann (JIRA)
cannot create ws and client at once using WTP wizard
----------------------------------------------------
Key: JBIDE-6603
URL: https://jira.jboss.org/browse/JBIDE-6603
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.0.M1
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
-create a new dynamic web project
-create a new java class with some dummy method there and annotate it with @WebService
-invoke WTP Web Service wizard:
in the wizard:
-set service slider to "Start Service", server runtime to JBoss EAP, ws runtime to JBossWS
-set client slider to "Start Client", server runtime to JBoss EAP, ws runtime to JBossWS
-finish the wizard
=>
Actual: error popup saying: 'Selection must be WSDL.' appears when client project creation is about to start
Expected: no error is shown and service and client are started
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-6390) Cannot create ws from wsdl on JBoss 6M3
by Lukas Jungmann (JIRA)
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.next
Environment: jbdevstudio-eap-linux-gtk-4.0.0.v201005280223N-H334-M1, jboss-6.0.0.20100429-M3/
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
-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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months