Tabnine Logo
WSDLUtil.registerDefaultExtensionAttributeTypes
Code IndexAdd Tabnine to your IDE (free)

How to use
registerDefaultExtensionAttributeTypes
method
in
org.apache.axis2.wsdl.WSDLUtil

Best Java code snippets using org.apache.axis2.wsdl.WSDLUtil.registerDefaultExtensionAttributeTypes (Showing top 4 results out of 315)

origin: apache/axis2-java

/**
 * This will be called to configure the WSDLReader instance.
 */
public void configureReaderInstance(WSDLReader reader) throws WSDLException 
{
  // prevent the WSDLReader instance from using the System.out
  // stream for messages and logging
  reader.setFeature(com.ibm.wsdl.Constants.FEATURE_VERBOSE, false);
  
  WSDLFactory factory = WSDLFactory.newInstance();
  ExtensionRegistry extRegistry = reader.getExtensionRegistry();
  if (extRegistry == null) {
    extRegistry = factory.newPopulatedExtensionRegistry();
  }
  
  WSDLUtil.registerDefaultExtensionAttributeTypes(extRegistry);
  reader.setExtensionRegistry(extRegistry);
}
origin: org.apache.axis2/axis2-metadata

/**
 * This will be called to configure the WSDLReader instance.
 */
public void configureReaderInstance(WSDLReader reader) throws WSDLException 
{
  // prevent the WSDLReader instance from using the System.out
  // stream for messages and logging
  reader.setFeature(com.ibm.wsdl.Constants.FEATURE_VERBOSE, false);
  
  WSDLFactory factory = WSDLFactory.newInstance();
  ExtensionRegistry extRegistry = reader.getExtensionRegistry();
  if (extRegistry == null) {
    extRegistry = factory.newPopulatedExtensionRegistry();
  }
  
  WSDLUtil.registerDefaultExtensionAttributeTypes(extRegistry);
  reader.setExtensionRegistry(extRegistry);
}
origin: org.apache.axis2/axis2-kernel

  /**
   * Creates a new WSDLReader and configures it with a {@link WSDLFactory#newPopulatedExtensionRegistry()} if it does not specify an extension registry.
   * The method will register default extension attribute types in WSDLReader's {@link WSDLReader#getExtensionRegistry() extensionRegistry},
   * see {@link #registerDefaultExtensionAttributeTypes(ExtensionRegistry)}. 
   * 
   * @return The newly created WSDLReader instance.
   * @throws WSDLException
   */
  public static WSDLReader newWSDLReaderWithPopulatedExtensionRegistry()
      throws WSDLException {
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader reader = wsdlFactory.newWSDLReader();

    ExtensionRegistry extensionRegistry = reader.getExtensionRegistry();
    if (extensionRegistry == null) {
      extensionRegistry = wsdlFactory.newPopulatedExtensionRegistry();
    }
    
    WSDLUtil.registerDefaultExtensionAttributeTypes(extensionRegistry);
    
    reader.setExtensionRegistry(extensionRegistry);
    
    return reader;
  }
}
origin: apache/axis2-java

  /**
   * Creates a new WSDLReader and configures it with a {@link WSDLFactory#newPopulatedExtensionRegistry()} if it does not specify an extension registry.
   * The method will register default extension attribute types in WSDLReader's {@link WSDLReader#getExtensionRegistry() extensionRegistry},
   * see {@link #registerDefaultExtensionAttributeTypes(ExtensionRegistry)}. 
   * 
   * @return The newly created WSDLReader instance.
   * @throws WSDLException
   */
  public static WSDLReader newWSDLReaderWithPopulatedExtensionRegistry()
      throws WSDLException {
    WSDLFactory wsdlFactory = WSDLFactory.newInstance();
    WSDLReader reader = wsdlFactory.newWSDLReader();

    ExtensionRegistry extensionRegistry = reader.getExtensionRegistry();
    if (extensionRegistry == null) {
      extensionRegistry = wsdlFactory.newPopulatedExtensionRegistry();
    }
    
    WSDLUtil.registerDefaultExtensionAttributeTypes(extensionRegistry);
    
    reader.setExtensionRegistry(extensionRegistry);
    
    return reader;
  }
}
org.apache.axis2.wsdlWSDLUtilregisterDefaultExtensionAttributeTypes

Javadoc

Registers default extension attributes types to given extensionRegistry instance.

The method configures the following attributes of Input, Output and Fault WSDL elements to use AttributeExtensible.STRING_TYPE:

  • {http://www.w3.org/2005/08/addressing}Action
  • {http://www.w3.org/2006/05/addressing/wsdl}Action
  • {http://www.w3.org/2007/05/addressing/metadata}Action
  • {http://schemas.xmlsoap.org/ws/2004/08/addressing}Action

Popular methods of WSDLUtil

  • isInputPresentForMEP
    returns whether the given mep uri is one of the input meps
  • isOutputPresentForMEP
    returns whether the given mep URI is one of the output meps
  • getPartQName
    part names are not unique across messages. Hence we need some way of making the part name a unique o
  • newWSDLReaderWithPopulatedExtensionRegistry
    Creates a new WSDLReader and configures it with a WSDLFactory#newPopulatedExtensionRegistry() if it
  • getConstantFromHTTPLocation
  • getConstantFromHTTPLocationForResource
  • getEndpointName
    This method will return the EndPointName for a service with give transport protocol ex : StudentServ

Popular in Java

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top Vim 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