CAS Unit Tests
Clover coverage report - CAS Unit Tests
Coverage timestamp: Mon Jul 4 2005 18:13:17 CDT
file stats: LOC: 34   Methods: 1
NCLOC: 24   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
CommunityAuthorizationServiceAddressingLocator.java 0% 0% 0% 0%
coverage
 1    /**
 2    * CommunityAuthorizationServiceAddressingLocator.java
 3    *
 4    * This file was auto-generated from WSDL
 5    * by the Apache Axis 1.2RC2 Jun 16, 2005 (10:54:53 EDT) WSDL2Java emitter.
 6    */
 7   
 8    package org.globus.cas;
 9   
 10    public class CommunityAuthorizationServiceAddressingLocator extends org.globus.cas.CommunityAuthorizationServiceLocator implements org.globus.cas.CommunityAuthorizationServiceAddressing {
 11  0 public org.globus.cas.CASPortType getCASPortTypePort(org.apache.axis.message.addressing.EndpointReferenceType reference) throws javax.xml.rpc.ServiceException {
 12  0 org.apache.axis.message.addressing.AttributedURI address = reference.getAddress();
 13  0 if (address == null) {
 14  0 throw new javax.xml.rpc.ServiceException("No address in EndpointReference");
 15    }
 16  0 java.net.URL endpoint;
 17  0 try {
 18  0 endpoint = new java.net.URL(address.toString());
 19    } catch (java.net.MalformedURLException e) {
 20  0 throw new javax.xml.rpc.ServiceException(e);
 21    }
 22  0 org.globus.cas.CASPortType _stub = getCASPortTypePort(endpoint);
 23  0 if (_stub != null) {
 24  0 org.apache.axis.message.addressing.AddressingHeaders headers =
 25    new org.apache.axis.message.addressing.AddressingHeaders();
 26  0 headers.setTo(address);
 27  0 headers.setReferenceProperties(reference.getProperties());
 28  0 ((javax.xml.rpc.Stub)_stub)._setProperty(org.apache.axis.message.addressing.Constants.ENV_ADDRESSING_SHARED_HEADERS, headers);
 29    }
 30  0 return _stub;
 31    }
 32   
 33   
 34    }