Spring Web Services Framework

org.springframework.ws.soap.support
Class SoapUtils

java.lang.Object
  extended by 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

Method Summary
static String escapeAction(String soapAction)
          Escapes the given SOAP action to be surrounded by quotes.
static String extractActionFromContentType(String contentType)
          Returns the value of the action parameter in the given SOAP 1.2 content type.
static String setActionInContentType(String contentType, String action)
          Replaces or adds the value of the action parameter in the given SOAP 1.2 content type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.