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.SOAPMessage
bind(String xmlString)
String
createSOAPReceiverUrl(jakarta.servlet.http.HttpServletResponse response, com.sun.identity.liberty.ws.meta.jaxb.ProviderDescriptorType partnerDecriptor, boolean needAuthn)
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)
jakarta.xml.soap.SOAPMessage
formSOAPError(String faultcode, String faultString, String detail)
Forms a SOAP Fault and puts it in the SOAP Message's Body.static FSSOAPService
getInstance()
Returns an instance ofFSSOAPService
instance.Element
parseSOAPMessage(jakarta.xml.soap.SOAPMessage message)
jakarta.xml.soap.SOAPMessage
sendMessage(jakarta.xml.soap.SOAPMessage msg, String soapEndPoint)
boolean
sendTerminationMessage(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:
IOException
jakarta.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:
IOException
jakarta.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:
SOAPMessage
containing the SOAP fault
-
getInstance
public static FSSOAPService getInstance()
Returns an instance ofFSSOAPService
instance.- Returns:
- an instance of
FSSOAPService
instance.
-
-