[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3783) can't generate WS from a java class in the java project not dynamic web project

Aliaksey Nis (JIRA) jira-events at lists.jboss.org
Thu Apr 30 11:02:47 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12465230#action_12465230 ] 

Aliaksey Nis commented on JBIDE-3783:
-------------------------------------

jbdevstudio-win32-2.0.0.Alpha1-N200904280358-H64.jar

Something going wrong...

1. Creating Java project. Adding to class path JBoss EAP runtime libs.
2. Creating simple Java class.
3. Editing class:
package testpack.helloworld;

import javax.jws.WebService;

@WebService(name = "HelloWorld", targetNamespace = "http://www.test.org/HelloWorld")
public class HelloWorld{

    }
4. Right-click on the java class, then click the Web Services-> create Web Service 
5. On the opened ws wizard, choose 
   Web service type = Bottom up Java Bean Web Service 
   Server = JBoss server 
   Web service runtime = JBoss WS 
   click Next button 
6. Click Next button. Error message box appears.
"Error: Could not generate. (use --show-traces to see full traces)	
Error: com/sun/codemodel/JExpression	"

In jbdevstudio-eap-win32-2.0.0.Alpha1-N200904211931-H52 same situation, exept message box shows different text - something about "cannot load class HelloWorld, is classpath valid?".

Where is my mistake?




> can't generate WS from a java class in the java project not dynamic web project
> -------------------------------------------------------------------------------
>
>                 Key: JBIDE-3783
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3783
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>            Reporter: Feng Qian
>            Assignee: Feng Qian
>            Priority: Critical
>             Fix For: 3.0.1.GA
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list