Coverage Report - org.mule.transport.soap.axis.wsdl.AxisWsdlConnector
 
Classes in this File Line Coverage Branch Coverage Complexity
AxisWsdlConnector
0%
0/13
0%
0/2
1.5
 
 1  
 /*
 2  
  * $Id: AxisWsdlConnector.java 10489 2008-01-23 17:53:38Z dfeist $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.transport.soap.axis.wsdl;
 12  
 
 13  
 import org.mule.transport.soap.axis.AxisConnector;
 14  
 
 15  
 import java.util.ArrayList;
 16  
 import java.util.Iterator;
 17  
 import java.util.List;
 18  
 
 19  
 /**
 20  
  * TODO document
 21  
  */
 22  0
 public class AxisWsdlConnector extends AxisConnector
 23  
 {
 24  
 
 25  
     protected void registerProtocols()
 26  
     {
 27  
         // Default supported schemes, these can be restricted
 28  
         // through configuration
 29  
 
 30  0
         List schemes = new ArrayList();
 31  0
         schemes.add("http");
 32  0
         schemes.add("https");
 33  0
         setSupportedSchemes(schemes);
 34  
 
 35  0
         for (Iterator iterator = schemes.iterator(); iterator.hasNext();)
 36  
         {
 37  0
             String s = (String)iterator.next();
 38  0
             registerSupportedProtocol(s);
 39  0
         }
 40  
         // This allows the generic WSDL provider to created endpoints using this
 41  
         // connector
 42  0
         registerSupportedProtocolWithoutPrefix("wsdl:http");
 43  0
         registerSupportedProtocolWithoutPrefix("wsdl:https");
 44  0
     }
 45  
 
 46  
     public String getProtocol()
 47  
     {
 48  0
         return "wsdl-axis";
 49  
     }
 50  
 }