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

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

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

origin: apache/axis2-java

String MEP = axisOperation.getMessageExchangePattern();
if (input) {
  if (WSDLUtil.isInputPresentForMEP(MEP)) {
  if (WSDLUtil.isOutputPresentForMEP(MEP)) {
    headerparamList = (ArrayList) getBindingPropertyFromMessage(
        WSDL2Constants.ATTR_WSOAP_HEADER, bindingOperation.getName(),
origin: org.apache.axis2/axis2-adb-codegen

QName partQName = WSDLUtil.getPartQName(opName,
    qnameSuffix,
    partName);
origin: org.apache.axis2/axis2-kernel

  public Object run() throws WSDLException {
    return WSDLUtil.newWSDLReaderWithPopulatedExtensionRegistry();
  }
});
origin: org.apache.axis2/axis2-jaxbri

AxisOperation op = (AxisOperation)operations.next();
if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) {
  AxisMessage message = op.getMessage(
      WSDLConstants.MESSAGE_LABEL_IN_VALUE);
            WSDLUtil.getPartQName(op.getName().getLocalPart(),
                       WSDLConstants.INPUT_PART_QNAME_SUFFIX,
                       elementProperty.elementName().getLocalPart());
if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern())) {
  AxisMessage message = op.getMessage(
      WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
            WSDLUtil.getPartQName(op.getName().getLocalPart(),
                       WSDLConstants.OUTPUT_PART_QNAME_SUFFIX,
                       elementProperty.elementName().getLocalPart());
origin: org.apache.axis2/axis2-kernel

httpLocationMap.put(WSDLUtil.getConstantFromHTTPLocation(httpLocation, httpMethod),
          axisBindingOperation.getAxisOperation());
    WSDLUtil.isInputPresentForMEP(axisOperation.getMessageExchangePattern())) {
  AxisBindingMessage axisBindingInMessage = new AxisBindingMessage();
  axisBindingInMessage.setParent(axisBindingOperation);
    WSDLUtil.isOutputPresentForMEP(axisOperation.getMessageExchangePattern())) {
  AxisBindingMessage axisBindingOutMessage = new AxisBindingMessage();
  axisBindingOutMessage.setParent(axisBindingOperation);
    WSDLUtil.isOutputPresentForMEP(axisOperation.getMessageExchangePattern())) {
    WSDLUtil.isInputPresentForMEP(axisOperation.getMessageExchangePattern())) {
origin: apache/axis2-java

if (WSDLUtil.isOutputPresentForMEP(mep)) {
origin: apache/axis2-java

String mep = operation.getMessageExchangePattern();
if (WSDLUtil.isInputPresentForMEP(mep)) {
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: apache/axis2-java

AxisOperation op = operations.next();
if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) {
  AxisMessage message = op.getMessage(
      WSDLConstants.MESSAGE_LABEL_IN_VALUE);
    for (Property elementProperty : mapping.getWrapperStyleDrilldown()) {
      QName partQName =
            WSDLUtil.getPartQName(op.getName().getLocalPart(),
                       WSDLConstants.INPUT_PART_QNAME_SUFFIX,
                       elementProperty.elementName().getLocalPart());
if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern())) {
  AxisMessage message = op.getMessage(
      WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
    for (Property elementProperty : mapping.getWrapperStyleDrilldown()) {
      QName partQName =
            WSDLUtil.getPartQName(op.getName().getLocalPart(),
                       WSDLConstants.OUTPUT_PART_QNAME_SUFFIX,
                       elementProperty.elementName().getLocalPart());
origin: apache/axis2-java

httpLocationMap.put(WSDLUtil.getConstantFromHTTPLocation(httpLocation, httpMethod),
          axisBindingOperation.getAxisOperation());
    WSDLUtil.isInputPresentForMEP(axisOperation.getMessageExchangePattern())) {
  AxisBindingMessage axisBindingInMessage = new AxisBindingMessage();
  axisBindingInMessage.setParent(axisBindingOperation);
    WSDLUtil.isOutputPresentForMEP(axisOperation.getMessageExchangePattern())) {
  AxisBindingMessage axisBindingOutMessage = new AxisBindingMessage();
  axisBindingOutMessage.setParent(axisBindingOperation);
    WSDLUtil.isOutputPresentForMEP(axisOperation.getMessageExchangePattern())) {
    WSDLUtil.isInputPresentForMEP(axisOperation.getMessageExchangePattern())) {
origin: apache/axis2-java

if (WSDLUtil.isOutputPresentForMEP(mep)) {
origin: apache/axis2-java

String mep = operation.getMessageExchangePattern();
if (WSDLUtil.isInputPresentForMEP(mep)) {
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: apache/axis2-java

boolean wrappable = true;
if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) {
if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern()) && wrappable) {
  walkSchema(op.getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE),
      WSDLConstants.OUTPUT_PART_QNAME_SUFFIX);
origin: org.apache.axis2/axis2-xmlbeans

AxisOperation op = (AxisOperation)operations.next();
if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) {
  AxisMessage message = op.getMessage(
      WSDLConstants.MESSAGE_LABEL_IN_VALUE);
          WSDLUtil.getPartQName(op.getName().getLocalPart(),
                     WSDLConstants.INPUT_PART_QNAME_SUFFIX,
                     elementProperty
if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern())) {
  AxisMessage message = op.getMessage(
      WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
          WSDLUtil.getPartQName(op.getName().getLocalPart(),
                     WSDLConstants.OUTPUT_PART_QNAME_SUFFIX,
                     elementProperty
origin: apache/axis2-java

QName partQName = WSDLUtil.getPartQName(opName,
    qnameSuffix,
    partName);
origin: org.apache.axis2/axis2-kernel

if ((!WSDLUtil.isOutputPresentForMEP(mep))
    || (replyTo != null && !replyTo.hasAnonymousAddress())) {
  processAsAsync(messageCtx);
origin: org.apache.axis2/axis2-metadata

  public Object run() throws WSDLException {
    return WSDLUtil.newWSDLReaderWithPopulatedExtensionRegistry();
  }
});
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

AxisOperation op = (AxisOperation) operations.next();
if (WSDLUtil.isInputPresentForMEP(op.getMessageExchangePattern())) {
  walkSchema(op.getMessage(WSDLConstants.MESSAGE_LABEL_IN_VALUE),
      WSDLConstants.INPUT_PART_QNAME_SUFFIX);
  if (WSDLUtil.isOutputPresentForMEP(op.getMessageExchangePattern())) {
    walkSchema(op.getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE),
        WSDLConstants.OUTPUT_PART_QNAME_SUFFIX);
org.apache.axis2.wsdlWSDLUtil

Javadoc

Some utility methods for the WSDL users

Most used methods

  • 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
  • registerDefaultExtensionAttributeTypes
    Registers default extension attributes types to given extensionRegistry instance. The method config
  • getConstantFromHTTPLocation
  • getConstantFromHTTPLocationForResource
  • getEndpointName
    This method will return the EndPointName for a service with give transport protocol ex : StudentServ

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • Menu (java.awt)
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • JComboBox (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 12 Jupyter Notebook extensions
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