}
public void testHeaderCreationFromMsgCtxtInformation() throws Exception {
msgCtxt = new MessageContext(null);
AnyContentType referenceValues = new AnyContentType();
EndpointReference epr = new EndpointReference("http://www.from.org/service/");
referenceValues.addReferenceValue(new QName("Reference2"),
"Value 200");
epr.setReferenceParameters(referenceValues);
msgCtxt.setFrom(epr);
epr = new EndpointReference("http://www.to.org/service/");
referenceValues = new AnyContentType();
referenceValues.addReferenceValue(
new QName("http://reference.org", "Reference4", "myRef"),
"Value 400");
referenceValues.addReferenceValue(
new QName("http://reference.org", "Reference3", "myRef"),
"Value 300");
epr.setReferenceParameters(referenceValues);
epr.setServiceName(