Author: alessio.soldano(a)jboss.com
Date: 2011-06-14 10:28:55 -0400 (Tue, 14 Jun 2011)
New Revision: 14551
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSWebServiceMetaDataBuilder.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/wsdd/TestWSDDParser.java
Log:
[JBWS-3312] Replace usage of deprecated methods
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSWebServiceMetaDataBuilder.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSWebServiceMetaDataBuilder.java 2011-06-14
14:23:11 UTC (rev 14550)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSWebServiceMetaDataBuilder.java 2011-06-14
14:28:55 UTC (rev 14551)
@@ -376,7 +376,7 @@
}
// MTOM settings
- if (portComp.isEnableMtom())
+ if (portComp.isMtomEnabled())
{
log.debug("Enabling MTOM");
MTOMFeature feature = new MTOMFeature(true,
portComp.getMtomThreshold());
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/wsdd/TestWSDDParser.java
===================================================================
---
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/wsdd/TestWSDDParser.java 2011-06-14
14:23:11 UTC (rev 14550)
+++
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/wsdd/TestWSDDParser.java 2011-06-14
14:28:55 UTC (rev 14551)
@@ -70,7 +70,7 @@
assertTrue(portComp.getWsdlService().getLocalPart().equals("WSDDEndpointImplService"));
// mtom
- assertTrue(portComp.isEnableMtom());
+ assertTrue(portComp.isMtomEnabled());
// handler chains
UnifiedHandlerChainMetaData handlerChain =
portComp.getHandlerChains().getHandlerChains().get(0);