Class SoapUtils
java.lang.Object
org.springframework.ws.soap.support.SoapUtils
Contains various utility methods for handling SOAP messages.
- Since:
- 1.5.5
- Author:
- Arjen Poutsma, Greg Turnquist
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Method Details
-
escapeAction
Escapes the given SOAP action to be surrounded by quotes. -
extractActionFromContentType
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
Replaces or adds the value of the action parameter in the given SOAP 1.2 content type.- Parameters:
contentType
- the SOAP 1.2 content typeaction
- the action- Returns:
- the new content type
-