congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JaxwsModule
Code IndexAdd Tabnine to your IDE (free)

How to use
JaxwsModule
in
com.webcohesion.enunciate.modules.jaxws

Best Java code snippets using com.webcohesion.enunciate.modules.jaxws.JaxwsModule (Showing top 20 results out of 315)

origin: stoicflame/enunciate

if (this.jaxwsModule != null) {
 HashMap<String, WebFault> allFaults = new HashMap<String, WebFault>();
 for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) {
  for (EndpointInterface ei : wsdlInfo.getEndpointInterfaces()) {
   String pckg = ei.getPackage().getQualifiedName().toString();
origin: stoicflame/enunciate

@Override
public void call(EnunciateContext context) {
 jaxwsContext = new EnunciateJaxwsContext(this.jaxbModule.getJaxbContext(), isUseSourceParameterNames());
 boolean aggressiveWebMethodExcludePolicy = isAggressiveWebMethodExcludePolicy();
 File sunJaxwsXmlFile = getSunJaxwsXmlFile();
 if (sunJaxwsXmlFile != null) {
  XMLConfiguration config;
 DataTypeDetectionStrategy detectionStrategy = getDataTypeDetectionStrategy();
 if (detectionStrategy != DataTypeDetectionStrategy.passive) {
  Set<? extends Element> elements = detectionStrategy == DataTypeDetectionStrategy.local ? context.getLocalApiElements() : context.getApiElements();
    if (isEndpointInterface(element)) {
     EndpointInterface ei = new EndpointInterface(element, elements, aggressiveWebMethodExcludePolicy, jaxwsContext);
     for (EndpointImplementation implementation : ei.getEndpointImplementations()) {
     addReferencedDataTypeDefinitions(ei);
origin: stoicflame/enunciate

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();
 }
}
origin: stoicflame/enunciate

public File getSunJaxwsXmlFile() {
 File sunJaxwsXmlFile = null;
 String configuredSunJaxwsXmlFile = this.config.getString("[@sun-jaxws-xml-file]", null);
 if (configuredSunJaxwsXmlFile != null) {
  sunJaxwsXmlFile = resolveFile(configuredSunJaxwsXmlFile);
 }
 else if (this.webInfDir != null) {
  sunJaxwsXmlFile = new File(this.webInfDir, "sun-jaxws.xml");
 }
 if (sunJaxwsXmlFile != null && sunJaxwsXmlFile.exists()) {
  return sunJaxwsXmlFile;
 }
 return null;
}
origin: com.webcohesion.enunciate/enunciate-csharp-xml-client

if (this.jaxwsModule != null) {
 HashMap<String, WebFault> allFaults = new HashMap<String, WebFault>();
 for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) {
  for (EndpointInterface ei : wsdlInfo.getEndpointInterfaces()) {
   String pckg = ei.getPackage().getQualifiedName().toString();
origin: stoicflame/enunciate

protected void addReferencedTypeDefinitions(WebMethod webMethod, LinkedList<Element> contextStack) {
 contextStack.push(webMethod);
 try {
  WebResult result = webMethod.getWebResult();
  this.jaxbModule.getJaxbContext().addReferencedTypeDefinitions(result.isAdapted() ? result.getAdapterType() : result.getType(), contextStack);
  for (WebParam webParam : webMethod.getWebParameters()) {
   this.jaxbModule.getJaxbContext().addReferencedTypeDefinitions(webParam.isAdapted() ? webParam.getAdapterType() : webParam.getType(), contextStack);
  }
  for (WebFault webFault : webMethod.getWebFaults()) {
   addReferencedTypeDefinitions(webFault, contextStack);
  }
 }
 finally {
  contextStack.pop();
 }
}
origin: stoicflame/enunciate

protected File copyResources() {
 File resourcesDir = getResourcesDir();
 resourcesDir.mkdirs();
 try {
  if (this.jaxwsModule != null) {
   for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) {
    if (wsdlInfo.getWsdlFile() != null) {
     wsdlInfo.getWsdlFile().writeTo(resourcesDir);
    }
   }
  }
  for (SchemaInfo schemaInfo : this.jaxbModule.getJaxbContext().getSchemas().values()) {
   if (schemaInfo.getSchemaFile() != null) {
    schemaInfo.getSchemaFile().writeTo(resourcesDir);
   }
  }
 }
 catch (IOException e) {
  throw new EnunciateException(e);
 }
 return resourcesDir;
}
origin: com.webcohesion.enunciate/enunciate-java-xml-client

protected File copyResources() {
 File resourcesDir = getResourcesDir();
 resourcesDir.mkdirs();
 try {
  if (this.jaxwsModule != null) {
   for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) {
    if (wsdlInfo.getWsdlFile() != null) {
     wsdlInfo.getWsdlFile().writeTo(resourcesDir);
    }
   }
  }
  for (SchemaInfo schemaInfo : this.jaxbModule.getJaxbContext().getSchemas().values()) {
   if (schemaInfo.getSchemaFile() != null) {
    schemaInfo.getSchemaFile().writeTo(resourcesDir);
   }
  }
 }
 catch (IOException e) {
  throw new EnunciateException(e);
 }
 return resourcesDir;
}
origin: stoicflame/enunciate

Collection<WsdlInfo> wsdls = new ArrayList<WsdlInfo>();
if (this.jaxwsModule != null) {
 wsdls = this.jaxwsModule.getJaxwsContext().getWsdls().values();
origin: com.webcohesion.enunciate/enunciate-csharp-xml-client

Collection<WsdlInfo> wsdls = new ArrayList<WsdlInfo>();
if (this.jaxwsModule != null) {
 wsdls = this.jaxwsModule.getJaxwsContext().getWsdls().values();
origin: stoicflame/enunciate

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()) {
origin: stoicflame/enunciate

for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) {
 for (EndpointInterface ei : wsdlInfo.getEndpointInterfaces()) {
  if (facetFilter.accept(ei)) {
for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) {
 if (wsdlInfo.getWsdlFile() == null) {
  throw new EnunciateException("WSDL " + wsdlInfo.getId() + " doesn't have a filename.");
origin: com.webcohesion.enunciate/enunciate-csharp-xml-client

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()) {
origin: com.webcohesion.enunciate/enunciate-java-xml-client

for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) {
 for (EndpointInterface ei : wsdlInfo.getEndpointInterfaces()) {
  if (facetFilter.accept(ei)) {
for (WsdlInfo wsdlInfo : this.jaxwsModule.getJaxwsContext().getWsdls().values()) {
 if (wsdlInfo.getWsdlFile() == null) {
  throw new EnunciateException("WSDL " + wsdlInfo.getId() + " doesn't have a filename.");
origin: stoicflame/enunciate

ns2wsdl = this.jaxwsModule.getJaxwsContext().getWsdls();
origin: com.webcohesion.enunciate/enunciate-idl

ns2wsdl = this.jaxwsModule.getJaxwsContext().getWsdls();
origin: stoicflame/enunciate

WebMethod example = null;
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()) {
origin: stoicflame/enunciate

protected boolean usesUnmappableElements() {
 boolean usesUnmappableElements = false;
 if (this.jaxwsModule != null && this.jaxwsModule.getJaxwsContext() != null) {
  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()) {
origin: com.webcohesion.enunciate/enunciate-java-xml-client

WebMethod example = null;
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()) {
origin: com.webcohesion.enunciate/enunciate-csharp-xml-client

protected boolean usesUnmappableElements() {
 boolean usesUnmappableElements = false;
 if (this.jaxwsModule != null && this.jaxwsModule.getJaxwsContext() != null) {
  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()) {
com.webcohesion.enunciate.modules.jaxwsJaxwsModule

Most used methods

  • getJaxwsContext
  • addReferencedDataTypeDefinitions
  • addReferencedTypeDefinitions
  • getDataTypeDetectionStrategy
  • getSunJaxwsXmlFile
  • isAggressiveWebMethodExcludePolicy
  • isEndpointInterface
    A quick check to see if a declaration is an endpoint interface.
  • isUseSourceParameterNames
  • resolveFile

Popular in Java

  • Making http post requests using okhttp
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now