You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by ae...@apache.org on 2007/02/02 03:09:03 UTC
svn commit: r502444 -
/webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/generator/synthesizer/ServerSynthesizer.java
Author: aeberbac
Date: Thu Feb 1 18:09:02 2007
New Revision: 502444
URL: http://svn.apache.org/viewvc?view=rev&rev=502444
Log:
MUSE-166: took out the headers from the server side code.
Modified:
webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/generator/synthesizer/ServerSynthesizer.java
Modified: webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/generator/synthesizer/ServerSynthesizer.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/generator/synthesizer/ServerSynthesizer.java?view=diff&rev=502444&r1=502443&r2=502444
==============================================================================
--- webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/generator/synthesizer/ServerSynthesizer.java (original)
+++ webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/generator/synthesizer/ServerSynthesizer.java Thu Feb 1 18:09:02 2007
@@ -33,7 +33,6 @@
import org.apache.muse.util.ReflectUtils;
import org.apache.muse.ws.addressing.soap.SoapFault;
import org.apache.muse.ws.resource.impl.AbstractWsResourceCapability;
-import org.w3c.dom.Element;
/**
* A <code>Synthesizer</code> implementation that creates
@@ -53,8 +52,6 @@
public class ServerSynthesizer extends AbstractSynthesizer {
protected Map[] _filesMaps = null;
-
- private boolean _generateCustomHeaders;
static ConfigurationDataDescriptor[] REQUIRED_PARAMETERS =
new ConfigurationDataDescriptor[] {
@@ -64,9 +61,7 @@
public ConfigurationData synthesize(ConfigurationData configuration) throws Exception {
ConfigurationData.checkConfiguration(this, configuration);
-
- _generateCustomHeaders = ((Boolean)configuration.getParameter(ConfigurationData.GENERATE_CUSTOM_HEADERS)).booleanValue();
-
+
Map[] capabilityMaps = (Map[])configuration.getParameter(ConfigurationData.CAPABILITIES_MAP_LIST);
_filesMaps = new HashMap[capabilityMaps.length];
@@ -278,13 +273,6 @@
+ getParamName(paramNames[j], j));
}
- if(_generateCustomHeaders) {
- if(params.length > 0) {
- code.append(", ");
- }
- code.append("Element[] customHeaders");
- }
-
code.append(") throws Exception");
if(generateBody) {
@@ -401,10 +389,6 @@
for (Iterator i = imports.iterator(); i.hasNext(); ) {
generateImport((Class)i.next(),code);
- }
-
- if(_generateCustomHeaders) {
- generateImport(Element.class, code);
}
generateImport(SoapFault.class, code);
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org