|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.core.util.SOAPUtil
public class SOAPUtil
Utility class dealing with SAAJ
Constructor Summary | |
---|---|
SOAPUtil()
|
Method Summary | |
---|---|
static void |
addData(Source data,
SOAPMessage soapMessage)
Add content to SOAPMessage |
static SOAPMessage |
create()
Create an empty SOAPMessage |
static SOAPMessage |
createFault(String message)
Given a string message, create a SOAPFault |
static SOAPMessage |
createFault12(String message)
Given a string message, create a SOAPFault that is SOAP 1.2 |
static SOAPMessage |
createSOAP12()
Create a SOAP 1.2 Message |
static SOAPMessage |
getSOAP12Message(InputStream is)
Given a stream of SOAPMessage that is SOAP 1.2, construct the SOAPMessage |
static Document |
getSOAPData(SOAPMessage soapMessage)
Given a SOAPMessage , get the content as a Document |
static SOAPMessage |
getSOAPMessage(InputStream is)
Given a stream of SOAPMessage , construct the SOAPMessage |
static boolean |
isSOAP12(SOAPMessage soapMessage)
Determine if a SOAPMessage is SOAP 1.2 |
static String |
soapMessageAsString(SOAPMessage soapMessage)
Utility method to dump soapMessage to String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOAPUtil()
Method Detail |
---|
public static SOAPMessage create() throws SOAPException
SOAPMessage
SOAPException
public static SOAPMessage createSOAP12() throws SOAPException
SOAPException
public static SOAPMessage getSOAPMessage(InputStream is) throws IOException, SOAPException
SOAPMessage
, construct the SOAPMessage
is
-
IOException
SOAPException
public static SOAPMessage getSOAP12Message(InputStream is) throws IOException, SOAPException
SOAPMessage
that is SOAP 1.2, construct the SOAPMessage
is
-
IOException
SOAPException
public static SOAPMessage createFault(String message) throws SOAPException
SOAPFault
message
-
SOAPException
public static SOAPMessage createFault12(String message) throws SOAPException
SOAPFault
that is SOAP 1.2
message
-
SOAPException
public static Document getSOAPData(SOAPMessage soapMessage) throws SOAPException
SOAPMessage
, get the content as a Document
soapMessage
-
SOAPException
public static boolean isSOAP12(SOAPMessage soapMessage) throws SOAPException
soapMessage
-
SOAPException
public static void addData(Source data, SOAPMessage soapMessage) throws SOAPException
SOAPMessage
data
- soapMessage
-
SOAPException
public static String soapMessageAsString(SOAPMessage soapMessage)
soapMessage
-
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |