Author: alessio.soldano(a)jboss.com
Date: 2010-03-16 12:36:12 -0400 (Tue, 16 Mar 2010)
New Revision: 11792
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java
Log:
[JBWS-2793] WSConsume support for implicit header
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java 2010-03-16
16:35:45 UTC (rev 11791)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFConsumerImpl.java 2010-03-16
16:36:12 UTC (rev 11792)
@@ -50,6 +50,7 @@
private PrintStream messageStream = null;
private String wsdlLocation = null;
private List<String> additionalCompilerClassPath = new
ArrayList<String>();
+ private boolean additionalHeaders = false;
private String target;
private boolean nocompile = false;
@@ -107,10 +108,17 @@
this.wsdlLocation = wsdlLocation;
}
+ @Override
public void setAdditionalCompilerClassPath(List<String>
additionalCompilerClassPath)
{
this.additionalCompilerClassPath = additionalCompilerClassPath;
}
+
+ @Override
+ public void setAdditionalHeaders(boolean additionalHeaders)
+ {
+ this.additionalHeaders = additionalHeaders;
+ }
@Override
public void setTarget(String target)
@@ -148,6 +156,9 @@
{
args.add("-compile");
}
+
+ args.add("-exsh");
+ args.add(additionalHeaders ? "true" : "false");
if (generateSource && sourceDir == null)
{
Show replies by date