Consumed Web Service throws Java Socket Exceptions.

When calling a Consumed WS I'm getting Java Socket Exceptions sometimes 'Unexpected End of File'   rarely   'software caused connection abort: recv failed'. Could you please suggest how can I get rid of them? Thanks in Advance
1 answers

Are you calling a Mendix webservice? There is a bug in Mendix that when you have a published webservice that has validate against wsdl turned on it can crash. This crash will then cut off the response stream and result in an invalid response. To fix this you have to be sure that the response that is generated on the publishing side matches the webservice definition e.g. the following example will result in this situation.


<!-- No description provided/target mapping is empty -->

<element name="Response">
   <element name="Code" type="String"/>
   <element name="Description" type="String"/>