@Test public void renderTpicContextToResult() { final Map<String, String> context = new HashMap<>(); context.put("myKey", "myValue"); context.put("myKey2", "myValue2"); final StringWriter writer = new StringWriter(); unit.renderSoapHeader(context, new StreamResult(writer)); assertThat(writer.toString(), containsString("<entry key=\"myKey\">myValue</entry>")); assertThat(writer.toString(), containsString("<entry key=\"myKey2\">myValue2</entry>")); }
public void renderSoapHeader(final Map<String, String> context, final SOAPHeader soapHeader) { renderSoapHeader(SOAP_HEADER_MARSHALLER, context, soapHeader); }
SoapHeaderTransport { public void renderSoapHeader(final Map<String, String> context, final SOAPHeader soapHeader) { renderSoapHeader(SOAP_HEADER_MARSHALLER, context, soapHeader); } }
SoapHeaderTransport { public void renderSoapHeader(final Map<String, String> context, final SOAPHeader soapHeader) { renderSoapHeader(SOAP_HEADER_MARSHALLER, context, soapHeader); } SoapHeaderTransport(); }
SoapHeaderTransport { public void renderSoapHeader(final Map<String, String> context, final SOAPHeader soapHeader) { renderSoapHeader(SOAP_HEADER_MARSHALLER, context, soapHeader); } SoapHeaderTransport(); Map<String, String> parseSoapHeader(final Element soapHeader); Map<String, String> parseTpicHeader(final Element element); Map<String, String> parseTpicHeader(final Source source); void renderSoapHeader(final Map<String, String> context, final SOAPHeader soapHeader); void renderSoapHeader(final Map<String, String> context, final Result result); }
SoapHeaderTransport { public void renderSoapHeader(final Map<String, String> context, final SOAPHeader soapHeader) { renderSoapHeader(SOAP_HEADER_MARSHALLER, context, soapHeader); } SoapHeaderTransport(); Map<String, String> parseSoapHeader(final Element soapHeader); Map<String, String> parseTpicHeader(final Element element); Map<String, String> parseTpicHeader(final Source source); void renderSoapHeader(final Map<String, String> context, final SOAPHeader soapHeader); void renderSoapHeader(final Map<String, String> context, final Result result);  }