public class NamespaceUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
urnPatternWithoutVersion |
static Pattern |
urnPatternWithVersion |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
addWsdlVersionToNS(InputStream message,
String wsdlVersion)
Replaces all NetSuite namespaces in the message, adding the WsdlVersion in all namespaces.
|
static InputStream |
removeWsdlVersionFromNS(InputStream message)
Replaces all NetSuite namespaces in the message, removing the WsdlVersion in all namespaces.
|
public static final Pattern urnPatternWithVersion
public static final Pattern urnPatternWithoutVersion
public static InputStream addWsdlVersionToNS(InputStream message, String wsdlVersion) throws IOException
message - the request message.wsdlVersion - the wsdlVersion selected by the user.IOException - if an I/O error occurspublic static InputStream removeWsdlVersionFromNS(InputStream message) throws IOException
message - the response message.IOException - if an I/O error occursCopyright © 2025 MuleSoft, Inc.. All rights reserved.