Author: alessio.soldano(a)jboss.com
Date: 2010-03-16 12:35:24 -0400 (Tue, 16 Mar 2010)
New Revision: 11790
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java
Log:
[JBWS-2793] WSConsume support for implicit header
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java 2010-03-16
16:34:46 UTC (rev 11789)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java 2010-03-16
16:35:24 UTC (rev 11790)
@@ -52,6 +52,7 @@
private PrintStream messageStream;
private String wsdlLocation;
private List<String> additionalCompilerClassPath = new
ArrayList<String>();
+ private boolean additionalHeaders = false;
private String target;
@Override
@@ -113,6 +114,12 @@
{
this.additionalCompilerClassPath = additionalCompilerClassPath;
}
+
+ @Override
+ public void setAdditionalHeaders(boolean additionalHeaders)
+ {
+ this.additionalHeaders = additionalHeaders;
+ }
@Override
public void setTarget(String target)
@@ -150,6 +157,11 @@
{
args.add("-extension");
}
+
+ if (additionalHeaders)
+ {
+ args.add("-XadditionalHeaders");
+ }
if (nocompile)
{