Last active
December 23, 2015 09:09
-
-
Save ggdio/6612227 to your computer and use it in GitHub Desktop.
Webservice implementation based on 'br.com.ggdio.gists.ws.service.structure.MyService'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.ggdio.gists.ws.service; | |
import javax.jws.WebService; | |
import br.com.ggdio.gists.ws.service.structure.MyService; | |
/** | |
* Webservice implementation based on the Service - {@link MyService} | |
* @author Guilherme Dio | |
*/ | |
@WebService( | |
portName = "ExemploPort", | |
serviceName = "MyService", | |
targetNamespace = "http://example.ggdio.com.br/ws", | |
endpointInterface = "br.com.ggdio.gists.ws.service.structure.MyService") | |
public class MyServiceWs implements MyService { | |
@Override | |
public String helloWorld() { | |
return "Hello World !"; | |
} | |
@Override | |
public String showMessage(String msg) { | |
return "Message: "+msg; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment