001 /*
002 * Copyright 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
017 /*
018 *
019 */
020
021 package org.kuali.kfs.module.external.kc.webService;
022
023 import java.net.MalformedURLException;
024 import java.net.URL;
025
026 import javax.xml.namespace.QName;
027 import javax.xml.ws.WebEndpoint;
028 import javax.xml.ws.WebServiceClient;
029 import javax.xml.ws.WebServiceFeature;
030
031 import org.kuali.kfs.module.external.kc.KcConstants;
032 import org.kuali.kfs.module.external.kc.service.KfsService;
033
034 /**
035 * This class was generated by Apache CXF 2.2.10
036 * Thu Sep 30 15:50:58 HST 2010
037 * Generated source version: 2.2.10
038 *
039 */
040
041
042 @WebServiceClient(name = KcConstants.Unit.SOAP_SERVICE_NAME,
043 wsdlLocation = "http://test.kc.kuali.org/kc-trunk/remoting/institutionalUnitSoapService?wsdl",
044 targetNamespace = KcConstants.KC_NAMESPACE_URI)
045 public class InstitutionalUnitSoapService extends KfsService {
046
047 public final static QName InstitutionalUnitServicePort = new QName(KcConstants.KC_NAMESPACE_URI, KcConstants.Unit.SERVICE_PORT);
048 static {
049 try {
050 getWsdl(KcConstants.Unit.SERVICE);
051 } catch (MalformedURLException e) {
052 LOG.warn("Can not initialize the wsdl");
053 }
054 }
055
056 public InstitutionalUnitSoapService() throws MalformedURLException {
057 super(getWsdl(KcConstants.Unit.SERVICE), KcConstants.Unit.SERVICE);
058 }
059
060
061 /**
062 *
063 * @return
064 * returns InstitutionalUnitService
065 */
066 @WebEndpoint(name = KcConstants.Unit.SERVICE_PORT)
067 public InstitutionalUnitService getInstitutionalUnitServicePort() {
068 return super.getPort(InstitutionalUnitServicePort, InstitutionalUnitService.class);
069 }
070
071 /**
072 *
073 * @param features
074 * 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.
075 * @return
076 * returns InstitutionalUnitService
077 */
078 @WebEndpoint(name = KcConstants.Unit.SERVICE_PORT)
079 public InstitutionalUnitService getInstitutionalUnitServicePort(WebServiceFeature... features) {
080 return super.getPort(InstitutionalUnitServicePort, InstitutionalUnitService.class, features);
081 }
082
083 public URL getWsdl() throws MalformedURLException {
084 return super.getWsdl(KcConstants.Unit.SERVICE);
085 }
086
087 }