alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java EE 6 example source code file (Hello.java)

This example Java EE 6 source code file (Hello.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Java EE 6 tags/keywords

action, hello, hello, requestwrapper, responsewrapper, string, string, webmethod, webparam, webparam, webresult, webresult, webservice, xml, xmlseealso

The Java EE 6 Hello.java source code


package endpoint;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.Action;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2-hudson-735-
 * Generated source version: 2.2
 * 
 */
@WebService(name = "Hello", targetNamespace = "http://endpoint/")
@XmlSeeAlso({
    ObjectFactory.class
})
public interface Hello {


    /**
     * 
     * @param arg0
     * @return
     *     returns java.lang.String
     */
    @WebMethod
    @WebResult(targetNamespace = "")
    @RequestWrapper(localName = "getHello", targetNamespace = "http://endpoint/", className = "endpoint.GetHello")
    @ResponseWrapper(localName = "getHelloResponse", targetNamespace = "http://endpoint/", className = "endpoint.GetHelloResponse")
    @Action(input = "http://endpoint/Hello/getHelloRequest", output = "http://endpoint/Hello/getHelloResponse")
    public String getHello(
        @WebParam(name = "arg0", targetNamespace = "")
        String arg0);

}

Other Java EE 6 examples (source code examples)

Here is a short list of links related to this Java EE 6 Hello.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.