dotnet / dotnet/wcf

InvalidOperationException: There was an error reflecting 'ticket'.

Open
#3,145 19 comments 0 reactions 0 assignees View on GitHub
Backlog
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

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](https://github.com/dotnet/wcf/files/2337935/AuthenticationService.wsdl.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.