Search in sources :

Example 1 with ServiceDispatcher_ServiceProxy

use of nl.nn.adapterframework.receivers.ServiceDispatcher_ServiceProxy in project iaf by ibissource.

the class IbisWebServiceSender method configure.

public void configure() throws ConfigurationException {
    if (ibisInstance == null) {
        ibisInstance = AppConstants.getInstance().getResolvedProperty("instance.name");
    }
    try {
        proxy = new ServiceDispatcher_ServiceProxy();
        proxy.setEndPoint(new URL(getEndPoint()));
    } catch (MalformedURLException e) {
        throw new ConfigurationException("IbisWebServiceSender cannot find URL from [" + getEndPoint() + "]", e);
    }
}
Also used : MalformedURLException(java.net.MalformedURLException) ConfigurationException(nl.nn.adapterframework.configuration.ConfigurationException) ServiceDispatcher_ServiceProxy(nl.nn.adapterframework.receivers.ServiceDispatcher_ServiceProxy) URL(java.net.URL)

Aggregations

MalformedURLException (java.net.MalformedURLException)1 URL (java.net.URL)1 ConfigurationException (nl.nn.adapterframework.configuration.ConfigurationException)1 ServiceDispatcher_ServiceProxy (nl.nn.adapterframework.receivers.ServiceDispatcher_ServiceProxy)1