public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault { return getEPRsForService(serviceName, ip)[0]; }
@Override public void init(ConfigurationContext configurationContext, TransportInDescription transportInDescription) throws AxisFault { this.transportInDescription = transportInDescription; // this will take care of verifying everything is ok super.init(configurationContext, transportInDescription); }
" found. An instance for HTTP will be configured automatically. " + "Please update your axis2.xml file!"); httpListener = new AxisServletListener(); TransportInDescription transportInDescription = new TransportInDescription( Constants.TRANSPORT_HTTP); axisConfiguration.addTransportIn(transportInDescription); } else if (httpListener != null && httpsListener != null && httpListener.getPort() == -1 && httpsListener.getPort() == -1) { log.warn("If more than one transportReceiver for " + AxisServletListener.class.getName() + " exists, then all instances " +
" found. An instance for HTTP will be configured automatically. " + "Please update your axis2.xml file!"); httpListener = new AxisServletListener(); TransportInDescription transportInDescription = new TransportInDescription( Constants.TRANSPORT_HTTP); axisConfiguration.addTransportIn(transportInDescription); } else if (httpListener != null && httpsListener != null && httpListener.getPort() == -1 && httpsListener.getPort() == -1) { log.warn("If more than one transportReceiver for " + AxisServletListener.class.getName() + " exists, then all instances " +
public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault { return getEPRsForService(serviceName, ip)[0]; }