wsdlUrl = new URL(wsdlAddress);
} catch (Exception e) {
throw new IllegalArgumentException("Invalid SugarCRM base URL: " + e.getMessage(), e);
}
final Sugarsoap soap = new Sugarsoap(wsdlUrl, new QName("http://www.sugarcrm.com/sugarcrm", "sugarsoap"));
_service = soap.getSugarsoapPort();
assert _service instanceof BindingProvider;
final BindingProvider bindingProvider = (BindingProvider) _service;
bindingProvider.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointAddress);