You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by az...@apache.org on 2009/12/14 14:36:23 UTC
svn commit: r890315 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java
Author: azeez
Date: Mon Dec 14 13:36:23 2009
New Revision: 890315
URL: http://svn.apache.org/viewvc?rev=890315&view=rev
Log:
Reverting service & operation check. Synapse does not do, dispatchAndVerify, hence the service & operation can be null
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java?rev=890315&r1=890314&r2=890315&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java Mon Dec 14 13:36:23 2009
@@ -166,13 +166,6 @@
public static OMElement createDocumentElement(String contentType,
MessageContext msgContext,
InputStream inStream) throws AxisFault, XMLStreamException {
- // If we are handling a REST request, and the dispatchAndVerify method was not able to
- // locate the relevant service/operation, we should not try to build a document element
- if (msgContext.isDoingREST() &&
- (msgContext.getAxisService() == null || msgContext.getAxisOperation() == null)) {
- return null;
- }
-
OMElement documentElement = null;
String type = null;
if (contentType != null) {