protected void addReferencedDataTypeDefinitions(EndpointInterface ei) { LinkedList<Element> contextStack = new LinkedList<>(); contextStack.push(ei); try { for (WebMethod webMethod : ei.getWebMethods()) { addReferencedTypeDefinitions(webMethod, contextStack); } } finally { contextStack.pop(); } }
/** * The set of namespace URIs that this web service references. * * @return The set of namespace URIs that this web service references. */ public Set<String> getReferencedNamespaces() { HashSet<String> namespaces = new HashSet<String>(); namespaces.add(getTargetNamespace()); Collection<WebMethod> webMethods = getWebMethods(); for (WebMethod webMethod : webMethods) { namespaces.addAll(webMethod.getReferencedNamespaces()); } return namespaces; }
public List<WebMessage> getWebMessages() { ArrayList<WebMessage> messages = new ArrayList<WebMessage>(); HashSet<String> foundFaults = new HashSet<String>(); for (EndpointInterface ei : getEndpointInterfaces()) { Collection<WebMethod> webMethods = ei.getWebMethods(); for (WebMethod method : webMethods) { for (WebMessage webMessage : method.getMessages()) { if (webMessage.isFault() && !foundFaults.add(((WebFault) webMessage).getQualifiedName().toString())) { continue; } messages.add(webMessage); } } } return messages; }
@Override public List<? extends Operation> getOperations() { ArrayList<Operation> operations = new ArrayList<Operation>(); FacetFilter facetFilter = this.ei.getContext().getContext().getConfiguration().getFacetFilter(); for (WebMethod webMethod : this.ei.getWebMethods()) { if (facetFilter.accept(webMethod)) { operations.add(new OperationImpl(webMethod, this, registrationContext)); } } return operations; }
packageToNamespaceConversions.put(pckg, packageToNamespace(pckg)); for (WebMethod webMethod : ei.getWebMethods()) { for (WebFault webFault : webMethod.getWebFaults()) { allFaults.put(webFault.getQualifiedName().toString(), webFault);
packageToNamespaceConversions.put(pckg, packageToNamespace(pckg)); for (WebMethod webMethod : ei.getWebMethods()) { for (WebFault webFault : webMethod.getWebFaults()) { allFaults.put(webFault.getQualifiedName().toString(), webFault);
for (WebMethod webMethod : ei.getWebMethods()) { for (WebMessage webMessage : webMethod.getMessages()) { for (WebMessagePart messagePart : webMessage.getParts()) {
for (EndpointInterface ei : wsdlInfo.getEndpointInterfaces()) { if (facetFilter.accept(ei)) { for (WebMethod webMethod : ei.getWebMethods()) { if (facetFilter.accept(webMethod)) { for (WebMessage webMessage : webMethod.getMessages()) {
for (EndpointInterface ei : wsdlInfo.getEndpointInterfaces()) { if (facetFilter.accept(ei)) { for (WebMethod webMethod : ei.getWebMethods()) { if (facetFilter.accept(webMethod)) { for (WebMessage webMessage : webMethod.getMessages()) {
if (this.jaxwsModule != null) { for (EndpointInterface ei : this.jaxwsModule.getJaxwsContext().getEndpointInterfaces()) { for (WebMethod method : ei.getWebMethods()) { if (method.getAnnotation(DocumentationExample.class) != null && !method.getAnnotation(DocumentationExample.class).exclude()) { return method;
if (this.jaxwsModule != null) { for (EndpointInterface ei : this.jaxwsModule.getJaxwsContext().getEndpointInterfaces()) { for (WebMethod method : ei.getWebMethods()) { if (method.getAnnotation(DocumentationExample.class) != null && !method.getAnnotation(DocumentationExample.class).exclude()) { return method;
if (this.jaxwsModule != null && this.jaxwsModule.getJaxwsContext() != null) { for (EndpointInterface ei : this.jaxwsModule.getJaxwsContext().getEndpointInterfaces()) { for (WebMethod method : ei.getWebMethods()) { if (method.getAnnotation(DocumentationExample.class) != null && !method.getAnnotation(DocumentationExample.class).exclude()) { return method;
if (this.jaxwsModule != null && this.jaxwsModule.getJaxwsContext() != null) { for (EndpointInterface ei : this.jaxwsModule.getJaxwsContext().getEndpointInterfaces()) { for (WebMethod method : ei.getWebMethods()) { if (method.getAnnotation(DocumentationExample.class) != null && !method.getAnnotation(DocumentationExample.class).exclude()) { return method;
for (EndpointInterface ei : this.jaxwsModule.getJaxwsContext().getEndpointInterfaces()) { Map<String, javax.lang.model.element.Element> paramsByName = new HashMap<String, javax.lang.model.element.Element>(); for (WebMethod webMethod : ei.getWebMethods()) { for (WebParam webParam : webMethod.getWebParameters()) {
for (EndpointInterface ei : this.jaxwsModule.getJaxwsContext().getEndpointInterfaces()) { Map<String, javax.lang.model.element.Element> paramsByName = new HashMap<String, javax.lang.model.element.Element>(); for (WebMethod webMethod : ei.getWebMethods()) { for (WebParam webParam : webMethod.getWebParameters()) {