Stamo Petkov
Stamo Petkov
@fcsobel Thank you! I used Base class as suggested by @rsuter . And I think it is a good solution Here is the code: ``` protected Task CreateHttpRequestMessageAsync(CancellationToken cancellationToken) {...
@zhenlan thanks for your quick reply. Here is a sample of code, where the client is generated with dotnet/wcf (core version) > var client = new GetInvoiceClient(GetInvoiceClient.EndpointConfiguration.BasicHttpsBinding_IGetInvoice); var request =...
@zhenlan sorry for the unclear code. Here is the GetInvoicePDFAsync method signature: System.Threading.Tasks.Task<InvoiceServiceReference.GetInvoicePDFResponse> GetInvoicePDFAsync(InvoiceServiceReference.GetInvoicePDFRequest request); so it is GetInvoicePDFResponse result = client.GetInvoicePDFAsync(request).Result; and here is the GetInvoicePdfResult property definition: public...
And here is the WSDL file [Invoices.zip](https://github.com/dotnet/wcf/files/744526/Invoices.zip) I hope this helps :)
@zhenlan Yes, ofcourse. This was the first thing I've tried, but it never worked. Even in the old library, when I try to read from the stream, an exception is...
@zhenlan Hi, again. I've asked my coleagues to change the return type of the service to byte[] (from MemoryStream) and everithing worked. So this is a good workaround.
@Yadavvineet can you share this aproach for I have the same issue