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

Shaun Appleton (JIRA) jira-events at lists.jboss.org
Mon Feb 1 06:29:20 EST 2010


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

Shaun Appleton commented on JBIDE-4806:
---------------------------------------

Changing the warning to 

  "! The service implementation selected does not follow Java naming conventions. This may result in not being able to generate your WebService."

Should be OK. That way the user should know that generation may fail and not surprised if it does.
[The alternative would be to not let them progress at all after the warning.]

> 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
>             Fix For: 3.1.0.CR2, 3.1.1
>
>
> 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