Class FSSOAPService


  • public class FSSOAPService
    extends Object
    Utils to handle SOAP profiles.
    • 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 SOAPMEssage
        faultString - fault string
        detail - the details of the fault condition
        Returns:
        SOAPMessage containing the SOAP fault
      • getInstance

        public static FSSOAPService getInstance()
        Returns an instance of FSSOAPService instance.
        Returns:
        an instance of FSSOAPService instance.