Hi there! Why axis does not throw a Exception when it receives a HTTP
status 500? I tracked the code (axis2-1.3) and found something like
(HTTPSender.java):
Object isTransportNonBlocking = msgContext.getProperty(
MessageContext.TRANSPORT_NON_BLOCKING);
if (isTransportNonBlocking != null &&
((Boolean) isTransportNonBlocking).booleanValue()) {
throw new AxisFault(Messages.getMessage("transportError",
String.valueOf(statusCode),
method.getStatusText()));
}
sholudn't it be:
if (isTransportNonBlocking != null &&
!((Boolean) isTransportNonBlocking).booleanValue()) {
(note the !)
Why to throw a exception if the call is non blocking? The non blocking
calls are made in a separate thread, why do we want to throw a exception
in that thread?
And another, related question:
Why axis does not check a empty SOAPResponse when doing a blocking
one-way call through HTTP? I can send my SOAP message even to
http://www.google.com and everything is pretending to be OK, but it isn't!
Thanks,
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]