001/* 002 * The Kuali Financial System, a comprehensive financial management system for higher education. 003 * 004 * Copyright 2005-2014 The Kuali Foundation 005 * 006 * This program is free software: you can redistribute it and/or modify 007 * it under the terms of the GNU Affero General Public License as 008 * published by the Free Software Foundation, either version 3 of the 009 * License, or (at your option) any later version. 010 * 011 * This program is distributed in the hope that it will be useful, 012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 014 * GNU Affero General Public License for more details. 015 * 016 * You should have received a copy of the GNU Affero General Public License 017 * along with this program. If not, see <http://www.gnu.org/licenses/>. 018 */ 019package org.kuali.kfs.module.external.kc.webService; 020 021import java.net.MalformedURLException; 022import java.net.URL; 023 024import javax.xml.namespace.QName; 025import javax.xml.ws.WebEndpoint; 026import javax.xml.ws.WebServiceClient; 027import javax.xml.ws.WebServiceFeature; 028 029import org.kuali.kfs.module.external.kc.KcConstants; 030import org.kuali.kra.external.award.AwardWebService; 031 032/** 033 * This class was generated by Apache CXF 2.2.10 034 * Thu Sep 30 15:50:58 HST 2010 035 * Generated source version: 2.2.10 036 * 037 */ 038 039 040@WebServiceClient(name = KcConstants.Award.SOAP_SERVICE_NAME, 041 wsdlLocation = "http://test.kc.kuali.org/kc-trunk/remoting/awardWebSoapService?wsdl", 042 targetNamespace = KcConstants.KC_NAMESPACE_URI) 043public class AwardWebSoapService extends KfsKcSoapService { 044 045 public final static QName AwardWebServicePort = new QName(KcConstants.KC_NAMESPACE_URI, KcConstants.Award.SERVICE_PORT); 046 static { 047 try { 048 getWsdl(KcConstants.Award.SERVICE); 049 } catch (MalformedURLException e) { 050 LOG.warn("Can not initialize the wsdl"); 051 } 052 } 053 054 public AwardWebSoapService() throws MalformedURLException { 055 super(getWsdl(KcConstants.Award.SERVICE), KcConstants.Award.SERVICE); 056 } 057 058 059 /** 060 * 061 * @return 062 * returns InstitutionalUnitService 063 */ 064 @WebEndpoint(name = KcConstants.Award.SERVICE_PORT) 065 public AwardWebService getAwardWebServicePort() { 066 return super.getPort(AwardWebServicePort, AwardWebService.class); 067 } 068 069 /** 070 * 071 * @param features 072 * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. 073 * @return 074 * returns InstitutionalUnitService 075 */ 076 @WebEndpoint(name = KcConstants.Award.SERVICE_PORT) 077 public AwardWebService getAwardWebServicePort(WebServiceFeature... features) { 078 return super.getPort(AwardWebServicePort, AwardWebService.class, features); 079 } 080 081 @Override 082 public URL getWsdl() throws MalformedURLException { 083 return super.getWsdl(KcConstants.Award.SERVICE); 084 } 085 086}