OS 11 - Facing issues when consuming SOAP Web Service

Hi, I am facing issue consuming SOAP web service on OS 11 which is recently upgraded from OS 10.

All previous WS consuming are working fine in OS 10.

Please see below warning message in image 1.

After that, if proceed, WS appear with wrong structure. Please see in image 2.


When compile, got below error.

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\TEMP1frrbki1frrbki.dll" /debug- /optimize+  "C:\Windows\TEMP1frrbki1frrbki.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 http://go.microsoft.com/fwlink/?LinkID=533240

c:\Windows\Temp1frrbki1frrbki.0.cs(30,26): error CS0101: The namespace 'ssProxy' already contains a definition for 'ZHRPA_EREAP_IN_0006'
c:\Windows\Temp1frrbki1frrbki.0.cs(16,22): (Location of symbol related to previous error)
   --- 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.DumpEspaceCode(ESpace eSpace, CompilationContext context)
   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\TEMP1frrbki1frrbki.dll" /debug- /optimize+  "C:\Windows\TEMP1frrbki1frrbki.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 http://go.microsoft.com/fwlink/?LinkID=533240

c:\Windows\Temp1frrbki1frrbki.0.cs(30,26): error CS0101: The namespace 'ssProxy' already contains a definition for 'ZHRPA_EREAP_IN_0006'
c:\Windows\Temp1frrbki1frrbki.0.cs(16,22): (Location of symbol related to previous error)

I have tried to consume old WS, which are able to consume previously in OS 10, now not able to consume anymore with same wrong structure and error come out. 

Please help. Thanks in advance.


Hello,


In service center the consumers have the right path in the Effective URL and the authentication have the right user and password?


Ana Loureiro wrote:

Hello,


In service center the consumers have the right path in the Effective URL and the authentication have the right user and password?


End Point URL and Authentication are correct. The issue is OS 11 read the WSDL structure wrongly.