Fix DBCFX_SM_673 - completata

This commit is contained in:
vincenzofariello
2024-05-16 09:32:38 +02:00
parent 3f10125aee
commit 315a207283
5 changed files with 286 additions and 256 deletions

View File

@@ -43,8 +43,8 @@ public class WirelinePortOutOrderMgmtClient implements Loggable {
protected String versione = "1.0.0.0";
public WirelinePortOutOrderMgmtClient() throws Exception {
String prefix = "WirelinePortOutOrderMgmtClient";
String errorMsg = prefix + "- errore nel costruttore - ";
String prefix = "WirelinePortOutOrderMgmtClient";
String errorMsg = prefix + "- errore nel costruttore - ";
try {
LogProcess logProcess = new LogProcess();
logProcess.setCodice(codiceProcesso);
@@ -52,7 +52,7 @@ public class WirelinePortOutOrderMgmtClient implements Loggable {
log = new ProcessLogger(logProcess);
} catch (Exception ex) {
ex.printStackTrace();
errorMsg += "errore nella creazione del ProcessLogger: " + ex.toString();
errorMsg += "errore nella creazione del ProcessLogger: " + ex.toString();
System.out.println(errorMsg);
throw new CreateException();
}
@@ -61,7 +61,7 @@ public class WirelinePortOutOrderMgmtClient implements Loggable {
url = Resources.getURL_WS_WIRELINE_PORTOUT_ORDER_MGMT();
if ("".equals(url)) {
errorMsg += "url del ws nulla da property [URL_WS_WIRELINE_PORTOUT_ORDER_MGMT]";
errorMsg += "url del ws nulla da property [URL_WS_WIRELINE_PORTOUT_ORDER_MGMT]";
log.write("0003", errorMsg);
throw new Exception(errorMsg);
}
@@ -132,8 +132,9 @@ public class WirelinePortOutOrderMgmtClient implements Loggable {
try {
WirelineCeaseCheck82_Impl service = new WirelineCeaseCheck82_Impl();
WirelineCeaseCheck82PortType endPoint = service.getWirelineCeaseCheck82PortTypeHttps();
String timeOutStr = (String) Resources.getTIMEOUT_WIRELINE_CEASE_CHECK82();
((WirelineCeaseCheck82PortType_Stub) endPoint)._setProperty("javax.xml.rpc.service.endpoint.address", Resources.getURL_WIRELINE_CEASE_CHECK82());
((WirelineCeaseCheck82PortType_Stub) endPoint)._setProperty("weblogic.wsee.transport.connection.timeout", Resources.getTIMEOUT_WIRELINE_CEASE_CHECK82());
((WirelineCeaseCheck82PortType_Stub) endPoint)._setProperty("weblogic.wsee.transport.connection.timeout", Integer.parseInt(timeOutStr));
HeaderTypeHolder header = new HeaderTypeHolder();
HeaderType headerType = new HeaderType();