axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Roder <mro...@wamnet.com>
Subject Issue: Bad decoding of faults?
Date Mon, 15 Oct 2001 18:35:47 GMT

When my client get this message
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
	<soap:Header>
	
	</soap:Header> 
	<soap:Body>  
		<soap:Fault>
			<faultcode>Archive.InvalidLogin</faultcode>
			<faultstring>The username and password were
invalid</faultstring>
			<detail>The username and password were
invalid</detail>
		 </soap:Fault>
	</soap:Body>
</soap:Envelope>

I get the following:
AxisFault
  faultCode: null
  faultString: The username and password were invalid
  faultActor: null
  faultDetails: null

	at
org.apache.axis.message.SOAPFaultElement.getAxisFault(SOAPFaultElement.java:
133)
	at
org.apache.axis.message.SOAPFaultBuilder.<init>(SOAPFaultBuilder.java:94)
	at
org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:76)
	at
org.apache.axis.encoding.DeserializationContext.startElement(Deserialization
Context.java:546)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1475)
	at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
	at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
	at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
	at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
	at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:346)
	at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext
.java:173)
	at org.apache.axis.Message.getAsSOAPEnvelope(Message.java:320)
	at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:695)
	at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:596)
	at
org.apache.axis.client.ServiceClient.invoke(ServiceClient.java:615)



Later

Mark

Mime
View raw message