[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7681) Cannot create two or more top down web services in a web project

Feng Qian (JIRA) jira-events at lists.jboss.org
Wed Dec 8 02:33:00 EST 2010


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

Feng Qian commented on JBIDE-7681:
----------------------------------

Hi guys, in general, the tools give a error message when you add a same servlet name into the web.xml. I think you can create more than one webservice in a project, but you must make sure that these two web service use different servlet names. This will assure that your two web service can work on server.
BTW, based on this case, I think it is better that we give user a choose for overiding the servlet or not. Any ideas? 

> Cannot create two or more top down web services in a web project
> ----------------------------------------------------------------
>
>                 Key: JBIDE-7681
>                 URL: https://jira.jboss.org/browse/JBIDE-7681
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.2.0.CR1
>            Reporter: Lukas Jungmann
>            Assignee: Brian Fitzpatrick
>            Priority: Critical
>             Fix For: 3.2.0.CR1
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> -create a new ear project ("Ear")
> -create a new dynamic web project ("WsWar")
> -create a top down ws from some wsdl using wtp wizard in WsWar project
>    - ws project WsWar, ear project Ear, server runtime JBossAS6.0, ws runtime JBossWS
> -create another top down ws from different wsdl there
>    - ws project WsWar, ear project Ear, server runtime JBossAS6.0, ws runtime JBossWS
> => wizard ends with "The Web Service Name has been used in the web.xml of the web project." error message and doesn't allow user to finish it but all I'm trying to do is to create two completely different services in one project
> message is comming from line 190 in org.jboss.tools.ws.creation.core.commands.MergeWebXMLCommand

-- 
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