[
https://jira.jboss.org/jira/browse/JBIDE-5535?page=com.atlassian.jira.plu...
]
Burr Sutter commented on JBIDE-5535:
------------------------------------
In this particular case, I am thinking about a new "Project" wizard that is
nearly identical to the new Dynamic Web Project but it would drop in a 181 annotated POJO,
setup the build/classpath, update the web.xml appropriately and be immediately deployable
and runnable.
It will work on AS5.
This feature has available in Visual Studio for many years and I think it would lower the
learning requirements for a new user who simply wishes to build a new Web Service
endpoint. The current steps are documented here.
http://community.jboss.org/wiki/SOA-P43WorkshopLabExamples
Lab 8
If you follow the lab you can see there are several steps involved therefore more
opportunities for end-user error. In Visual Studio, this is about 2 clicks - "New
Web Service Project" - give it a name and hit Finish - it is ready for immediate
testing.
New Web Service
---------------
Key: JBIDE-5535
URL:
https://jira.jboss.org/jira/browse/JBIDE-5535
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Webservices
Reporter: Burr Sutter
Fix For: 3.2.next
Attachments: New_WebService_Wizard.jpg, New_Wizard.jpg
There should be a New Web Service Project wizard (the same as New Dynamic Web Project)
and a New Web Service component wizard.
The New Web Service Project wizard creates the exact same thing as New Dynamic Web
Project but with HelloWorldWS.java containing the following:
package com.jboss.lab;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService
public class MyWebService {
@WebMethod
public String sayHello(String name) {
return "Hello2 " + name + "!";
}
}
And the appropriate entries in the web.xml.
<servlet>
<servlet-name>MyWebServiceServlet</servlet-name>
<servlet-class>com.jboss.lab.MyWebService</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyWebServiceServlet</servlet-name>
<url-pattern>/MyWebService</url-pattern>
</servlet-mapping>
See screenshots for current functionality.
This suggestion is based on how Visual Studio handles this scenario. For a New Web
Service or New Web Service project, it drops in the annotated mywebservice.asmx
automatically. You can deploy the project/component immediately without further editing.
--
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