Cannot create WS artifacts for POJO when in default package
-----------------------------------------------------------
Key: JBDS-835
URL:
https://jira.jboss.org/jira/browse/JBDS-835
Project: JBoss Developer Studio
Issue Type: Bug
Affects Versions: 2.0.0.GA
Reporter: Shaun Appleton
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