axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kei...@apache.org
Subject svn commit: r513726 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
Date Fri, 02 Mar 2007 12:18:05 GMT
Author: keithc
Date: Fri Mar  2 04:18:05 2007
New Revision: 513726

URL: http://svn.apache.org/viewvc?view=rev&rev=513726
Log:
Adding default REST builders

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java?view=diff&rev=513726&r1=513725&r2=513726
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/AxisConfigBuilder.java
Fri Mar  2 04:18:05 2007
@@ -20,10 +20,12 @@
 import org.apache.axiom.om.OMAttribute;
 import org.apache.axiom.om.OMElement;
 import org.apache.axis2.AxisFault;
+import org.apache.axis2.builder.ApplicationXMLBuilder;
 import org.apache.axis2.builder.Builder;
 import org.apache.axis2.builder.MIMEBuilder;
 import org.apache.axis2.builder.MTOMBuilder;
 import org.apache.axis2.builder.SOAPBuilder;
+import org.apache.axis2.builder.XFormURLEncodedBuilder;
 import org.apache.axis2.dataretrieval.DRConstants;
 import org.apache.axis2.deployment.util.PhasesInfo;
 import org.apache.axis2.deployment.util.Utils;
@@ -173,6 +175,8 @@
     			axisConfig.addMessageBuilder("application/soap+xml", new SOAPBuilder());
     			axisConfig.addMessageBuilder("text/xml", new SOAPBuilder());
     			axisConfig.addMessageBuilder("application/xop+xml", new MTOMBuilder());
+                axisConfig.addMessageBuilder("application/xml", new ApplicationXMLBuilder());
+                axisConfig.addMessageBuilder("application/x-www-form-urlencoded", new XFormURLEncodedBuilder());
 
             //process dataLocator configuration
             OMElement dataLocatorElement =



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message