congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
com.ibm.wsdl.util
Code IndexAdd Tabnine to your IDE (free)

How to use com.ibm.wsdl.util

Best Java code snippets using com.ibm.wsdl.util (Showing top 20 results out of 315)

origin: wsdl4j/wsdl4j

public static String getClassName(Class targetClass)
{
 String className = targetClass.getName();
 return targetClass.isArray() ? parseDescriptor(className) : className;
}
origin: wsdl4j/wsdl4j

 public Object lookup (String name) throws IllegalArgumentException {
  Object obj = reg.get (name);

  if (obj == null && parent != null) {
   obj = parent.lookup (name);
  }

  if (obj == null) {
   throw new IllegalArgumentException ("object '" + name + "' not in registry");
  }

  return obj;
 }
}
origin: wsdl4j/wsdl4j

/**
* Serialize this node into the writer as XML.
* The specified Map associates prefixes with namespace URLs.
*/
public static void serializeAsXML(Node node, Map namespaces, Writer writer)
{
 ObjectRegistry namespaceStack = new ObjectRegistry(namespaces);
 namespaceStack.register("xml", NS_URI_XML);
 PrintWriter pw = new PrintWriter(writer);
 String javaEncoding = (writer instanceof OutputStreamWriter)
       ? ((OutputStreamWriter) writer).getEncoding()
       : null;
 print(node, namespaceStack, pw, java2XMLEncoding(javaEncoding));
}
origin: wsdl4j/wsdl4j

                              elementType);
QName message =
 DOMUtils.getQualifiedAttributeValue(el,
                   Constants.ATTR_MESSAGE,
                   SOAPConstants.ELEM_HEADER,
                   false,
                   def);
String part = DOMUtils.getAttribute(el, SOAPConstants.ATTR_PART);
String use = DOMUtils.getAttribute(el, SOAPConstants.ATTR_USE);
String encStyleStr = DOMUtils.getAttribute(el,
                   SOAPConstants.ATTR_ENCODING_STYLE);
String namespaceURI = DOMUtils.getAttribute(el, Constants.ATTR_NAMESPACE);
String requiredStr = DOMUtils.getAttributeNS(el,
                       Constants.NS_URI_WSDL,
                       Constants.ATTR_REQUIRED);
 soapHeader.setEncodingStyles(StringUtils.parseNMTokens(encStyleStr));
Element tempEl = DOMUtils.getFirstChildElement(el);
 if (QNameUtils.matches(SOAPConstants.Q_ELEM_SOAP_HEADER_FAULT, tempEl))
  DOMUtils.throwWSDLException(tempEl);
 tempEl = DOMUtils.getNextSiblingElement(tempEl);
origin: wsdl4j/wsdl4j

 DOMUtils.getQualifiedValue(SOAPConstants.NS_URI_SOAP,
               "fault",
               def);
DOMUtils.printAttribute(Constants.ATTR_NAME, soapFault.getName(), pw);
DOMUtils.printAttribute(SOAPConstants.ATTR_USE, soapFault.getUse(), pw);
DOMUtils.printAttribute(SOAPConstants.ATTR_ENCODING_STYLE,
        StringUtils.getNMTokens(soapFault.getEncodingStyles()),
        pw);
DOMUtils.printAttribute(Constants.ATTR_NAMESPACE,
            soapFault.getNamespaceURI(),
            pw);
 DOMUtils.printQualifiedAttribute(Constants.Q_ATTR_REQUIRED,
                  required.toString(),
                  def,
origin: wsdl4j/wsdl4j

                            elementType);
QName message = DOMUtils.getQualifiedAttributeValue(el,
                        Constants.ATTR_MESSAGE,
                        SOAPConstants.ELEM_HEADER,
                        false,
                        def);
String name = DOMUtils.getAttribute(el, Constants.ATTR_NAME);
String use = DOMUtils.getAttribute(el, SOAPConstants.ATTR_USE);
String encStyleStr = DOMUtils.getAttribute(el,
                   SOAPConstants.ATTR_ENCODING_STYLE);
String namespaceURI = DOMUtils.getAttribute(el,
                      Constants.ATTR_NAMESPACE);
String requiredStr = DOMUtils.getAttributeNS(el,
                       Constants.NS_URI_WSDL,
                       Constants.ATTR_REQUIRED);
 soapFault.setEncodingStyles(StringUtils.parseNMTokens(encStyleStr));
origin: wsdl4j/wsdl4j

String partsStr = DOMUtils.getAttribute(el, SOAPConstants.ATTR_PARTS);
String use = DOMUtils.getAttribute(el, SOAPConstants.ATTR_USE);
String encStyleStr = DOMUtils.getAttribute(el,
                   SOAPConstants.ATTR_ENCODING_STYLE);
String namespaceURI = DOMUtils.getAttribute(el, Constants.ATTR_NAMESPACE);
String requiredStr = DOMUtils.getAttributeNS(el,
                       Constants.NS_URI_WSDL,
                       Constants.ATTR_REQUIRED);
 soapBody.setParts(StringUtils.parseNMTokens(partsStr));
 soapBody.setEncodingStyles(StringUtils.parseNMTokens(encStyleStr));
origin: wsdl4j/wsdl4j

  attrStrValue = StringUtils.getNMTokens(attrValueList);
          DOMUtils.getQualifiedValue(tempQName.getNamespaceURI(),
                        tempQName.getLocalPart(),
                        def));
DOMUtils.printQualifiedAttribute(attrName, attrQNameValue, def, pw);
DOMUtils.printQualifiedAttribute(attrName, attrStrValue, def, pw);
origin: wsdl4j/wsdl4j

while (child != null)
 print(child,namespaceStack, out, xmlEncoding);
 child = child.getNextSibling();
namespaceStack = new ObjectRegistry(namespaceStack);
  String namespaceURI = (String)namespaceStack.lookup(elPrefix);
  printNamespaceDecl(node, namespaceStack, out);
      normalize(attr.getValue()) + '\"');
   String namespaceURI = (String)namespaceStack.lookup(attrPrefix);
   printNamespaceDecl(attr, namespaceStack, out);
  print(child, namespaceStack, out, xmlEncoding);
  child = child.getNextSibling();
out.print(normalize(node.getNodeValue()));
break;
origin: wsdl4j/wsdl4j

return DOMUtils.getQName(attrValue, el, def);
return StringUtils.parseNMTokens(attrValue);
List oldList = StringUtils.parseNMTokens(attrValue);
int size = oldList.size();
List newList = new Vector(size);
 QName qValue = DOMUtils.getQName(str, el, def);
 qValue = DOMUtils.getQName(attrValue, el, def);
origin: wsdl4j/wsdl4j

DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL,
              Constants.ELEM_OPERATION,
              def);
 DOMUtils.printAttribute(Constants.ATTR_NAME,
             operation.getName(),
             pw);
 DOMUtils.printAttribute(Constants.ATTR_PARAMETER_ORDER,
      StringUtils.getNMTokens(operation.getParameterOrdering()),
      pw);
origin: wsdl4j/wsdl4j

         ? StringUtils.getURL(null, contextURI)
         : null;
URL url = StringUtils.getURL(contextURL, wsdlURI);
InputStream inputStream = StringUtils.getContentAsInputStream(url);
InputSource inputSource = new InputSource(inputStream);
inputSource.setSystemId(url.toString());
origin: wsdl4j/wsdl4j

private static void printNamespaceDecl(Element owner, Node node,
                    ObjectRegistry namespaceStack,
                    PrintWriter out)
{
 String namespaceURI = node.getNamespaceURI();
 String prefix = node.getPrefix();
 if (!(namespaceURI.equals(NS_URI_XMLNS) && prefix.equals("xmlns")))
 {
  if (DOMUtils.getAttributeNS(owner, NS_URI_XMLNS, prefix) == null)
  {
   out.print(" xmlns:" + prefix + "=\"" + namespaceURI + '\"');
  }
 }
 else
 {
  prefix = node.getLocalName();
  namespaceURI = node.getNodeValue();
 }
 namespaceStack.register(prefix, namespaceURI);
}
origin: wsdl4j/wsdl4j

public ObjectRegistry (Map initialValues) {
 if(initialValues != null)
 {
  Iterator itr = initialValues.keySet().iterator();
  while(itr.hasNext())
  {
   String name = (String) itr.next();
   register(name, initialValues.get(name));
  }
 }
}
origin: wsdl4j/wsdl4j

 DOMUtils.getQualifiedValue(SOAPConstants.NS_URI_SOAP,
               "body",
               def);
DOMUtils.printAttribute(SOAPConstants.ATTR_PARTS,
            StringUtils.getNMTokens(soapBody.getParts()),
            pw);
DOMUtils.printAttribute(SOAPConstants.ATTR_USE, soapBody.getUse(), pw);
DOMUtils.printAttribute(SOAPConstants.ATTR_ENCODING_STYLE,
         StringUtils.getNMTokens(soapBody.getEncodingStyles()),
         pw);
DOMUtils.printAttribute(Constants.ATTR_NAMESPACE,
            soapBody.getNamespaceURI(),
            pw);
 DOMUtils.printQualifiedAttribute(Constants.Q_ATTR_REQUIRED,
                  required.toString(),
                  def,
origin: wsdl4j/wsdl4j

 (SOAPHeaderFault)extReg.createExtension(parentType, elementType);
QName message =
 DOMUtils.getQualifiedAttributeValue(el,
                   Constants.ATTR_MESSAGE,
                   SOAPConstants.ELEM_HEADER,
                   false,
                   def);
String part = DOMUtils.getAttribute(el, SOAPConstants.ATTR_PART);
String use = DOMUtils.getAttribute(el, SOAPConstants.ATTR_USE);
String encStyleStr = DOMUtils.getAttribute(el,
                   SOAPConstants.ATTR_ENCODING_STYLE);
String namespaceURI = DOMUtils.getAttribute(el, Constants.ATTR_NAMESPACE);
String requiredStr = DOMUtils.getAttributeNS(el,
                       Constants.NS_URI_WSDL,
                       Constants.ATTR_REQUIRED);
  StringUtils.parseNMTokens(encStyleStr));
origin: wsdl4j/wsdl4j

String partsStr = DOMUtils.getAttribute(el, SOAP12Constants.ATTR_PARTS);
String use = DOMUtils.getAttribute(el, SOAP12Constants.ATTR_USE);
String encStyleStr = DOMUtils.getAttribute(el,
                   SOAP12Constants.ATTR_ENCODING_STYLE);
String namespaceURI = DOMUtils.getAttribute(el, Constants.ATTR_NAMESPACE);
String requiredStr = DOMUtils.getAttributeNS(el,
                       Constants.NS_URI_WSDL,
                       Constants.ATTR_REQUIRED);
 soapBody.setParts(StringUtils.parseNMTokens(partsStr));
origin: wsdl4j/wsdl4j

 DOMUtils.getQualifiedValue(SOAP12Constants.NS_URI_SOAP12,
               "body",
               def);
DOMUtils.printAttribute(SOAP12Constants.ATTR_PARTS,
            StringUtils.getNMTokens(soapBody.getParts()),
            pw);
DOMUtils.printAttribute(SOAP12Constants.ATTR_USE, soapBody.getUse(), pw);
DOMUtils.printAttribute(SOAP12Constants.ATTR_ENCODING_STYLE,
            soapBody.getEncodingStyle(),
         pw);
DOMUtils.printAttribute(Constants.ATTR_NAMESPACE,
            soapBody.getNamespaceURI(),
            pw);
 DOMUtils.printQualifiedAttribute(Constants.Q_ATTR_REQUIRED,
                  required.toString(),
                  def,
origin: wsdl4j/wsdl4j

DOMUtils.getQualifiedValue(SOAPConstants.NS_URI_SOAP,
              "headerfault",
              def);
 DOMUtils.printQualifiedAttribute(Constants.ATTR_MESSAGE,
                  soapHeaderFault.getMessage(),
                  def,
                  pw);
 DOMUtils.printAttribute(SOAPConstants.ATTR_PART,
             soapHeaderFault.getPart(),
             pw);
 DOMUtils.printAttribute(SOAPConstants.ATTR_USE,
             soapHeaderFault.getUse(),
             pw);
 DOMUtils.printAttribute(SOAPConstants.ATTR_ENCODING_STYLE,
    StringUtils.getNMTokens(soapHeaderFault.getEncodingStyles()),
    pw);
 DOMUtils.printAttribute(Constants.ATTR_NAMESPACE,
             soapHeaderFault.getNamespaceURI(),
             pw);
  DOMUtils.printQualifiedAttribute(Constants.Q_ATTR_REQUIRED,
                   required.toString(),
                   def,
origin: wsdl4j/wsdl4j

 DOMUtils.getQualifiedValue(SOAPConstants.NS_URI_SOAP,
               "header",
               def);
DOMUtils.printQualifiedAttribute(Constants.ATTR_MESSAGE,
                 soapHeader.getMessage(),
                 def,
                 pw);
DOMUtils.printAttribute(SOAPConstants.ATTR_PART,
            soapHeader.getPart(),
            pw);
DOMUtils.printAttribute(SOAPConstants.ATTR_USE, soapHeader.getUse(), pw);
DOMUtils.printAttribute(SOAPConstants.ATTR_ENCODING_STYLE,
        StringUtils.getNMTokens(soapHeader.getEncodingStyles()),
        pw);
DOMUtils.printAttribute(Constants.ATTR_NAMESPACE,
            soapHeader.getNamespaceURI(),
            pw);
 DOMUtils.printQualifiedAttribute(Constants.Q_ATTR_REQUIRED,
                  required.toString(),
                  def,
com.ibm.wsdl.util

Most used classes

  • DOM2Writer
    This class is a utility to serialize a DOM node as XML. This class uses the DOM Level 2 APIs. The ma
  • DOMUtils
  • StringUtils
    Deals with strings (probably need to elaborate some more).
  • XPathUtils
    A XPathUtils ...
  • QNameUtils
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