Class SoapUtils

java.lang.Object
org.springframework.ws.soap.support.SoapUtils

public abstract class SoapUtils extends Object
Contains various utility methods for handling SOAP messages.
Since:
1.5.5
Author:
Arjen Poutsma, Greg Turnquist
  • Method Details

    • escapeAction

      public static String escapeAction(String soapAction)
      Escapes the given SOAP action to be surrounded by quotes.
    • extractActionFromContentType

      public static String extractActionFromContentType(String contentType)
      Returns the value of the action parameter in the given SOAP 1.2 content type.
      Parameters:
      contentType - the SOAP 1.2 content type
      Returns:
      the action
    • setActionInContentType

      public static String setActionInContentType(String contentType, String action)
      Replaces or adds the value of the action parameter in the given SOAP 1.2 content type.
      Parameters:
      contentType - the SOAP 1.2 content type
      action - the action
      Returns:
      the new content type