1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.springframework.ws.soap.axiom;
18
19 import org.apache.axiom.om.OMAbstractFactory;
20 import org.apache.axiom.soap.SOAPFactory;
21 import org.springframework.ws.soap.SoapEnvelope;
22 import org.springframework.ws.soap.soap12.AbstractSoap12EnvelopeTestCase;
23
24 public class AxiomSoap12EnvelopeTest extends AbstractSoap12EnvelopeTestCase {
25
26 @Override
27 protected SoapEnvelope createSoapEnvelope() throws Exception {
28 SOAPFactory axiomFactory = OMAbstractFactory.getSOAP12Factory();
29 AxiomSoapMessage axiomSoapMessage = new AxiomSoapMessage(axiomFactory);
30 return axiomSoapMessage.getEnvelope();
31 }
32 }