com.predic8.wsdl.Registry.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of soa-model-core Show documentation
Show all versions of soa-model-core Show documentation
Membrane SOA Model is an open-source toolkit and Java API for WSDL and XML Schema, licensed under ASF 2.0. that can:
Parse, create or modify a WSDL or XML Schema Document from Java
Compare two WSDL or XML Schema Documents
Create a SOAP Request or Template
Analyze a WSDL or Schema document and generate an HMTL report
package com.predic8.wsdl
class Registry {
def wsdls = [:]
void add(Definitions definitions) {
if(wsdls[definitions.targetNamespace]) wsdls[definitions.targetNamespace] << definitions
else wsdls[definitions.targetNamespace] = [definitions]
}
List getWsdls(String ns) {
wsdls[ns]
}
List getAllWsdls() {
wsdls.values().flatten().unique()
}
String toString() {
wsdls.toString()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy