Hi, we are small company and we have informations system, which is sending information about cash payments to government portal. Suddenly many of our cutomers reported that the service stopped to work (roughly at the same time). The exception is this
The government portal denies any upgrade or change of anything.
In code I found the point which launched the exception:
I solved this problem by saving the wsdl to local disc and referencing it as a file:
I don't understand why only ours cca 10 customers was stricken. They have various java versions and in that day no upgrade or reinstall of anything was done.
The government portal is used by whole country and every failure would be reported by others and medialized.
Does anybody have an explanation regarding the above exception ?
Well it complains that the WSDL has an unexpected end-of-file. That means that whatever code you're using to download it may not be downloading it completely.
Maybe the file is sometimes sent as a multi-part download, and the code that downloads it doesn't take that into account? I'm just spitballing here.
Anyway, I think it's a bad idea to refer to the hosted WSDL regardless. Your code should not change automatically based on external forces. You will want to refer to a local copy, and maybe have a monitoring service that warns you when the WSDL at the government portal has changed.
They gave me pumpkin ice cream. It was not pumpkin pie ice cream. Wiping my tongue on this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library