/*
 * Copyright (c) 2007, 2009, Oracle and its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id: HelloImpl.java 62602 2011-04-21 14:51:41Z kgrucci $
 */

package com.sun.ts.tests.jaxws.ee.w2j.document.literal.asynctest.server;

import com.sun.ts.lib.util.*;
import com.sun.ts.lib.porting.*;

import javax.xml.ws.WebServiceException;

import javax.jws.WebService;

@WebService(
    portName="HelloPort",
    serviceName="HelloService",
    targetNamespace="http://helloservice.org/wsdl",
    wsdlLocation="WEB-INF/wsdl/WSW2JDLAsyncTestService.wsdl",
    endpointInterface="com.sun.ts.tests.jaxws.ee.w2j.document.literal.asynctest.server.Hello"
)

public class HelloImpl implements Hello {

    public HelloResponse hello(HelloRequest request)  
    {
	HelloResponse response = null;
        System.out.println("Hello, " + request.getString() + "!");
        response = new HelloResponse();
        response.setResult("Hello, " + request.getString() + "!");
        return response;
    }
}
