Skip to content

Commit 2911973

Browse files
committed
SWS-177
1 parent 880bea0 commit 2911973

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

samples/mtom/client/jaxws/build.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767

6868
<target name="run" depends="build">
6969
<java classname="org.springframework.ws.samples.mtom.client.jaxws.Main" fork="true" failonerror="true">
70+
<jvmarg value="-Djava.awt.headless=true"/>
7071
<arg path="../spring-ws-logo.png"/>
7172
<classpath refid="compile.classpath"/>
7273
<classpath refid="runtime.classpath"/>

samples/mtom/src/main/webapp/WEB-INF/spring-ws-servlet.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
<bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
1818
<property name="contextPath" value="org.springframework.ws.samples.mtom.schema"/>
19+
<property name="mtomEnabled" value="true"/>
1920
</bean>
2021

2122
<bean id="mtom" class="org.springframework.ws.wsdl.wsdl11.DynamicWsdl11Definition">

0 commit comments

Comments
 (0)