Skip to content

Commit f08d326

Browse files
Revert "Axis2 client parses soap envolope in case of a http-404"
This reverts commit 49fb1ac.
1 parent 49fb1ac commit f08d326

File tree

1 file changed

+0
-4
lines changed
  • modules/transport/http/src/main/java/org/apache/axis2/transport/http

1 file changed

+0
-4
lines changed

modules/transport/http/src/main/java/org/apache/axis2/transport/http/HTTPSender.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@ public void send(MessageContext msgContext, URL url, String soapActionString)
209209
|| statusCode == HttpStatus.SC_BAD_REQUEST || statusCode == HttpStatus.SC_NOT_FOUND) {
210210
processResponse = true;
211211
fault = true;
212-
} else if (statusCode == HttpStatus.SC_NOT_FOUND) {
213-
System.out.println("HTTPSender, HttpStatus.SC_NOT_FOUND");
214-
processResponse = false;
215-
fault = true;
216212
} else {
217213
throw new AxisFault(Messages.getMessage("transportError", String.valueOf(statusCode),
218214
request.getStatusText()));

0 commit comments

Comments
 (0)