Every subsequent call to an Axis webservice fails

Posted by cudiaco on Stack Overflow See other posts from Stack Overflow or by cudiaco
Published on 2010-06-15T06:41:35Z Indexed on 2010/06/15 6:42 UTC
Read the original article Hit count: 289

Filed under:
|
|
|

I've been having a strange issue with an Axis webservice which is called through the https protocol.

Basically, when an invocation is made, the call goes through just fine. If the call is made again, the web service fails, returning me with the following message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Server.userException</faultcode>
         <faultstring>org.xml.sax.SAXParseException: Unexpected end of file after null</faultstring>
         <detail>
            <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">f0s0</ns1:hostname>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

When tested locally (through http), the service works perfectly fine. Has anyone encountered an issue like this before?

Any help is appreciated.

© Stack Overflow or respective owner

Related posts about webservice

Related posts about https