Axis webservice calls fail sometimes, access.log shows content!

Posted by epischel on Stack Overflow See other posts from Stack Overflow or by epischel
Published on 2010-04-16T14:59:32Z Indexed on 2010/04/16 15:03 UTC
Read the original article Hit count: 334

Filed under:
|
|
|
|

Hi,

our app is a webservice client (axis 1) to a third party webservice (also axis 1). We use it for some years now.

Since a few weeks, we (as a client) get sometimes HTTP status 400 (bad request) or read timeouts when calling the webservice.

Strangely, the access.log of the service shows part of the request or the response instead of the URL. It looks like this (looks like the end of the request string)

x.x.x.x -> y.y.y.y:8080 - - [timestamp] "POST /webservice HTTP/1.0" 200 16127 0
x.x.x.x -> y.y.y.y:8080 - - [timestamp] "POST /webservice HTTP/1.0" 200 22511 1
x.x.x.x -> y.y.y.y:8080 - - [timestamp] "il=\"true\"/><nsl:text xsi:type=\"xsd:string\" xsi:nil=\"true\"/></SOAPSomeOperation></soapenv:Body></soapenv:Envelope> Axis/1.4" 400 299 0

or (some string out of the what looks like the request)

x.x.x.x -> y.y.y.y:8080 - - [timestamp] ":string\">some text</sometag><othertag>moretext" 400 299 0

or in some other cases it looks like two requests thrown together (... means xml string left out):

x.x.x.x -> y.y.y.y:8080 - - [timestamp] "...</someop></soapenv:Body></soapenv:Envelope>:xsd=\"http://www.w3.org/2001/XMLSchema\"...</soapenv:Body></soapenv:Envelope>" 400 299 0

Application log does not give any hints. Frequency of such call is 1% of all calls to that service. The only discriminator I know of so far is that it happens since operations informed us that the service url changed because of "server migration".

Has anyone experienced such phenomenon yet? Has somebody got an idea whats wrong and how to fix?

Thanks,

© Stack Overflow or respective owner

Related posts about java

Related posts about webservice