1 10 11 package org.mule.providers.soap.axis.wsdl; 12 13 import org.mule.providers.soap.axis.AxisConnector; 14 15 import java.util.ArrayList ; 16 import java.util.Iterator ; 17 import java.util.List ; 18 19 25 public class AxisWsdlConnector extends AxisConnector 26 { 27 28 protected void registerProtocols() 29 { 30 33 List schemes = new ArrayList (); 34 schemes.add("http"); 35 schemes.add("https"); 36 setSupportedSchemes(schemes); 37 38 for (Iterator iterator = schemes.iterator(); iterator.hasNext();) 39 { 40 String s = (String )iterator.next(); 41 registerSupportedProtocol(s); 42 } 43 registerSupportedProtocolWithotPrefix("wsdl:http"); 46 registerSupportedProtocolWithotPrefix("wsdl:https"); 47 } 48 49 public String getProtocol() 50 { 51 return "wsdl-axis"; 52 } 53 } 54 | Popular Tags |