PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD17] Strange Webservice Problem - Maximum size of the xml result
[WD17] Strange Webservice Problem - Maximum size of the xml result
Iniciado por guest, 16,ene. 2014 17:02 - 6 respuestas
Publicado el 16,enero 2014 - 17:02
Hi,

I have a strange webservice problem:

The xml Data are approx. 30 MB and the service crashed with

Error Code: 40055
##(CXError)-Ressource <6332> non chargee##
wd170xml.dll

If I choose a smaller result all works. It seems that the size of the xml data are limited ??
Or something in my IIS settings ?

If I bypass the webservice and define it as a local procedure (identical code) all works fine.

Any ideas ???
Publicado el 16,enero 2014 - 19:24
Hi Michael

that may be IIS as there are several time out defined in IIS (from the top of my head, one general for a session, and one for CGI)... You'll find the info easily by google, depending on your version of IIS

Best regards
Publicado el 16,enero 2014 - 20:32
Hi Fabrice,

yes it seems thats the IIS.

If found several google hits like this here: http://msdn.microsoft.com/en-us/library/aa528822.aspx



But nothing in the PC soft Help file. ok, I will try something and post my results here.
Publicado el 16,enero 2014 - 22:00
Hi again

interesting article... However, as it is the first time I heard about mtom encoded soap, I am wondering if the webservice made in windev/webdev are supporting this soap extension...

If not, It would once again show that my low tech approach for web services (an awp page and httprequest on the client side, ie a REST like web service) is very much less prone to problems and limitations :-(

best regards
Publicado el 18,enero 2014 - 18:03
Hi,

after a couple hours with google I found something:

Yes, it has to do with "maxAllowedContentLength"

Optional uint attribute.

Specifies the maximum length of content in a request, in bytes.

The default value is 30000000, which is approximately 28.6MB.

Thats excact the size of my xml-result. I tried to change the size (to the maximum allowed value - 4 GB) with a web.config in my IIS, but no result. I restarted the IIS but the error still occours. I give it to the PCS support but no answer till now.
Publicado el 18,enero 2014 - 20:09
Now I am completly confused:

1. My webservice crashed with the complete result
2. Same procedure without the IIS works.
3. If I reduced the result it works as webservice
4. If I use the webservice website as test my IE shows the complete binary XML result

What the hell is that ???

I catch the error with

1 When exception in
2 bufbin is buffer
3 bufbin=mywebservice()
4 Do
5 error("Error !!")
6 Enddo

If I debug this, the debugger goes from line 3 to line 5 with a fatal error ...
Publicado el 16,junio 2015 - 11:07
Hi Michael

Did you ever figure this issue out? I have the same problem as the one described in your post. Have been struggling for the last couple of days with IIS.
Can you remember how you solved it?
Thanks!

Gautam