[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-5535) New Web Service

Feng Qian (JIRA) jira-events at lists.jboss.org
Wed Jun 22 04:25:23 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-5535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Feng Qian resolved JBIDE-5535.
------------------------------

    Resolution: Won't Fix


I think we have one wizard for a new web service: sample web service wizard, and a simple ws wizard. So I close the issue, if any one think the issue need more works, please feel free to re-open it

> New Web Service
> ---------------
>
>                 Key: JBIDE-5535
>                 URL: https://issues.jboss.org/browse/JBIDE-5535
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Webservices
>            Reporter: Burr Sutter
>            Assignee: Brian Fitzpatrick
>             Fix For: LATER
>
>         Attachments: New_WebService_Wizard.jpg, New_Wizard.jpg
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list