001 /**
002 * Copyright 2005-2011 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.kuali.rice.ksb.messaging.remotedservices;
017
018 import org.kuali.rice.core.api.util.jaxb.MapStringStringAdapter;
019 import org.kuali.rice.core.api.util.jaxb.MultiValuedStringMapAdapter;
020
021 import javax.jws.WebMethod;
022 import javax.jws.WebParam;
023 import javax.jws.WebResult;
024 import javax.jws.WebService;
025 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
026 import javax.xml.ws.RequestWrapper;
027 import javax.xml.ws.ResponseWrapper;
028 import java.util.List;
029 import java.util.Map;
030
031 /**
032 * This is a jaxws annotated web service, used for testing web services on the ksb.
033 *
034 * @author Kuali Rice Team (rice.collab@kuali.org)
035 *
036 */
037 @WebService(targetNamespace = "http://rice.kuali.org/", name = "JaxWsEchoService")
038 public interface JaxWsEchoService {
039
040 @WebResult(name = "outMsg")
041 @RequestWrapper(localName = "Echo")
042 @ResponseWrapper(localName = "EchoResponse")
043 @WebMethod
044 public String doEcho(
045 @WebParam(name = "inMsg") String inMsg
046 );
047
048 @WebResult(name = "headers")
049 @RequestWrapper(localName = "EchoHeaders")
050 @ResponseWrapper(localName = "EchoHeaderResponse")
051 @WebMethod
052 public void captureHeaders();
053 }