axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arshad Ahamad" <ars...@in.effectsoft.com>
Subject axis c++ and java client
Date Thu, 19 Jan 2006 09:41:33 GMT
Hi Samisa, 

I am creating Web Service client application in Java and using 
SimpleAxisServer (I am not using Apache) which is in C++. When I am invoking 
Web Services it is connected with the server but not terminated. As soon as 
I am restarting my SimpleAxisServer, getting response, otherwise after some 
time I am getting error that is ... 

 

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.net.SocketTimeoutException: Read timed out
 faultActor:
 faultNode:
 faultDetail:
        
{http://xml.apache.org/axis/}stackTrace:java.net.SocketTimeoutException: 
Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
        at java.io.FilterInputStream.read(FilterInputStream.java:111)
        at java.io.FilterInputStream.read(FilterInputStream.java:111)
        at java.io.PushbackInputStream.read(PushbackInputStream.java:161)
        at 
org.apache.crimson.parser.XmlReader$Utf8Reader.read(XmlReader.java:645)
        at org.apache.crimson.parser.XmlReader.read(XmlReader.java:487)
        at 
org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1068)
        at 
org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity. 
java:914)
        at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1150)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:620)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
        at 
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext 
.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChe 
cker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at TestWS.main(TestWS.java:73) 

        {http://xml.apache.org/axis/}hostname:kuwix 

java.net.SocketTimeoutException: Read timed out
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChe 
cker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at TestWS.main(TestWS.java:73)
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
        at java.io.FilterInputStream.read(FilterInputStream.java:111)
        at java.io.FilterInputStream.read(FilterInputStream.java:111)
        at java.io.PushbackInputStream.read(PushbackInputStream.java:161)
        at 
org.apache.crimson.parser.XmlReader$Utf8Reader.read(XmlReader.java:645)
        at org.apache.crimson.parser.XmlReader.read(XmlReader.java:487)
        at 
org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1068)
        at 
org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity. 
java:914)
        at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1150)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:620)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
        at 
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext 
.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        ... 9 more 

 

 

      if their is any solution to invoke services cross langauge, please 
provide the solution(hint). Which side this problem comes(server Or 
client)?. Is this problem will resolve without Apache?. I think Web Service 
client is not getting endpoint. 

 

thanks and regards
Arshad Ahamad

Mime
View raw message