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

Apache CXF example source code file (expected_sayHi)

This example Apache CXF source code file (expected_sayHi) 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 - Apache CXF tags/keywords

requestwrapper, responsewrapper, sayhi, sayhi, webmethod, webmethod, webparam, webparam, webresult, webresult, webservice, xml, xmlseealso

The Apache CXF expected_sayHi source code


package org.apache.sayhi;

import javax.jws.WebParam.Mode;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding;
import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * 
 */

@WebService(targetNamespace = "http://apache.org/sayHi", name = "SayHi")
@XmlSeeAlso({ObjectFactory.class})

public interface SayHi {

    @ResponseWrapper(targetNamespace = "http://apache.org/sayHi", className = "org.apache.sayhi.SayHiResponse", localName = "sayHiResponse")
    @RequestWrapper(targetNamespace = "http://apache.org/sayHi", className = "org.apache.sayhi.SayHi_Type", localName = "sayHi")
    @WebResult(targetNamespace = "http://apache.org/sayHi", name = "return")
    @WebMethod
    public java.lang.String sayHi(
        @WebParam(targetNamespace = "http://apache.org/sayHi", name = "arg0")
        java.lang.String arg0
    );

    @ResponseWrapper(targetNamespace = "http://apache.org/sayHi", className = "org.apache.sayhi.SayHiArrayResponse", localName = "sayHiArrayResponse")
    @RequestWrapper(targetNamespace = "http://apache.org/sayHi", className = "org.apache.sayhi.SayHiArray", localName = "sayHiArray")
    @WebResult(targetNamespace = "", name = "return")
    @WebMethod
    public java.util.List<java.lang.String> sayHiArray(
        @WebParam(targetNamespace = "", name = "arg0")
        java.util.List<java.lang.String> arg0
    );
}

Other Apache CXF examples (source code examples)

Here is a short list of links related to this Apache CXF expected_sayHi source code file:

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

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 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.