14
Views
1
Comments
Solved
[JWT] There are producer modules that were compiled with an outdated OutSystems
jwt
Service icon
Forge asset by João Almeida
Application Type
Service

When publishing a module with a reference to JWT, we get the following error:

There are producer modules that were compiled with an outdated OutSystems Server. Please republish your factory

details of the error below.

we can use the same reference in the Demo app, anyone facing the same problems, and how can we resolve this?

Best regards,

Matthias

 

Incompatible Producers

There are producer modules that were compiled with an outdated OutSystems Server. Please republish your factory.

 Incompatible modules: JWT;

 Stack Trace: warning CS1685: The predefined type 'System.ObsoleteAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll'

 referencesProxy\eSpace_JWT_proxy.cs(29,25): error CS0234: The type or namespace name 'AppUtils' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

            return ssJWT.AppUtils.eSpaceId;

 referencesProxy\eSpace_JWT_proxy.cs(33,22): error CS0234: The type or namespace name 'AppUtils' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

         return ssJWT.AppUtils.GetStaticEntities(staticEntities, producersKeys);

 referencesProxy\eSpace_JWT_proxy.cs(37,7): error CS0234: The type or namespace name 'RLJWT_ClaimRecordList' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 ssJWT.RLJWT_ClaimRecordList _proxyoutParamCustomClaims = new ssJWT.RLJWT_ClaimRecordList();

 referencesProxy\eSpace_JWT_proxy.cs(37,68): error CS0234: The type or namespace name 'RLJWT_ClaimRecordList' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 ssJWT.RLJWT_ClaimRecordList _proxyoutParamCustomClaims = new ssJWT.RLJWT_ClaimRecordList();

 referencesProxy\eSpace_JWT_proxy.cs(40,40): error CS0234: The type or namespace name 'AppUtils' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

     heContext.CurrentESpaceKey = ssJWT.AppUtils.eSpaceKey;

 referencesProxy\eSpace_JWT_proxy.cs(42,7): error CS0234: The type or namespace name 'Actions' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 ssJWT.Actions.ActionReadAndValidateToken ( heContext,inParamSignedAndEncodedToken, inParamVerifySignature, inParamSignatureKey, inParamExpectedSignatureKeyId, inParamVerifyLifetime, inParamVerifyIssuer, inParamExpectedIssuer, inParamVerifyAudience, inParamExpectedAudience,  out outParamPlainToken,  out outParamAlgorithm,  out outParamKeyId,  out outParamTokenId,  out outParamIssuer,  out outParamSubject,  out outParamAudience,  out outParamExpiration,  out outParamNotBefore,  out outParamIssuedAt,  out _proxyoutParamCustomClaims,  out outParamValidToken,  out outParamResultMessage);

 referencesProxy\eSpace_JWT_proxy.cs(51,7): error CS0234: The type or namespace name 'RLJWT_ClaimRecordList' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 ssJWT.RLJWT_ClaimRecordList _proxyinParamClaims = new ssJWT.RLJWT_ClaimRecordList();

 referencesProxy\eSpace_JWT_proxy.cs(51,61): error CS0234: The type or namespace name 'RLJWT_ClaimRecordList' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 ssJWT.RLJWT_ClaimRecordList _proxyinParamClaims = new ssJWT.RLJWT_ClaimRecordList();

 referencesProxy\eSpace_JWT_proxy.cs(55,40): error CS0234: The type or namespace name 'AppUtils' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

     heContext.CurrentESpaceKey = ssJWT.AppUtils.eSpaceKey;

 referencesProxy\eSpace_JWT_proxy.cs(57,7): error CS0234: The type or namespace name 'Actions' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 ssJWT.Actions.ActionCreateSignedAsymmetricTokenWithPemKey ( heContext,inParamAlgorithm, inParamKeyId, inParamPrivateKey, inParamPrivateKeyPassword, inParamTokenId, inParamIssuer, inParamSubject, inParamAudience, inParamExpiration, inParamNotBefore, inParamIssuedAt, _proxyinParamClaims,  out outParamSuccess,  out outParamResultMessage,  out outParamPlainToken,  out outParamSignedAndEncodedToken);

 referencesProxy\eSpace_JWT_proxy.cs(67,40): error CS0234: The type or namespace name 'AppUtils' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

     heContext.CurrentESpaceKey = ssJWT.AppUtils.eSpaceKey;

 referencesProxy\eSpace_JWT_proxy.cs(69,7): error CS0234: The type or namespace name 'Actions' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 ssJWT.Actions.ActionOnSessionStart ( heContext);

 referencesProxy\eSpace_JWT_proxy.cs(132,14): error CS0234: The type or namespace name 'AppUtils' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 return ssJWT.AppUtils.Instance.CacheInvalidationSuffix;

 referencesProxy\eSpace_JWT_proxy.cs(79,14): error CS0234: The type or namespace name 'ENAsymmetricAlgorithmEntity' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 return ssJWT.ENAsymmetricAlgorithmEntity.ViewName(tenant, locale);

 referencesProxy\eSpace_JWT_proxy.cs(88,37): error CS0234: The type or namespace name 'ENAsymmetricAlgorithmEntity' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

             rec.FillFromOther(ssJWT.ENAsymmetricAlgorithmEntity.GetRecordById(id));

 referencesProxy\eSpace_JWT_proxy.cs(94,37): error CS0234: The type or namespace name 'ENAsymmetricAlgorithmEntity' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

             rec.FillFromOther(ssJWT.ENAsymmetricAlgorithmEntity.GetRecordByName(name));

 referencesProxy\eSpace_JWT_proxy.cs(100,37): error CS0234: The type or namespace name 'ENAsymmetricAlgorithmEntity' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

             rec.FillFromOther(ssJWT.ENAsymmetricAlgorithmEntity.GetRecordByKey(key));

 referencesProxy\eSpace_JWT_proxy.cs(81,52): error CS0234: The type or namespace name 'AppUtils' does not exist in the namespace 'ssJWT' (are you missing an assembly reference?)

 public static readonly ObjectKey eSpaceKey = ssJWT.AppUtils.eSpaceKey;

 ;

State: Build References Proxy

 

2024-12-17 14-32-59
Matthias Preuter
 
MVP
Solution

Found it, there was a reference to another JWT Library (Sample_JWTUtil from OutSystems Sample Data)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.