[jbosstools-issues] [JBoss JIRA] (JBIDE-19687) Web Service wizard buttons act strangely if an error occurs creating CXF service

Brian Fitzpatrick (JIRA) issues at jboss.org
Thu May 7 17:04:45 EDT 2015


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

Brian Fitzpatrick commented on JBIDE-19687:
-------------------------------------------

The Web Tools folks pointed out that we can use a workaround to get past this by adding "targetNamespace" as an element in the WebService annotation:

{code}
package org.jboss.samples.webservices;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService(targetNamespace = "http://jboss.org/wsdl")
public class HelloWorld {

	@WebMethod()
	public String sayHello(String name) {
	    System.out.println("Hello: " + name);
	    return "Hello " + name + "!";
	}
}
{code}

> Web Service wizard buttons act strangely if an error occurs creating CXF service
> --------------------------------------------------------------------------------
>
>                 Key: JBIDE-19687
>                 URL: https://issues.jboss.org/browse/JBIDE-19687
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>    Affects Versions: 4.3.0.Alpha2
>         Environment: Fedora 20 x64, openjdk 1.7.0_75
>            Reporter: Jan Richter
>            Assignee: Brian Fitzpatrick
>              Labels: upstream
>         Attachments: errorMessage
>
>
> Trying to create a bottom up Apache CXF web service. If after the "Apache CXF Wbe Service Java2WS Configuration" step an error occurs, the "back" and "next" buttons stop behaving in the expected fashion.
> So far I've found these cases:
> - The back button will loop through the last 3 pages of the wizard, while pressing "next" on any of these pages will return you to the first page.
> - You can return with the back button, but pressing next will open an error dialog with the same message as the original error.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list