Class FSSOAPService
- java.lang.Object
-
- com.sun.identity.federation.services.FSSOAPService
-
public class FSSOAPService extends Object
Utils to handle SOAP profiles.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.xml.soap.SOAPMessagebind(String xmlString)StringcreateSOAPReceiverUrl(jakarta.servlet.http.HttpServletResponse response, com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType partnerDecriptor, boolean needAuthn)jakarta.xml.soap.SOAPMessagedoSyncCall(jakarta.servlet.http.HttpServletResponse response, jakarta.xml.soap.SOAPMessage msg, com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType partnerDecriptor, boolean needAuthn)jakarta.xml.soap.SOAPMessageformSOAPError(String faultcode, String faultString, String detail)Forms a SOAP Fault and puts it in the SOAP Message's Body.static FSSOAPServicegetInstance()Returns an instance ofFSSOAPServiceinstance.ElementparseSOAPMessage(jakarta.xml.soap.SOAPMessage message)jakarta.xml.soap.SOAPMessagesendMessage(jakarta.xml.soap.SOAPMessage msg, String soapEndPoint)booleansendTerminationMessage(jakarta.xml.soap.SOAPMessage msg, String soapEndPoint)
-
-
-
Method Detail
-
bind
public jakarta.xml.soap.SOAPMessage bind(String xmlString)
-
sendMessage
public jakarta.xml.soap.SOAPMessage sendMessage(jakarta.xml.soap.SOAPMessage msg, String soapEndPoint) throws IOException, jakarta.xml.soap.SOAPException- Throws:
IOExceptionjakarta.xml.soap.SOAPException
-
sendTerminationMessage
public boolean sendTerminationMessage(jakarta.xml.soap.SOAPMessage msg, String soapEndPoint)
-
parseSOAPMessage
public Element parseSOAPMessage(jakarta.xml.soap.SOAPMessage message)
-
doSyncCall
public jakarta.xml.soap.SOAPMessage doSyncCall(jakarta.servlet.http.HttpServletResponse response, jakarta.xml.soap.SOAPMessage msg, com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType partnerDecriptor, boolean needAuthn) throws IOException, jakarta.xml.soap.SOAPException- Throws:
IOExceptionjakarta.xml.soap.SOAPException
-
createSOAPReceiverUrl
public String createSOAPReceiverUrl(jakarta.servlet.http.HttpServletResponse response, com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType partnerDecriptor, boolean needAuthn) throws IOException
- Throws:
IOException
-
formSOAPError
public jakarta.xml.soap.SOAPMessage formSOAPError(String faultcode, String faultString, String detail)
Forms a SOAP Fault and puts it in the SOAP Message's Body.- Parameters:
faultcode- fault code to be set in SOAPMEssagefaultString- fault stringdetail- the details of the fault condition- Returns:
SOAPMessagecontaining the SOAP fault
-
getInstance
public static FSSOAPService getInstance()
Returns an instance ofFSSOAPServiceinstance.- Returns:
- an instance of
FSSOAPServiceinstance.
-
-