5354555657585960616263
env = factory.createSOAPEnvelope(); factory.createSOAPBody(env); checkAddChild(env, false); factory = new SOAP11Factory(); env = factory.createSOAPEnvelope(); factory.createSOAPHeader(env); factory.createSOAPBody(env); checkAddChild(env, false); }
3334353637383940414243
public abstract class CommandBuilderTestUtils { public static MessageContext getMCWithSOAP11Envelope() throws AxisFault { MessageContext messageContext = new MessageContext(); SOAPFactory factory = new SOAP11Factory(); SOAPEnvelope envelope = factory.createSOAPEnvelope(); messageContext.setEnvelope(envelope); return messageContext; } public static MessageContext getMCWithSOAP12Envelope() throws AxisFault {
103104105106107108109110111112113
TestLogger.logger.debug("test: " + getName()); OMElement payload = createPayload(); SOAPFactory factory = new SOAP11Factory(); SOAPEnvelope env = factory.createSOAPEnvelope(); SOAPBody body = factory.createSOAPBody(env); body.addChild(payload); OMOutputFormat format = new OMOutputFormat();
104105106107108109110111112113114
8687888990919293949596