Package org.apache.wsdl

Examples of org.apache.wsdl.WSDLExtensibilityAttribute


        Iterator iterator = wsdl4jExtensibilityAttributes.keySet().iterator();
        while (iterator.hasNext()) {
            QName attributeName = (QName) iterator.next();
            QName value = (QName) wsdl4jExtensibilityAttributes
                    .get(attributeName);
            WSDLExtensibilityAttribute attribute = this.wsdlComponentFactory
                    .createWSDLExtensibilityAttribute();
            attribute.setKey(attributeName);
            attribute.setValue(value);
            component.addExtensibleAttributes(attribute);
        }
    }
View Full Code Here


    return element;
  }

  private static WSDLExtensibilityAttribute getExtensibilitiyAttribute(
      PolicyReference policyReference) {
    WSDLExtensibilityAttribute extensibilityAttribute = new AxisDescWSDLComponentFactory()
        .createWSDLExtensibilityAttribute();
    extensibilityAttribute.setKey(new QName(
        PolicyConstants.WSU_NAMESPACE_URI, "PolicyURIs"));
    extensibilityAttribute.setValue(new QName(policyReference
        .getPolicyURIString()));
    return extensibilityAttribute;
  }
View Full Code Here

        return element;
    }

    private WSDLExtensibilityAttribute getExtensibilitiyAttribute(
            PolicyReference policyReference) {
        WSDLExtensibilityAttribute extensibilityAttribute = new AxisDescWSDLComponentFactory()
                .createWSDLExtensibilityAttribute();
        extensibilityAttribute.setKey(new QName(
                PolicyConstants.WSU_NAMESPACE_URI, "PolicyURIs"));
        extensibilityAttribute.setValue(new QName(policyReference
                .getPolicyURIString()));
        return extensibilityAttribute;
    }
View Full Code Here

        Iterator iterator = wsdl4jExtensibilityAttributes.keySet().iterator();
        while (iterator.hasNext()) {
            QName attributeName = (QName) iterator.next();
            QName value = (QName) wsdl4jExtensibilityAttributes
                    .get(attributeName);
            WSDLExtensibilityAttribute attribute = this.wsdlComponentFactory
                    .createWSDLExtensibilityAttribute();
            attribute.setKey(attributeName);
            attribute.setValue(value);
            component.addExtensibleAttributes(attribute);
        }
    }
View Full Code Here

        return element;
    }

    private static WSDLExtensibilityAttribute getExtensibilitiyAttribute(
            PolicyReference policyReference) {
        WSDLExtensibilityAttribute extensibilityAttribute = new AxisDescWSDLComponentFactory()
                .createWSDLExtensibilityAttribute();
        extensibilityAttribute.setKey(new QName(
                PolicyConstants.WSU_NAMESPACE_URI, "PolicyURIs"));
        extensibilityAttribute.setValue(new QName(policyReference
                .getPolicyURIString()));
        return extensibilityAttribute;
    }
View Full Code Here

        List policyURIStrings = new ArrayList();
        List policies = new ArrayList();
        iterator = component.getExtensibilityAttributes().iterator();

        while (iterator.hasNext()) {
          WSDLExtensibilityAttribute exAttribute = (WSDLExtensibilityAttribute) iterator
                    .next();
            QName qname = exAttribute.getKey();

            if (qname.getNamespaceURI().equals(
                    PolicyConstants.WS_POLICY_NAMESPACE_URI)
                    && qname.getLocalPart().equals("PolicyURIs")) {
                String value = exAttribute.getValue().toString();
                String[] uriStrings = value.split(" ");

                for (int i = 0; i < uriStrings.length; i++) {
                    policyURIStrings.add(uriStrings[i].trim());
                }
View Full Code Here

    private void registerPoliciesAsAttribute(List elements) {
        Iterator iterator = elements.iterator();

        while (iterator.hasNext()) {
            WSDLExtensibilityAttribute wsdlExtensibilityAttribute = (WSDLExtensibilityAttribute) iterator
                    .next();
            QName qname = wsdlExtensibilityAttribute.getKey();

            if (qname.getNamespaceURI().equals(
                    PolicyConstants.WS_POLICY_NAMESPACE_URI)
                    && qname.getLocalPart().equals("PolicyURIs")) {
                String value = wsdlExtensibilityAttribute.getValue().toString();
                String[] policyURIs = value.split(" ");
                for (int i = 0; i < policyURIs.length; i++) {
                    String policyURI = policyURIs[i].trim();

                    if (reg.lookup(policyURI) == null) {
View Full Code Here

            addAttribute(doc, "location", "body", param);

            Iterator iter = inputMessage.getExtensibilityAttributes().iterator();

            while (iter.hasNext()) {
                WSDLExtensibilityAttribute att = (WSDLExtensibilityAttribute) iter.next();

                addAttribute(doc, att.getKey().getLocalPart(), att.getValue().toString(), param);
            }
        } else {
            param = null;
        }
View Full Code Here

            addAttribute(doc, "location", "body", param);

            Iterator iter = inputMessage.getExtensibilityAttributes().iterator();

            while (iter.hasNext()) {
                WSDLExtensibilityAttribute att = (WSDLExtensibilityAttribute) iter.next();

                addAttribute(doc, att.getKey().getLocalPart(), att.getValue().toString(), param);
            }
        } else {
            param = null;
        }
View Full Code Here

TOP

Related Classes of org.apache.wsdl.WSDLExtensibilityAttribute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.