Codota Logo
JaxwsModule
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
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

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now