public com.oracle.webservices.internal.api.message.MessageContext createContext(Source m) { throwIfIllegalMessageArgument(m); return packet(Messages.create(m, SOAPVersion.from(singleSoapStyle))); }
static void create(SOAPVersion v, List c) { int base = v.ordinal() * 3; c.add(base, new TagInfoset(v.nsUri, "Envelope", "S", EMPTY_ATTS, "S", v.nsUri)); c.add(base + 1, new TagInfoset(v.nsUri, "Header", "S", EMPTY_ATTS)); c.add(base + 2, new TagInfoset(v.nsUri, "Body", "S", EMPTY_ATTS)); }
public MessageContext createContext( Source m, com.oracle.webservices.internal.api.EnvelopeStyle.Style envelopeStyle) { throwIfIllegalMessageArgument(m); return packet(Messages.create(m, SOAPVersion.from(envelopeStyle))); }