public class SOAPTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private String |
expectedFaultActor |
private QName |
expectedFaultCode |
private String |
expectedFaultString |
private String |
soapFault
Path, on classpath, to SOAP fault test document.
|
private String |
soapFaultMarshall
Path, on classpath, to SOAP fault test document.
|
private String |
soapMessage
Path, on classpath, to SOAP message test document.
|
| Constructor and Description |
|---|
SOAPTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testSOAPFault()
Test unmarshalling a SOAP fault, dropping its DOM representation and then remarshalling it.
|
void |
testSOAPFaultBuilders()
Test that the no-arg SOAP fault-related builders are operating correcting, i.e.
|
void |
testSOAPFaultConstructAndMarshall()
Test constructing and marshalling a SOAP fault message.
|
void |
testSOAPMessage()
Test unmarshalling a SOAP message, dropping its DOM representation and then remarshalling it.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementprivate String soapMessage
private String soapFault
private String soapFaultMarshall
private QName expectedFaultCode
private String expectedFaultString
private String expectedFaultActor
public void testSOAPMessage()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserException - thrown if the XML document can not be located or parsed into a DOMorg.opensaml.core.xml.io.UnmarshallingException - thrown if the DOM can not be unmarshalledpublic void testSOAPFault()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserException - thrown if the XML document can not be located or parsed into a DOMorg.opensaml.core.xml.io.UnmarshallingException - thrown if the DOM can not be unmarshalledpublic void testSOAPFaultConstructAndMarshall()
throws org.opensaml.core.xml.io.MarshallingException,
net.shibboleth.utilities.java.support.xml.XMLParserException
org.opensaml.core.xml.io.MarshallingException - if the DOM can not b marshallednet.shibboleth.utilities.java.support.xml.XMLParserExceptionpublic void testSOAPFaultBuilders()
Copyright © 1999–2015. All rights reserved.