{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/wcf/issues/3145","repository_url":"https://api.github.com/repos/dotnet/wcf","labels_url":"https://api.github.com/repos/dotnet/wcf/issues/3145/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/wcf/issues/3145/comments","events_url":"https://api.github.com/repos/dotnet/wcf/issues/3145/events","html_url":"https://github.com/dotnet/wcf/issues/3145","id":355755106,"node_id":"MDU6SXNzdWUzNTU3NTUxMDY=","number":3145,"title":"InvalidOperationException: There was an error reflecting 'ticket'.","user":{"login":"elmojo","id":7470101,"node_id":"MDQ6VXNlcjc0NzAxMDE=","avatar_url":"https://avatars3.githubusercontent.com/u/7470101?v=4","gravatar_id":"","url":"https://api.github.com/users/elmojo","html_url":"https://github.com/elmojo","followers_url":"https://api.github.com/users/elmojo/followers","following_url":"https://api.github.com/users/elmojo/following{/other_user}","gists_url":"https://api.github.com/users/elmojo/gists{/gist_id}","starred_url":"https://api.github.com/users/elmojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elmojo/subscriptions","organizations_url":"https://api.github.com/users/elmojo/orgs","repos_url":"https://api.github.com/users/elmojo/repos","events_url":"https://api.github.com/users/elmojo/events{/privacy}","received_events_url":"https://api.github.com/users/elmojo/received_events","type":"User","site_admin":false},"labels":[{"id":211140862,"node_id":"MDU6TGFiZWwyMTExNDA4NjI=","url":"https://api.github.com/repos/dotnet/wcf/labels/Community","name":"Community","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-30T21:09:03Z","updated_at":"2018-09-05T22:09:35Z","closed_at":null,"author_association":"NONE","body":"This is from the WSDL from before but hand corrected to fix errors that the SvcUtil was reporting during proxy creation.\r\n\r\nI am now getting an error when trying to use the service, namely the loginAsync method.  I get the following errors:\r\n\r\n    System.AggregateException\r\n      HResult=0x80131500\r\n      Message=One or more errors occurred.\r\n      Source=System.Private.CoreLib\r\n      StackTrace:\r\n       at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\r\n       at Test.Service.UnitTest1.TestMethod2() in C:\\Source\\Service\\Test.Service\\UnitTest1.cs:line 57\r\n    \r\n    Inner Exception 1:\r\n    InvalidOperationException: There was an error reflecting 'ticket'.\r\n    \r\n    Inner Exception 2:\r\n    InvalidOperationException: There was an error reflecting type 'Service.SoapReference.Authentication.AuthenticationTicket'.\r\n    \r\n    Inner Exception 3:\r\n    NullReferenceException: Object reference not set to an instance of an object.\r\n\r\n\r\n[AuthenticationService.wsdl.txt](https://github.com/dotnet/wcf/files/2337935/AuthenticationService.wsdl.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/wcf/issues/comments/418897827","html_url":"https://github.com/dotnet/wcf/issues/3145#issuecomment-418897827","issue_url":"https://api.github.com/repos/dotnet/wcf/issues/3145","id":418897827,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODg5NzgyNw==","user":{"login":"elmojo","id":7470101,"node_id":"MDQ6VXNlcjc0NzAxMDE=","avatar_url":"https://avatars3.githubusercontent.com/u/7470101?v=4","gravatar_id":"","url":"https://api.github.com/users/elmojo","html_url":"https://github.com/elmojo","followers_url":"https://api.github.com/users/elmojo/followers","following_url":"https://api.github.com/users/elmojo/following{/other_user}","gists_url":"https://api.github.com/users/elmojo/gists{/gist_id}","starred_url":"https://api.github.com/users/elmojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elmojo/subscriptions","organizations_url":"https://api.github.com/users/elmojo/orgs","repos_url":"https://api.github.com/users/elmojo/repos","events_url":"https://api.github.com/users/elmojo/events{/privacy}","received_events_url":"https://api.github.com/users/elmojo/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T22:09:35Z","updated_at":"2018-09-05T22:09:35Z","author_association":"NONE","body":"\tException Stack Trace:\r\n\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, RecursionLimiter limiter)\r\n\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(String elementName, String ns, XmlReflectionMember[] members, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, XmlMappingAccess access)\r\n\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(String elementName, String ns, XmlReflectionMember[] members, Boolean hasWrapperElement, Boolean rpc, Boolean openModel)\r\n\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(String elementName, String ns, XmlReflectionMember[] members, Boolean hasWrapperElement, Boolean rpc)\r\n\tat System.ServiceModel.Description.XmlSerializerOperationBehavior.Reflector.XmlSerializerImporter.ImportMembersMapping(XmlName elementName, String ns, XmlReflectionMember[] members, Boolean hasWrapperElement, Boolean rpc, String mappingKey)\r\n\tat System.ServiceModel.Description.XmlSerializerOperationBehavior.Reflector.OperationReflector.ImportMembersMapping(String elementName, String ns, XmlReflectionMember[] members, Boolean hasWrapperElement, Boolean rpc, String mappingKey)\r\n\tat System.ServiceModel.Description.XmlSerializerOperationBehavior.Reflector.OperationReflector.LoadBodyMapping(MessageDescription message, String mappingKey, MessagePartDescriptionCollection& rpcEncodedTypedMessageBodyParts)\r\n\tat System.ServiceModel.Description.XmlSerializerOperationBehavior.Reflector.OperationReflector.CreateMessageInfo(MessageDescription message, String key)\r\n\tat System.ServiceModel.Description.XmlSerializerOperationBehavior.Reflector.OperationReflector.EnsureMessageInfos()\r\n\tat System.ServiceModel.Description.XmlSerializerOperationBehavior.Reflector.EnsureMessageInfos()\r\n\tat System.ServiceModel.Description.XmlSerializerOperationBehavior.Reflector.OperationReflector.get_Request()\r\n\tat System.ServiceModel.Description.XmlSerializerOperationBehavior.CreateFormatter()\r\n\tat System.ServiceModel.Description.XmlSerializerOperationBehavior.System.ServiceModel.Description.IOperationBehavior.ApplyClientBehavior(OperationDescription description, ClientOperation proxy)\r\n\tat System.ServiceModel.Description.DispatcherBuilder.BindOperations(ContractDescription contract, ClientRuntime proxy, DispatchRuntime dispatch)\r\n\tat System.ServiceModel.Description.DispatcherBuilder.ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime clientRuntime)\r\n\tat System.ServiceModel.Description.DispatcherBuilder.BuildProxyBehavior(ServiceEndpoint serviceEndpoint, BindingParameterCollection& parameters)\r\n\tat System.ServiceModel.Channels.ServiceChannelFactory.BuildChannelFactory(ServiceEndpoint serviceEndpoint, Boolean useActiveAutoClose)\r\n\tat System.ServiceModel.ChannelFactory.CreateFactory()\r\n\tat System.ServiceModel.ChannelFactory.OnOpening()\r\n\tat System.ServiceModel.Channels.CommunicationObject.System.ServiceModel.IAsyncCommunicationObject.OpenAsync(TimeSpan timeout)\r\n\tat System.ServiceModel.Channels.CommunicationObject.OpenAsyncInternal(TimeSpan timeout)\r\n\tat System.Runtime.TaskHelpers.WaitForCompletion(Task task)\r\n\tat System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)\r\n\tat System.ServiceModel.Channels.CommunicationObject.Open()\r\n\tat System.ServiceModel.ChannelFactory.EnsureOpened()\r\n\tat System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)\r\n\tat System.ServiceModel.ChannelFactory`1.CreateChannel()\r\n\tat System.ServiceModel.ClientBase`1.CreateChannel()\r\n\tat System.ServiceModel.ClientBase`1.CreateChannelInternal()\r\n\tat System.ServiceModel.ClientBase`1.get_Channel()\r\n\tat BOne.Service.SoapReference.Authentication.AuthenticationServiceClient.loginAsync(String user, String password) in C:\\Source\\BOne-Service\\Service\\SoapReference\\Authentication.cs:line 371\r\n\tat BOne.Service.BOneService.Login() in C:\\Source\\BOne-Service\\Service\\BOneService.cs:line 32\r\n\tat BOne.Service.BOneService.GetTicket() in C:\\Source\\BOne-Service\\Service\\BOneService.cs:line 95\r\n\tat BOne.Service.BOneService.EquityAttributionResults(String quasarCode, DateTime calculationDate, Int32 level, Period period, PortfolioConfiguration portfolioConfig, Boolean enableSearchDate, Boolean viewSecurities) in C:\\Source\\BOne-Service\\Service\\BOneService.cs:line 42\r\n\t\t\r\n\t\tInner Exception Stack Trace:\r\n\t\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)\r\n\t\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping(MemberMapping accessor, FieldModel model, XmlAttributes a, String ns, Type choiceIdentifierType, Boolean rpc, Boolean openModel, RecursionLimiter limiter)\r\n\t\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportMemberMapping(XmlReflectionMember xmlReflectionMember, String ns, XmlReflectionMember[] xmlReflectionMembers, Boolean rpc, Boolean openModel, RecursionLimiter limiter)\r\n\t\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, RecursionLimiter limiter)\r\n\t\t\t\r\n\t\t\tInner Exception Stack Trace:\r\n\t\t\tat Microsoft.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)\r\n\t\t\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns, Boolean openModel, XmlAttributes a, RecursionLimiter limiter)\r\n\t\t\tat Microsoft.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)"}}
{"actor":{"display_login":"elmojo"}}