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

Lukas Jungmann (JIRA) jira-events at lists.jboss.org
Mon Nov 29 09:09:09 EST 2010


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

Lukas Jungmann commented on JBIDE-7681:
---------------------------------------

Assumption that service classes will be generated into default package seems to be wrong because package name will always be generated from the namespaces defined in the WSDL if the package name is not set (is empty).

So to solve this, I think, we should either omit the check for an empty pkg name (and just assume user is using distinct WSDLs) or disable "Finish" button if the pkg name is not set for the second service (or get service QName from the wsdl and check whether it is already presented in the particular project).

> 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