/*
 * @author Ranides Atterwim <ranides@gmail.com>
 * @copyright Ranides Atterwim
 * @license WTFPL
 * @url http://ranides.net/projects/assira
 */
package net.ranides.assira.reflection.mock;

import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

/**
 *
 * @author Ranides Atterwim <ranides@gmail.com>
 */
@SuppressWarnings({"all", "PMD"})
public class ForWSInspector {
    
    @WebService(
        name = "name1", 
        serviceName = "service1", 
        targetNamespace = "ns1",
        portName = "999", 
        wsdlLocation = "/info.wsdl"
    )
    public static class Service1 {
        
        @WebMethod(action = "hello", operationName = "opHello")
        public int runHello(
            String iuser,
            List<Number> inumbers
        ) {
            return 77;
        }
        
        @WebMethod(action = "time", operationName = "opTime")
        @WebResult(name = "ret")
        public int runTime(
            @WebParam(name = "user") String iuser,
            @WebParam(name = "numbers") List<Number> inumbers
        ) {
            return 66;
        }
        
        
        @WebMethod(exclude = true)
        public int runHidden() {
            return 0;
        }
        
    }
    
}
