Hub Server Proxy

Hub Server Proxy

  
Hi, I am working with HubServer for Java and the server is connected to a Proxy, and when I try to publish a OML that uses a external Web Service I got this Error :

Web Reference Integrity
Unable to access url 'http://services.sapo.pt/Metadata/Contract/Holiday' to verify if 'Holiday' web reference is up-to-date.
Exception Details:
[1] Web Reference Integrity: Unable to access url 'http://services.sapo.pt/Metadata/Contract/Holiday' to verify if 'Holiday' web reference is up-to-date.
at outsystems.hubedition.compiler.WebReference.checkWSDLChanges(Unknown Source)
at outsystems.hubedition.compiler.WebReference.<init>(Unknown Source)
at outsystems.hubedition.compiler.Espace.<init>(Unknown Source)
at outsystems.hubedition.compiler.Compiler.mainExec(Unknown Source)
at outsystems.hubedition.compiler.Compiler.main(Unknown Source)
[2] The host did not accept the connection within timeout of 5000 ms
at outsystems.hubedition.http.OsHttpClient.executeMethod(Unknown Source)
at outsystems.hubedition.http.OsHttpClient.executeMethod(Unknown Source)
at outsystems.hubedition.http.HttpUtility.getResponse(Unknown Source)
at outsystems.hubedition.http.HttpUtility.getResponse(Unknown Source)
at outsystems.hubedition.compiler.WebReference.checkWSDLChanges(Unknown Source)
at outsystems.hubedition.compiler.WebReference.<init>(Unknown Source)
at outsystems.hubedition.compiler.Espace.<init>(Unknown Source)
at outsystems.hubedition.compiler.Compiler.mainExec(Unknown Source)
at outsystems.hubedition.compiler.Compiler.main(Unknown Source)
Hello Joaquim

This error simply means that the Deployment Controller process was unable to connect to the mentioned web service, which is expected because likely the Deployment Controller is not configured to use the proxy access.

However, this does not affect the publishing process and you should not get any problems in runtime if your proxy is correctly configured for use by JBoss.

Cheers,
Hi can not publish the OML this is the error from Service Center :

Internal Error
Compilation Error.
wsdl2java:
[mkdir] Created dir: /opt/outsystems/platform/share/WebServicesACSS/full/bin/app
[java] log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
[java] log4j:WARN Please initialize the log4j system properly.
compile:
[javac] Compiling 67 source files to /opt/outsystems/platform/share/WebServicesACSS/full/bin/app
[javac]
[javac] Found 8 semantic errors compiling "/opt/outsystems/platform/share/WebServicesACSS/full/src/oswebservicesacss/actions/ExtendedActions.java":
[javac]
[javac] 1322. oswebservicesacss.webreferences.holiday.Holiday wooutParamGetCarnivalResult;
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 1326. wooutParamGetCarnivalResult =(oswebservicesacss.webreferences.holiday.Holiday) webReference.getCarnival((int) inParamyear);
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 1383. oswebservicesacss.webreferences.holiday.Holiday wooutParamGetGoodFridayResult;
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 1387. wooutParamGetGoodFridayResult =(oswebservicesacss.webreferences.holiday.Holiday) webReference.getGoodFriday((int) inParamyear);
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 1444. oswebservicesacss.webreferences.holiday.Holiday wooutParamGetEasterResult;
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 1448. wooutParamGetEasterResult =(oswebservicesacss.webreferences.holiday.Holiday) webReference.getEaster((int) inParamyesr);
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 1505. oswebservicesacss.webreferences.holiday.Holiday wooutParamGetCorpusChristiResult;
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 1509. wooutParamGetCorpusChristiResult =(oswebservicesacss.webreferences.holiday.Holiday) webReference.getCorpusChristi((int) inParamyear);
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac] Found 2 semantic errors compiling "/opt/outsystems/platform/share/WebServicesACSS/full/src/oswebservicesacss/recordlists/RLHolidayRecordList.java":
[javac]
[javac] 218. recordList.append(new RCHolidayRecord(webObject.getHoliday() [ iterator ]));
[javac] ^------------------------------------------------------^
[javac] *** Semantic Error: No applicable overload was found for a constructor with signature "RCHolidayRecord(oswebservicesacss.webreferences.holiday.Holiday_Type)" in type "oswebservicesacss.records.RCHolidayRecord". Perhaps you wanted the overloaded version "RCHolidayRecord(oswebservicesacss.structures.STHolidayStructure r) throws java.lang.Exception;" instead?
[javac]
[javac]
[javac] 234. webObject.setHoliday(new oswebservicesacss.webreferences.holiday.Holiday [ this.getReturnedRowCount() ]);
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac] Found 7 semantic errors compiling "/opt/outsystems/platform/share/WebServicesACSS/full/src/oswebservicesacss/records/RCHolidayRecord.java":
[javac]
[javac] 54. public RCHolidayRecord(oswebservicesacss.webreferences.holiday.Holiday webObject) throws Exception {
[javac] ^-----^
[javac] *** Semantic Error: Type "oswebservicesacss.webreferences.holiday.Holiday" was not found.
[javac]
[javac]
[javac] 56. ssSTHoliday.ssDate =(DateTime) new DateTime(webObject.getDate());
[javac] ^---------------------------^
[javac] *** Semantic Error: Ambiguous invocation of constructor "DateTime". At least two constructors are accessible from here: "DateTime(java.util.Date $1);" and "DateTime(long $1);".
[javac]
[javac]
[javac] 60. ssSTHoliday.ssMunicipality = new RCMunicipalityRecord(webObject.getMunicipality());
[javac] ^-----------------------------------------------^
[javac] *** Semantic Error: Ambiguous invocation of constructor "RCMunicipalityRecord". At least two constructors are accessible from here: "RCMunicipalityRecord(oswebservicesacss.structures.STMunicipalityStructure r) throws java.lang.Exception;" and "RCMunicipalityRecord(oswebservicesacss.webreferences.holiday.Municipality webObject) throws java.lang.Exception;".
[javac]
[javac]
[javac] 71. public oswebservicesacss.webreferences.holiday.Holiday getWebObject() throws Exception {
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 72. oswebservicesacss.webreferences.holiday.Holiday webObject = new oswebservicesacss.webreferences.holiday.Holiday();
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 72. oswebservicesacss.webreferences.holiday.Holiday webObject = new oswebservicesacss.webreferences.holiday.Holiday();
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 76. webObject.setType(HolidayType.fromValue(oswebservicesacss.webreferences.holiday.HolidayType));
[javac] ^---------^
[javac] *** Semantic Error: No accessible field named "HolidayType" was found in type "oswebservicesacss.records.RCHolidayRecord".
[javac]
[javac] Found 6 semantic errors compiling "/opt/outsystems/platform/share/WebServicesACSS/full/src/oswebservicesacss/structures/STHolidayStructure.java":
[javac]
[javac] 147. public STHolidayStructure( oswebservicesacss.webreferences.holiday.Holiday webObject) throws Exception {
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 149. ssDate = (DateTime) new DateTime (webObject.getDate());
[javac] ^----------------------------^
[javac] *** Semantic Error: Ambiguous invocation of constructor "DateTime". At least two constructors are accessible from here: "DateTime(java.util.Date $1);" and "DateTime(long $1);".
[javac]
[javac]
[javac] 153. ssMunicipality = new RCMunicipalityRecord(webObject.getMunicipality());
[javac] ^-----------------------------------------------^
[javac] *** Semantic Error: Ambiguous invocation of constructor "RCMunicipalityRecord". At least two constructors are accessible from here: "RCMunicipalityRecord(oswebservicesacss.structures.STMunicipalityStructure r) throws java.lang.Exception;" and "RCMunicipalityRecord(oswebservicesacss.webreferences.holiday.Municipality webObject) throws java.lang.Exception;".
[javac]
[javac]
[javac] 163. public oswebservicesacss.webreferences.holiday.Holiday getToWeb() throws Exception {
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 164. oswebservicesacss.webreferences.holiday.Holiday webObject = new oswebservicesacss.webreferences.holiday.Holiday();
[javac] ^---------------------------------------------^
[javac] *** Semantic Error: Type "Holiday" was not found.
[javac]
[javac]
[javac] 164. oswebservicesacss.webreferences.holiday.Holiday webObject = new oswebservicesacss.webreferences.holiday.Holiday();
[javac]