public Axis2BlockingClient(String clientRepository, String axis2xml) { try { configurationContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem( clientRepository != null ? clientRepository : DEFAULT_CLIENT_REPO, axis2xml != null ? axis2xml : DEFAULT_AXIS2_XML); configurationContextCreated = true; } catch (AxisFault e) { handleException("Error initializing Axis2 Blocking Client", e); } }
handleException("Endpoint type not supported. Only leaf endpoints are supported"); endpointReferenceValue = axisInMsgCtx.getTo().getAddress(); } else { handleException("Service url, Endpoint or 'To' header is required"); handleException("Error sending Message to url : " + ((AbstractEndpoint) endpoint).getDefinition().getAddress());