* @return <code>true</code> if the configuration completed successfully; <code>false</code> if
* the call could not be configured correctly.
*/
public boolean configureWebservice(org.apache.axis.client.Service service, String serviceName,
StringBuilder webServiceUri, ServerCallback serverCallback) {
final ServerCallback cb = serverCallback;
CallbackResult loginCallback = new CallbackResultAdapter() {
@Override
public void cancelled(Object o) {
cb.cancelled();
}
@Override
public void failed(Object o) {
cb.cancelled();
}
};
// This method will block until the login has completed (in case a login was necessary):
if (!configCallback.assureThatWeHaveLoggedIn(loginCallback)) {
return false;