Hi,
I have added a web reference to my espace and the reference and the actions were loaded ok. When i try to publish apear that error :
Invalid Web Reference
The EInsuranceWSService web reference could not be imported because it is not supported.
Exception Details:
[1] Invalid Web Reference: The EInsuranceWSService web reference could not be imported because it is not supported.
at OutSystems.HubEdition.Compiler.WebServices.WebObject.#61d(TextWriter outerCode, String namespace)
at #gjd.#E1d.#00d(AbstractRecord type, TextWriter code, String namespace)
at OutSystems.HubEdition.Compiler.AbstractNamedRecord.AfterDumpStructure(TextWriter writer)
at OutSystems.HubEdition.Compiler.ESpace.DumpStructuresCSharp()
at OutSystems.HubEdition.Compiler.ESpace.DumpStructures()
at OutSystems.HubEdition.Compiler.ESpace.Dump()
at OutSystems.HubEdition.Compiler.Compiler.InnerCompile(CompilationContext context)
at OutSystems.HubEdition.Compiler.Compiler.Compile(CompilationContext context)
at OutSystems.HubEdition.Compiler.Compiler.<>c__DisplayClass3.<Compile>b__2()
at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.WithOverridenSettings(IDictionary`2 settingsOverride, Action body)
at OutSystems.HubEdition.Compiler.Compiler.<>c__DisplayClass3.<Compile>b__1()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
[2] Id : WSDLFieldNotFound
Type : Error
Message : Invalid Web Reference
Detail : Could not find 'cancelDate' field.
HelpRef : 2050
ExtraInfo : Exception Details:
[1] Invalid Web Reference: Could not find 'cancelDate' field.
at #gjd.#73d.#F3d(String typeName, AbstractAttribute field, Boolean& isNullable)
at #gjd.#A2d.GetTypeName(AbstractAttribute attr, Boolean& isNullable)
at #gjd.#A2d.#Z1d(TextWriter writer, Boolean rpcCompatibilityMode)
at OutSystems.HubEdition.Compiler.WebServices.WebObject.#91d(TextWriter code, String namespace)
Submitable : Yes
does anyone has any idea about what happened?
Thanks
Well, like the stacktrace says.
Not every wsdl can be imported by Outsystems. Biggest issue are the dynamic-complextypes. which in a way is understanable that Outsystems is not able to import.
Imho it's a big design-flaw in wsdl and not from Outsystems, but hey, who am I :)
Either import the wsdl via Integration studio or alter the wsdl to make it simpler.