[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7093) [Web Service wizard] Error creating web service top down

Feng Qian (JIRA) jira-events at lists.jboss.org
Sat Sep 25 02:20:28 EDT 2010


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

Feng Qian commented on JBIDE-7093:
----------------------------------

I just said in trunk, I can't reproduce the issue, not for 3.0.x. The wsdl file maybe have some semantic errors:
  <wsdl:portType name="BuscarExpedientePorPkWSHttpGet" />
  <wsdl:portType name="BuscarExpedientePorPkWSHttpPost" />
These two wsdl porttype having nothing, for example, operation.  Yes, it has not solecism, but wsconsume think they have nothing to do, so don't generate web service for these two porttype, then our tools generate a error. If we remove these two porttype and correlative bindings, it is ok. Or we can add operation to these two porttype.
BTW, in our trunk codes, we can handle this scene, Brian, you want me add the fix in trunk back to 3.0.x branch?

> [Web Service wizard] Error creating web service top down
> --------------------------------------------------------
>
>                 Key: JBIDE-7093
>                 URL: https://jira.jboss.org/browse/JBIDE-7093
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.0.1.GA
>            Reporter: Brian Fitzpatrick
>            Assignee: Feng Qian
>             Fix For: 3.2.x
>
>         Attachments: BuscarExpedientePorPkWS.wsdl, jbosstools-diagnostics-20100917171023.zip
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> The steps the customer describes are: -
> Hi,
> I need to create a web service implementation from a given WSDL (attached). So, I created a dynamic web project and when using the create web service wizard using JBossWS, in the second step (after pressing 'next' twice) I got the following error:
> Failed to generate implementation class
> org.eclipse.core.runtime.CoreException: Failed to Generate Web Service
> code, please check the log for more details
> at
> org.jboss.tools.ws.creation.core.commands.ImplementationClassCreationCommand.getCompilationUnitForInterface(ImplementationClassCreationCommand.java:447)
> at
> org.jboss.tools.ws.creation.core.commands.ImplementationClassCreationCommand.generateImplClass(ImplementationClassCreationCommand.java:133)
> Darran tried both JBoss Enterprise AS 4.3.0CP06 & 5.0.1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list