I have an issue where the consumption of a SOAP web service for our companies own software is no longer working in Outsystems 11 where it was working in Outsystems 10.

True Change does not display contain any errors, however the deployment fails with the error

Invalid compiler output. The WCF proxy code contains errors.

According to Outsystems own documentation, the new SOAP web service function in Outsystems 11 allows for SOAP service 1.2 protocol. 

Could this be the root of the problem? 

Nicholas van Wyngaard wrote:

I have an issue where the consumption of a SOAP web service for our companies own software is no longer working in Outsystems 11 where it was working in Outsystems 10.

True Change does not display contain any errors, however the deployment fails with the error

Invalid compiler output. The WCF proxy code contains errors.

According to Outsystems own documentation, the new SOAP web service function in Outsystems 11 allows for SOAP service 1.2 protocol. 

Could this be the root of the problem? 

Nicholas,

I made a request test in my SOAP Exposed with no issues using OutSystems 11.

https://share.vidyard.com/watch/dwEjZSWGBnspnXkdHuBD19?

Can you give us more information? Process? Stack Exception ? 


Regards


CMateus wrote:

Nicholas van Wyngaard wrote:

I have an issue where the consumption of a SOAP web service for our companies own software is no longer working in Outsystems 11 where it was working in Outsystems 10.

True Change does not display contain any errors, however the deployment fails with the error

Invalid compiler output. The WCF proxy code contains errors.

According to Outsystems own documentation, the new SOAP web service function in Outsystems 11 allows for SOAP service 1.2 protocol. 

Could this be the root of the problem? 

Nicholas,

I made a request test in my SOAP Exposed with no issues using OutSystems 11.

https://share.vidyard.com/watch/dwEjZSWGBnspnXkdHuBD19?

Can you give us more information? Process? Stack Exception ? 


Regards


Hi CMateus, 

Thank you for the recording, very informative. 

The full error stack is shown at the bottom of this post. For some reason I cannot attach a text file. 

I have logged a ticket with technical support and they have informed me that this a known issue and they are working on it. I will keep this thread up to date with their findings. 

Internal Error

Invalid compiler output.
The WCF proxy code contains errors.

Exception Details:
[1] System.Exception: The WCF proxy code contains errors. ---> System.Exception: C:\Windows\system32> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"System.Runtime.Serialization.dll" /R:"System.ServiceModel.dll" /R:"System.dll" /R:"System.Xml.dll" /R:"mscorlib.dll" /out:"C:\Windows\TEMP\asm5hwqk\asm5hwqk.dll" /debug- /optimize+  "C:\Windows\TEMP\asm5hwqk\asm5hwqk.0.cs"


Microsoft (R) Visual C# Compiler version 4.7.3062.0

for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.



This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see https://go.microsoft.com/fwlink/?LinkID=533240

c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(12,18): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(18,56): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(69,18): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(75,61): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(20,24): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(28,23): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(77,24): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(87,23): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(37,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(37,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(47,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(47,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(57,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(57,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(15,13): error CS0234: The type or namespace name 'Diagnostics' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(15,13): error CS0234: The type or namespace name 'Diagnostics' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(16,13): error CS0234: The type or namespace name 'CodeDom' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(16,13): error CS0234: The type or namespace name 'CodeDom' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(17,13): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(17,13): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(96,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(96,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(106,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(106,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(116,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(116,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(126,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(126,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(72,13): error CS0234: The type or namespace name 'Diagnostics' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(72,13): error CS0234: The type or namespace name 'Diagnostics' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(73,13): error CS0234: The type or namespace name 'CodeDom' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(73,13): error CS0234: The type or namespace name 'CodeDom' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(74,13): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(74,13): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
   --- End of inner exception stack trace ---
   at OutSystems.Plugin.SOAP.SOAPUtilsCompiler.GenerateProxy(CodeCompileUnit ccu, TextWriter writer, String filename)
   at OutSystems.Plugin.SOAP.SOAPClientDescriptor.DumpCustomClass(TextWriter writer, ICustomClient obj)
   at OutSystems.HubEdition.Compiler.CustomClient.Dump()
   at OutSystems.HubEdition.Compiler.ESpace.DumpCustomClients()
   at OutSystems.HubEdition.Compiler.ESpace.Dump()
   at OutSystems.HubEdition.Compiler.Compiler.InnerCompileEspace(ESpace eSpace, CompilationContext context)
   at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.TrapExceptionsInContext(Action action, CompilationContext context)[2] System.Exception: C:\Windows\system32> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"System.Runtime.Serialization.dll" /R:"System.ServiceModel.dll" /R:"System.dll" /R:"System.Xml.dll" /R:"mscorlib.dll" /out:"C:\Windows\TEMP\asm5hwqk\asm5hwqk.dll" /debug- /optimize+  "C:\Windows\TEMP\asm5hwqk\asm5hwqk.0.cs"


Microsoft (R) Visual C# Compiler version 4.7.3062.0

for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.



This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see https://go.microsoft.com/fwlink/?LinkID=533240

c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(12,18): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(18,56): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(69,18): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(75,61): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(20,24): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(28,23): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(77,24): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(87,23): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(37,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(37,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(47,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(47,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(57,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(57,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(15,13): error CS0234: The type or namespace name 'Diagnostics' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(15,13): error CS0234: The type or namespace name 'Diagnostics' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(16,13): error CS0234: The type or namespace name 'CodeDom' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(16,13): error CS0234: The type or namespace name 'CodeDom' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(17,13): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(17,13): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(96,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(96,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(106,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(106,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(116,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(116,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(126,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(126,17): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(72,13): error CS0234: The type or namespace name 'Diagnostics' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(72,13): error CS0234: The type or namespace name 'Diagnostics' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(73,13): error CS0234: The type or namespace name 'CodeDom' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(73,13): error CS0234: The type or namespace name 'CodeDom' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(74,13): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)
c:\Windows\Temp\asm5hwqk\asm5hwqk.0.cs(74,13): error CS0234: The type or namespace name 'Runtime' does not exist in the namespace 'schemas.pragmaproducts.com.onkey.System' (are you missing an assembly reference?)