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

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Wed Nov 24 12:37:59 EST 2010


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

Brian Fitzpatrick commented on JBIDE-7681:
------------------------------------------

It appears that the issue has to do with the default package name for the generated service code. By default, the package name is an empty string. So when you create a second service, it tries to create another set of service classes in that default package and finds the old ones there, which throws the exception.

If you change the package name for the second one (or first one really, just as long as they each exist in a separate package), it seems to work fine.

> 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