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

Axis 2 example source code file (RPCLit.java)

This example Axis 2 source code file (RPCLit.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 - Axis 2 tags/keywords

biginteger, complexall, enum, long, math, string, string, webmethod, webmethod, webparam, webparam, webresult, xml, xmlgregoriancalendar, xmllist, xmllist

The Axis 2 RPCLit.java source code


/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.apache.axis2.jaxws.proxy.rpclit.sei;

import java.math.BigInteger;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.WebParam.Mode;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.xml.bind.annotation.XmlList;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
import javax.xml.ws.Holder;

import org.test.proxy.rpclit.ComplexAll;
import org.test.proxy.rpclit.Enum;

/**
 * This class was generated by the JAXWS SI.
 * JAX-WS RI 2.0_01-b15-fcs
 * Generated source version: 2.0
 * 
 */
@WebService(name = "RPCLit", targetNamespace = "http://org/apache/axis2/jaxws/proxy/rpclit")
@SOAPBinding(style = Style.RPC)
public interface RPCLit {


    /**
     * 
     * @param simpleIn
     * @return
     *     returns java.lang.String
     */
    @WebMethod
    @WebResult(name = "simpleOut", partName = "simpleOut")
    public String testSimple(
        @WebParam(name = "simpleIn", partName = "simpleIn")
        String simpleIn);
    
    /**
     * 
     * @param simpleInOut
     * @return
     *     returns java.lang.String
     * TESTS combination of out and return values
     */
    @WebMethod
    @WebResult(name = "simpleOut", partName = "simpleOut")
    public String testSimpleInOut(
        @WebParam(name = "simpleInOut", partName = "simpleInOut", mode=Mode.INOUT)
        Holder<String> simpleInOut);
    
    
    /**
     * 
     * @param simple2In1
     * @param simple2In2
     * @return
     *     returns java.lang.String
     */
    @WebMethod
    @WebResult(name = "simple2Out", partName = "simple2Out")
    public String testSimple2(
        @WebParam(name = "simple2In1", partName = "simpleIn1")
        String simple2In1, 
        @WebParam(name = "simple2In2", partName = "simple2In2")
        String simple2In2);

    /**
     * 
     * @param bodyParam
     * @param headerParam
     * @return
     *     returns java.lang.String
     */
    @WebMethod
    @WebResult(name = "headerReturn", header=true)
    public String testHeader(
        @WebParam(partName = "bodyParam")
        String bodyParam, 
        @WebParam(name = "headerParam", header=true)
        String headerParam);
    
    /**
     * 
     * @param arg70
     * @param arg00
     * @param arg10
     * @param arg20
     * @param arg30
     * @param arg40
     * @param arg50
     * @param arg60
     * @return
     *     returns javax.xml.namespace.QName[]
     */
    @XmlList
    @WebMethod
    @WebResult(name = "testListsReturn", partName = "testListsReturn")
    public QName[] testLists(
        @XmlList
        @WebParam(name = "arg_0_0", partName = "arg_0_0")
        QName[] arg00,
        @XmlList
        @WebParam(name = "arg_1_0", partName = "arg_1_0")
        XMLGregorianCalendar[] arg10,
        @XmlList
        @WebParam(name = "arg_2_0", partName = "arg_2_0")
        String[] arg20,
        @XmlList
        @WebParam(name = "arg_3_0", partName = "arg_3_0")
        BigInteger[] arg30,
        @XmlList
        @WebParam(name = "arg_4_0", partName = "arg_4_0")
        Long[] arg40,
        @XmlList
        @WebParam(name = "arg_5_0", partName = "arg_5_0")
        Enum[] arg50,
        @XmlList
        @WebParam(name = "arg_7_0", partName = "arg_7_0")
        String[] arg70,
        @WebParam(name = "arg_6_0", partName = "arg_6_0")
        ComplexAll arg60);

    /**
     * 
     * @param arg10
     * @return
     *     returns javax.xml.datatype.XMLGregorianCalendar[]
     */
    @XmlList
    @WebMethod
    @WebResult(name = "testCalendarList1Return", partName = "testCalendarList1Return")
    public XMLGregorianCalendar[] testCalendarList1(
        @XmlList
        @WebParam(name = "arg_1_0", partName = "arg_1_0")
        XMLGregorianCalendar[] arg10);

    /**
     * 
     * @param arg20
     * @return
     *     returns java.lang.String[]
     */
    @XmlList
    @WebMethod
    @WebResult(name = "testStringList2Return", partName = "testStringList2Return")
    public String[] testStringList2(
        @XmlList
        @WebParam(name = "arg_2_0", partName = "arg_2_0")
        String[] arg20);

    /**
     * 
     * @param arg30
     * @return
     *     returns java.math.BigInteger[]
     */
    @XmlList
    @WebMethod
    @WebResult(name = "testBigIntegerList3Return", partName = "testBigIntegerList3Return")
    public BigInteger[] testBigIntegerList3(
        @XmlList
        @WebParam(name = "arg_3_0", partName = "arg_3_0")
        BigInteger[] arg30);

    /**
     * 
     * @param arg40
     * @return
     *     returns java.lang.Long[]
     */
    @XmlList
    @WebMethod
    @WebResult(name = "testLongList4Return", partName = "testLongList4Return")
    public Long[] testLongList4(
        @XmlList
        @WebParam(name = "arg_4_0", partName = "arg_4_0")
        Long[] arg40);

    /**
     * 
     * @param arg50
     * @return
     *     returns org.apache.axis2.jaxws.proxy.rpclit.Enum[]
     */
    @XmlList
    @WebMethod
    @WebResult(name = "testEnumList5Return", partName = "testEnumList5Return")
    public Enum[] testEnumList5(
        @XmlList
        @WebParam(name = "arg_5_0", partName = "arg_5_0")
        Enum[] arg50);

    /**
     * 
     * @param arg60
     * @return
     *     returns org.apache.axis2.jaxws.proxy.rpclit.ComplexAll
     */
    @WebMethod
    @WebResult(name = "testComplexAll6Return", partName = "testComplexAll6Return")
    public ComplexAll testComplexAll6(
        @WebParam(name = "arg_6_0", partName = "arg_6_0")
        ComplexAll arg60);
    
    /**
     * 
     * @param arg70
     * @return
     *     returns java.lang.String[]
     */
    @XmlList
    @WebMethod
    @WebResult(name = "testEnumList7Return", partName = "testEnumList7Return")
    public String[] testEnumList7(
        @XmlList
        @WebParam(name = "arg_7_0", partName = "arg_7_0")
        String[] arg70);

    /**
     * Tests Fault
     */
    @WebMethod(operationName="testFault", action="testFault")
    public void testFault() throws RPCFault;

}

Other Axis 2 examples (source code examples)

Here is a short list of links related to this Axis 2 RPCLit.java 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.