Skip to content

InvalidOperationException: There was an error reflecting 'ticket'. #3145

Open
@elmojo

Description

@elmojo

This is from the WSDL from before but hand corrected to fix errors that the SvcUtil was reporting during proxy creation.

I am now getting an error when trying to use the service, namely the loginAsync method. I get the following errors:

System.AggregateException
  HResult=0x80131500
  Message=One or more errors occurred.
  Source=System.Private.CoreLib
  StackTrace:
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Test.Service.UnitTest1.TestMethod2() in C:\Source\Service\Test.Service\UnitTest1.cs:line 57

Inner Exception 1:
InvalidOperationException: There was an error reflecting 'ticket'.

Inner Exception 2:
InvalidOperationException: There was an error reflecting type 'Service.SoapReference.Authentication.AuthenticationTicket'.

Inner Exception 3:
NullReferenceException: Object reference not set to an instance of an object.

AuthenticationService.wsdl.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    BacklogLegitimate tasks of lower priority not in current dev schedule.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions