{"action":"opened","issue":{"url":"https://api.github.com/repos/fsprojects/FSharp.Data.TypeProviders/issues/13","repository_url":"https://api.github.com/repos/fsprojects/FSharp.Data.TypeProviders","labels_url":"https://api.github.com/repos/fsprojects/FSharp.Data.TypeProviders/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/FSharp.Data.TypeProviders/issues/13/comments","events_url":"https://api.github.com/repos/fsprojects/FSharp.Data.TypeProviders/issues/13/events","html_url":"https://github.com/fsprojects/FSharp.Data.TypeProviders/issues/13","id":185239899,"number":13,"title":"WSDLService fails to deserialize body with multiple data","user":{"login":"rkosafo","id":21700034,"avatar_url":"https://avatars.githubusercontent.com/u/21700034?v=3","gravatar_id":"","url":"https://api.github.com/users/rkosafo","html_url":"https://github.com/rkosafo","followers_url":"https://api.github.com/users/rkosafo/followers","following_url":"https://api.github.com/users/rkosafo/following{/other_user}","gists_url":"https://api.github.com/users/rkosafo/gists{/gist_id}","starred_url":"https://api.github.com/users/rkosafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkosafo/subscriptions","organizations_url":"https://api.github.com/users/rkosafo/orgs","repos_url":"https://api.github.com/users/rkosafo/repos","events_url":"https://api.github.com/users/rkosafo/events{/privacy}","received_events_url":"https://api.github.com/users/rkosafo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-25T21:32:56Z","updated_at":"2016-10-25T21:32:56Z","closed_at":null,"body":"### Description\r\n\r\nI'm using the WSDLService type provider to access a webservice. All calls have worked so far with the exception of two call. One of issues is as detailed below. Is there a known workaround?\r\n\r\n### Repro steps\r\n\r\nCan't provide url to actual webservice but the signature of the generated function is\r\n\r\n    QueryAccBal(AuthHeader: tAuthHeader, QueryAccBalBO: tQueryAcctBalBO, SubsType: byref<string>)\r\n        : tBalDtoListResponse[]\r\n\r\nUsage \r\n\r\n    let ret = client.QueryAcctBal(getAccountAuthHeader(), req)\r\n    //ret is of type tBalDtoListResponse [] * string\r\n\r\nThe response xml that result in this error is\r\n\r\n\t<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\">\r\n\t   <soapenv:Body>\r\n\t\t  <ns:QueryAcctBalBOResponse xmlns:ns=\"http://com.z.zs/xsd\">\r\n\t\t\t <BalDtoList>\r\n\t\t\t\t<BalID>1</BalID>\r\n\t\t\t\t<AcctResID>1</AcctResID>\r\n\t\t\t\t<AcctResName>Local Currency</AcctResName>\r\n\t\t\t\t<BalType>1</BalType>\r\n\t\t\t\t<Balance>0</Balance>\r\n\t\t\t\t<EffDate>2016-09-15 00:00:00</EffDate>\r\n\t\t\t\t<ExpDate>2016-12-14 11:45:21</ExpDate>\r\n\t\t\t\t<UpdateDate>2016-09-15 11:45:25</UpdateDate>\r\n\t\t\t\t<ConsumeBal>0</ConsumeBal>\r\n\t\t\t\t<ReserveBal>0</ReserveBal>\r\n\t\t\t\t<InitBal>0</InitBal>\r\n\t\t\t\t<GrossBal>0</GrossBal>\r\n\t\t\t </BalDtoList>\r\n\t\t\t <BalDtoList>\r\n\t\t\t\t<BalID>2</BalID>\r\n\t\t\t\t<AcctResID>3</AcctResID>\r\n\t\t\t\t<AcctResName>Data Volume</AcctResName>\r\n\t\t\t\t<BalType>4</BalType>\r\n\t\t\t\t<Balance>-10485760</Balance>\r\n\t\t\t\t<EffDate>2016-09-27 05:05:46</EffDate>\r\n\t\t\t\t<ExpDate>2016-10-27 05:05:46</ExpDate>\r\n\t\t\t\t<UpdateDate>2016-09-27 05:05:55</UpdateDate>\r\n\t\t\t\t<ConsumeBal>0</ConsumeBal>\r\n\t\t\t\t<ReserveBal>0</ReserveBal>\r\n\t\t\t\t<InitBal>-10485760</InitBal>\r\n\t\t\t\t<GrossBal>-10485760</GrossBal>\r\n\t\t\t </BalDtoList>\r\n\t\t\t <SubsType>Prepaid</SubsType>\r\n\t\t  </ns:QueryAcctBalBOResponse>\r\n\t   </soapenv:Body>\r\n\t</soapenv:Envelope>\r\n\r\n### Expected behavior\r\n\r\nExpected code to work\r\n\r\n### Actual behavior\r\n\r\nAn exception was thrown\r\n\r\n\tAn unhandled exception of type 'System.ServiceModel.CommunicationException' occurred in mscorlib.dll\r\n\r\n\tAdditional information: Error in deserializing body of reply message for operation 'QueryAcctBal'.\r\n\r\n### Known workarounds\r\n\r\n\r\n\r\n### Related information \r\n\r\n* Operating system : Windows 10\r\n* Branch: FSharp.Data.TypeProviders v 5.0.0.2 from nuget\r\n* .NET Runtime, CoreCLR or Mono Version: 4.6.1\r\n* Performance information, links to performance testing scripts\r\n"}}
{"actor":{"display_login":"rkosafo"}}