MessageTests
Tests to create and validate Message processing
These are not client/server tests. Instead the tests simulate the processing of a Message during
client/server processing.
_testStringOutflowDoubleElement() Create a Block representing an XMLString with 2 elements and simulate a
normal Dispatch flow with an application handler.
public void
_testStringOutflowEmptyString() Create a Block representing an empty XMLString and simulate a
normal Dispatch flow with an application handler.
throws: Exception - DISABLED THIS TEST.
testJAXBOutflowPerf() Same as JAXBOutputflow, but has an additional check
to make sure that the JAXB serialization is deferrred
until the actual serialization of the message.
testStringOutflow() Create a Block representing an XMLString and simulate a
normal Dispatch flow.
In addition the test makes sure that the XMLString block is not
expanded during this process.
public void
testStringOutflow2() Create a Block representing an XMLString and simulate a
normal Dispatch flow with an application handler.
public void _testStringInflow4(String sampleEnvelopeNoHeader) throws Exception(Code)
_testStringOutflowDoubleElement
public void _testStringOutflowDoubleElement() throws Exception(Code)
Create a Block representing an XMLString with 2 elements and simulate a
normal Dispatch flow with an application handler.
throws: Exception -
_testStringOutflowEmptyString
public void _testStringOutflowEmptyString() throws Exception(Code)
Create a Block representing an empty XMLString and simulate a
normal Dispatch flow with an application handler.
throws: Exception - DISABLED THIS TEST. THE TEST IS NOT VALID BECAUSE AN ATTEMPT WAS MADE TO ADD A BLOCK THAT IS NOT AN ELEMENT.
Same as JAXBOutputflow, but has an additional check
to make sure that the JAXB serialization is deferrred
until the actual serialization of the message.
throws: Exception -
testStringInflow2_soap11
public void testStringInflow2_soap11() throws Exception(Code)
Create a Block representing an XMLString and simulate a
normal Dispatch input flow with a JAX-WS Handler
throws: Exception -
testStringInflow2_soap12
public void testStringInflow2_soap12() throws Exception(Code)
testStringInflow3_soap11
public void testStringInflow3_soap11() throws Exception(Code)
Create a Block representing an XMLString and simulate a
normal Dispatch input flow with a JAX-WS Handler that needs the whole Message
throws: Exception -
testStringInflow3_soap12
public void testStringInflow3_soap12() throws Exception(Code)
testStringInflow4_soap11
public void testStringInflow4_soap11() throws Exception(Code)
Create a Block representing an XMLString, but this time use one that
doesn't have a <soap:Header> element in it.
throws: Exception -
testStringInflow4_soap12
public void testStringInflow4_soap12() throws Exception(Code)
testStringInflow_soap11
public void testStringInflow_soap11() throws Exception(Code)
Create a Block representing an XMLString and simulate a
normal Dispatch input flow
throws: Exception -
testStringInflow_soap12
public void testStringInflow_soap12() throws Exception(Code)
Create a Block representing an XMLString and simulate a
normal Dispatch flow.
In addition the test makes sure that the XMLString block is not
expanded during this process. (Expanding the block degrades performance).
throws: Exception -