[
https://jira.jboss.org/jira/browse/JBIDE-4806?page=com.atlassian.jira.plu...
]
Feng Qian commented on JBIDE-4806:
----------------------------------
We don't get any warning message for no package from runtime. So we don't give a
message to user.
So long as runtime generate any message, I can show it to user.
Do you think we should give warning message for this from ui side?
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.GA, 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_si...
--
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