public class HTTPSOAP11EncoderTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Constructor and Description |
|---|
HTTPSOAP11EncoderTest() |
| Modifier and Type | Method and Description |
|---|---|
protected org.opensaml.core.xml.XMLObject |
parseUnmarshallResource(String resource,
boolean dropDOM) |
protected org.opensaml.core.xml.XMLObject |
parseUnmarshallResourceByteArray(byte[] input,
boolean dropDOM) |
void |
testBasicEncodingAsPayload()
Test basic encoding of a message in an envelope, using payload-oriented messaging.
|
void |
testBasicEncodingAsSOAPEnvelope()
Test basic encoding of a message in an envelope, using SOAP-message oriented messaging.
|
void |
testContextReturnStatus() |
void |
testEncodingAsPayloadWithHeader()
Test basic encoding of a message in an envelope, using payload-oriented messaging.
|
void |
testEncodingWithAction()
Test basic encoding of a message in an envelope, using payload-oriented messaging.
|
void |
testFaultAsMessage() |
void |
testFaultFromContextSignal() |
protected org.opensaml.core.xml.XMLObject |
unmarshallXMLObject(Document soapDoc,
boolean dropDOM) |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementpublic void testBasicEncodingAsPayload()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
org.opensaml.messaging.encoder.MessageEncodingException,
UnsupportedEncodingException,
net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionnet.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionorg.opensaml.messaging.encoder.MessageEncodingExceptionUnsupportedEncodingExceptionpublic void testBasicEncodingAsSOAPEnvelope()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
org.opensaml.messaging.encoder.MessageEncodingException,
UnsupportedEncodingException,
net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionnet.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionorg.opensaml.messaging.encoder.MessageEncodingExceptionUnsupportedEncodingExceptionpublic void testEncodingAsPayloadWithHeader()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
org.opensaml.messaging.encoder.MessageEncodingException,
UnsupportedEncodingException,
net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionnet.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionorg.opensaml.messaging.encoder.MessageEncodingExceptionUnsupportedEncodingExceptionpublic void testEncodingWithAction()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
org.opensaml.messaging.encoder.MessageEncodingException,
UnsupportedEncodingException,
net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionnet.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionorg.opensaml.messaging.encoder.MessageEncodingExceptionUnsupportedEncodingExceptionpublic void testFaultAsMessage()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
org.opensaml.messaging.encoder.MessageEncodingException,
net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionorg.opensaml.messaging.encoder.MessageEncodingExceptionnet.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testFaultFromContextSignal()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
org.opensaml.messaging.encoder.MessageEncodingException,
net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionorg.opensaml.messaging.encoder.MessageEncodingExceptionnet.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testContextReturnStatus()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
org.opensaml.messaging.encoder.MessageEncodingException,
net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionorg.opensaml.messaging.encoder.MessageEncodingExceptionnet.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionprotected org.opensaml.core.xml.XMLObject parseUnmarshallResource(String resource, boolean dropDOM) throws net.shibboleth.utilities.java.support.xml.XMLParserException, org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionprotected org.opensaml.core.xml.XMLObject parseUnmarshallResourceByteArray(byte[] input,
boolean dropDOM)
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionprotected org.opensaml.core.xml.XMLObject unmarshallXMLObject(Document soapDoc, boolean dropDOM) throws org.opensaml.core.xml.io.UnmarshallingException
org.opensaml.core.xml.io.UnmarshallingExceptionCopyright © 1999–2015. All rights reserved.