Author: alessio.soldano(a)jboss.com
Date: 2012-09-14 12:17:23 -0400 (Fri, 14 Sep 2012)
New Revision: 16730
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFProviderImpl.java
Log:
[JBWS-3510]
modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFProviderImpl.java
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFProviderImpl.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFProviderImpl.java 2012-09-14
16:16:51 UTC (rev 16729)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFProviderImpl.java 2012-09-14
16:17:23 UTC (rev 16730)
@@ -51,6 +51,7 @@
private File resourceDir;
private File sourceDir;
private PrintStream messageStream;
+ private String portAddress;
public CXFProviderImpl()
{
@@ -95,6 +96,11 @@
{
this.messageStream = messageStream;
}
+
+ public void setPortSoapAddress(String address)
+ {
+ this.portAddress = address;
+ }
public void provide(String endpointClass)
{
@@ -170,6 +176,10 @@
args.add("-wsdl");
if (extension)
args.add("-soap12");
+ if (portAddress != null) {
+ args.add("-address");
+ args.add(portAddress);
+ }
}
String cp = buildClasspathString(loader);
Show replies by date