Hi there,
I'm trying to consume a service SOAP, but when i build the project, this error appears. I just tried everything, like consume this service with Java, orencapsulate this service in another service, but the error persists.
------------------------------------------------------------------------------------------------------------------------------------------
Internal ErrorCompilation Error.customclients:compile: [javac] Compiling 1558 source files to /opt/outsystems/platform/share/SKYiCare/full/bin/app [javac] ---------- [javac] 1. ERROR in /opt/outsystems/platform/share/SKYiCare/full/src/osskyicare/records/RCResourceTypeRecord.java (at line 252) [javac] webObject.setResourceContent(ClassUtils.safeEquals(ssSTResourceType.ssResourceContent, "") ? null : ssSTResourceType.ssResourceContent); [javac] ^^^^^^^^^^^^^^^^^^ [javac] The method setResourceContent(OSCTResourceContentType39101) in the type OSCTResourceType39101 is not applicable for the arguments ((ClassUtils.safeEquals(ssSTResourceType.ssResourceContent, "") ? null : ssSTResourceType.ssResourceContent)) [javac] ---------- [javac] 2. ERROR in /opt/outsystems/platform/share/SKYiCare/full/src/osskyicare/records/RCResourceTypeRecord.java (at line 252) [javac] webObject.setResourceContent(ClassUtils.safeEquals(ssSTResourceType.ssResourceContent, "") ? null : ssSTResourceType.ssResourceContent); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] Type mismatch: cannot convert from String to OSCTResourceContentType39101 [javac] ---------- [javac] ---------- [javac] 3. ERROR in /opt/outsystems/platform/share/SKYiCare/full/src/osskyicare/structures/STResourceTypeStructure.java (at line 199) [javac] webObject.setResourceContent(ClassUtils.safeEquals(ssResourceContent, "") ? null : ssResourceContent); [javac] ^^^^^^^^^^^^^^^^^^ [javac] The method setResourceContent(OSCTResourceContentType39101) in the type OSCTResourceType39101 is not applicable for the arguments ((ClassUtils.safeEquals(ssResourceContent, "") ? null : ssResourceContent)) [javac] ---------- [javac] 4. ERROR in /opt/outsystems/platform/share/SKYiCare/full/src/osskyicare/structures/STResourceTypeStructure.java (at line 199) [javac] webObject.setResourceContent(ClassUtils.safeEquals(ssResourceContent, "") ? null : ssResourceContent); [javac] ^^^^^^^^^^^^^^^^^ [javac] Type mismatch: cannot convert from String to OSCTResourceContentType39101 [javac] ---------- [javac] ---------- [javac] 5. ERROR in /opt/outsystems/platform/share/SKYiCare/full/src/osskyicare/webservices/WORCResourceTypeRecord.java (at line 45) [javac] varWSResourceContent = r.ssResourceContent; [javac] ^^^^^^^^^^^^^^^^^^^ [javac] Type mismatch: cannot convert from String to OSCTResourceContentType39101 [javac] ---------- [javac] ---------- [javac] 6. ERROR in /opt/outsystems/platform/share/SKYiCare/full/src/osskyicare/webservices/rpc/WORCResourceTypeRecord.java (at line 45) [javac] varWSResourceContent = r.ssResourceContent; [javac] ^^^^^^^^^^^^^^^^^^^ [javac] Type mismatch: cannot convert from String to OSCTResourceContentType39101 [javac] ---------- [javac] 6 problems (6 errors)/opt/outsystems/platform/share/SKYiCare/full/build.xml:90: Compile failed; see the compiler error output for details.State: Second Stage Compilation
-----------------------------------------------------------------------------------------------------------------------------------------
When I test using SoapUi or Postman, the service works well...
What should I do?
Thanks.
Hello Henrique. Is it possible for you to share the WSDL that you're using to consume the service?
Also, can you create a support case with that issue?