1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.springframework.ws.soap.saaj;
18
19 import javax.xml.soap.MessageFactory;
20 import javax.xml.soap.SOAPConstants;
21
22 import org.springframework.ws.WebServiceMessageFactory;
23 import org.springframework.ws.soap.soap12.AbstractSoap12MessageFactoryTestCase;
24
25 public class SaajSoap12MessageFactoryTest extends AbstractSoap12MessageFactoryTestCase {
26
27 @Override
28 protected WebServiceMessageFactory createMessageFactory() throws Exception {
29 MessageFactory messageFactory = MessageFactory.newInstance(SOAPConstants.SOAP_1_2_PROTOCOL);
30 return new SaajSoapMessageFactory(messageFactory);
31 }
32 }