Hybrid Maui on Android

0
0

Hello,

with Wisej hybrid i created a small app to scan Barcodes and to send them to the server.

I tried to do this via a Webservice/WCF.

The same Webservice works when the client is a Wisej Application on Google Browser/Windows.

But in the hybrid Android-App I get an error (Errortext is on the end of this text)

Anywhere I read than on mobiles the httphandler works with trimed text, can this be the reason?

Do you have any idea?

{System.ServiceModel.ProtocolException: The number of bytes available is inconsistent with the HTTP Content-Length header. There may have been a network error or the client may be sending invalid requests.
at System.ServiceModel.Channels.HttpResponseMessageHelper.ReadBufferedMessageAsync(Task`1 inputStreamTask, TimeoutHelper timeoutHelper) in /_/src/System.Private.ServiceModel/src/System/ServiceModel/Channels/HttpResponseMessageHelper.cs:line 223

  • You must to post comments
0
0

Hello Julie,

thank you very much.

But on preparing the test-project for you, I recognized that the test-project is working.

So I think I have to find the error by myself.

Many thanks

Rupert

  • You must to post comments
0
0

Can you provide a small sample with the Wisej Application client, and a sample with the Hybrid client?
You can attach a zip file as a comment here. You might need to delete the obj, bin  and vs folders in order for it to be small enough to upload.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.