* update sublight-ws to 1.4.0

This commit is contained in:
Reinhard Pointner 2009-07-12 10:02:12 +00:00
parent b8fceccb14
commit 02fc6180ab
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -227,7 +227,7 @@ public class SublightSubtitleClient implements SubtitleProvider {
// abort if something went wrong // abort if something went wrong
checkError(error); checkError(error);
webservice.downloadByID3(session, subtitle.getSubtitleID(), -1, false, ticket.value, null, data, error); webservice.downloadByID4(session, subtitle.getSubtitleID(), -1, false, ticket.value, null, data, null, error);
// abort if something went wrong // abort if something went wrong
checkError(error); checkError(error);
@ -245,12 +245,12 @@ public class SublightSubtitleClient implements SubtitleProvider {
protected synchronized void login() throws WebServiceException { protected synchronized void login() throws WebServiceException {
if (webservice == null) { if (webservice == null) {
// lazy initialize because all the jax-ws class loading will take longer than a few milliseconds // lazy initialize because all the JAX-WS class loading can take quite some time
webservice = new SubtitlesAPI2().getSubtitlesAPI2Soap(); webservice = new SubtitlesAPI2().getSubtitlesAPI2Soap();
} }
if (session == null) { if (session == null) {
// args contain only iid // args contains only iid
ArrayOfString args = new ArrayOfString(); ArrayOfString args = new ArrayOfString();
args.getString().add(iid); args.getString().add(iid);