This commit is contained in:
Jered Ye 2024-03-26 22:39:09 +08:00
parent dd259c48bf
commit 9cc5d58731
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -26,3 +26,4 @@ client/nbproject/private/private.properties
*.exe *.exe
*.class *.class
*.jar *.jar
*.class

View File

@ -17,7 +17,7 @@ import javax.xml.ws.WebServiceFeature;
* Generated source version: 2.2 * Generated source version: 2.2
* *
*/ */
@WebServiceClient(name = "OJWS", targetNamespace = "http://ws.dhu.edu/", wsdlLocation = "http://106.15.36.190:80/oj/webservice/OJWS?wsdl") @WebServiceClient(name = "OJWS", targetNamespace = "http://ws.dhu.edu/", wsdlLocation = "https://219.228.76.122:443/oj/webservice/OJWS?wsdl")
public class OJWS_Service public class OJWS_Service
extends Service extends Service
{ {
@ -30,7 +30,7 @@ public class OJWS_Service
URL url = null; URL url = null;
WebServiceException e = null; WebServiceException e = null;
try { try {
url = new URL("http://106.15.36.190:80/oj/webservice/OJWS?wsdl"); url = new URL("https://219.228.76.122:443/oj/webservice/OJWS?wsdl");
} catch (MalformedURLException ex) { } catch (MalformedURLException ex) {
e = new WebServiceException(ex); e = new WebServiceException(ex);
} }

View File

@ -17,7 +17,7 @@ import javax.xml.ws.WebServiceFeature;
* Generated source version: 2.2 * Generated source version: 2.2
* *
*/ */
@WebServiceClient(name = "OJWS", targetNamespace = "http://ws.dhu.edu/", wsdlLocation = "http://106.15.36.190:80/oj/webservice/OJWS?wsdl") @WebServiceClient(name = "OJWS", targetNamespace = "http://ws.dhu.edu/", wsdlLocation = "https://219.228.76.122:443/oj/webservice/OJWS?wsdl")
public class OJWS_Service public class OJWS_Service
extends Service extends Service
{ {
@ -30,7 +30,7 @@ public class OJWS_Service
URL url = null; URL url = null;
WebServiceException e = null; WebServiceException e = null;
try { try {
url = new URL("http://106.15.36.190:80/oj/webservice/OJWS?wsdl"); url = new URL("https://219.228.76.122:443/oj/webservice/OJWS?wsdl");
} catch (MalformedURLException ex) { } catch (MalformedURLException ex) {
e = new WebServiceException(ex); e = new WebServiceException(ex);
} }