public final class MetadataUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.mule.metadata.api.model.MetadataType |
buildNetsuiteSoapAttributeMetadataObject(org.mule.metadata.api.model.MetadataType attachments,
org.mule.metadata.api.model.MetadataType soaHeaders,
org.mule.metadata.api.builder.BaseTypeBuilder baseTypeBuilder) |
static org.mule.metadata.api.model.MetadataType |
buildNetsuiteSoapAttributeMetadataObject(org.mule.wsdl.parser.model.operation.Type outputType,
org.mule.metadata.api.builder.BaseTypeBuilder baseTypeBuilder) |
static org.mule.wsdl.parser.model.operation.Type |
removeWsdlVersionInType(org.mule.wsdl.parser.model.operation.Type type,
Optional<WsdlVersion> wsdlVersion)
If there is a Wsdl Version selected, this method removes the wsdl version of all namespaces in Message, Body and Headers of
Metadata Type.
|
static void |
replaceWsdlVersionInMetadataTypeIfPossible(org.mule.metadata.api.model.MetadataType type,
Optional<WsdlVersion> wsdlVersion)
Recursively loop through all fields of the MetadataType object removing the wsdl version in all namespaces
|
public static org.mule.metadata.api.model.MetadataType buildNetsuiteSoapAttributeMetadataObject(org.mule.wsdl.parser.model.operation.Type outputType,
org.mule.metadata.api.builder.BaseTypeBuilder baseTypeBuilder)
public static org.mule.metadata.api.model.MetadataType buildNetsuiteSoapAttributeMetadataObject(org.mule.metadata.api.model.MetadataType attachments,
org.mule.metadata.api.model.MetadataType soaHeaders,
org.mule.metadata.api.builder.BaseTypeBuilder baseTypeBuilder)
public static org.mule.wsdl.parser.model.operation.Type removeWsdlVersionInType(org.mule.wsdl.parser.model.operation.Type type,
Optional<WsdlVersion> wsdlVersion)
throws org.mule.runtime.api.metadata.MetadataResolvingException
type - the metadata type from the namespaces will be removedwsdlVersion - wsdl version to be removedorg.mule.runtime.api.metadata.MetadataResolvingException - if a Metadata Error occurspublic static void replaceWsdlVersionInMetadataTypeIfPossible(org.mule.metadata.api.model.MetadataType type,
Optional<WsdlVersion> wsdlVersion)
throws org.mule.runtime.api.metadata.MetadataResolvingException
type - the Metadata object where the wsdl version will be removedwsdlVersion - wsdl version to be removedorg.mule.runtime.api.metadata.MetadataResolvingException - if a Metadata Error occursCopyright © 2025 MuleSoft, Inc.. All rights reserved.