You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Christian Hvid <ch...@neoconsult.dk> on 2005/04/25 15:44:09 UTC

Uninformative AxisFault "(0)null"

Hi list.

I am looking for some information on what possible could cause the  
following exception:

AxisFault
  faultCode: {http://xml.apache.org/axis/}HTTP
  faultSubcode:
  faultString: (0)null
  faultActor:
  faultNode:
  faultDetail:
	{}string: return code:  0


(0)null
	at  
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java 
:630)
	at  
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
	at  
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j 
ava:71)
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
	at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
	at org.apache.axis.client.Call.invoke(Call.java:2553)
	at org.apache.axis.client.Call.invoke(Call.java:2248)
	at org.apache.axis.client.Call.invoke(Call.java:2171)
	at org.apache.axis.client.Call.invoke(Call.java:1691)
	at [my code]

I am using generated code from WSDL2Java. I have tried with Axis 1.1  
and Axis 1.2 RC3 - the above trace is from 1.1.

I can see from reading the source code for HTTPSender that the fault is  
likely due to a missing value for MC_HTTP_STATUS_CODE in the message  
context. What could cause that? Is it a server side problem or is it a  
bug in Axis?

-- Christian