[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4806) Cannot create WS artifacts for POJO when in default package

Feng Qian (JIRA) jira-events at lists.jboss.org
Fri Aug 21 05:45:38 EDT 2009


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

Feng Qian commented on JBIDE-4806:
----------------------------------

This is a runtime issue. Max, you think we should give a warning message for this?
I think put a class in non-package is not good practice. A java user should know it.

> Cannot create WS artifacts for POJO when in default package
> -----------------------------------------------------------
>
>                 Key: JBIDE-4806
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4806
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.0.0.GA
>            Reporter: Shaun Appleton
>            Assignee: Feng Qian
>            Priority: Minor
>
> You cannot create a webservice from a simple pojo which is in the default package.
> I note there is a warning on the Web Service Dialog box -
> ! The service implementation selected does not follow Java naming conventions.
> But it still allows you to progress. until you get the following - 
> log4j:WARN No appenders could be found for logger (org.jboss.wsf.framework.DefaultSPIProvider).
> log4j:WARN Please initialize the log4j system properly.
> Error: Could not generate. (use --show-traces to see full traces)
> Error: Cannot obtain @WebService annotation from: myPojo
> I can't see anything in the docs[1] to prohibit this.
> [1] http://download.jboss.org/jbosstools/nightly-docs/en/ws_ref_guide/html_single/index.html

-- 
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