Package org.apache.axis.utils

Examples of org.apache.axis.utils.QName


        // collect the information about the operations
        NodeList nl = getElement().getElementsByTagNameNS(WSDDConstants.WSDD_NS, "operation");
        for (int n = 0; n < nl.getLength(); n++) {
            Element op = (Element)nl.item(n);
            provider.addOperation(op.getAttribute("name"),
                                  new QName(op.getAttribute("qName"),op));
        }
       
        return provider;
    }
View Full Code Here


        // collect the information about the operations
        NodeList nl = getElement().getElementsByTagNameNS(WSDDConstants.WSDD_NS, "operation");
        for (int n = 0; n < nl.getLength(); n++) {
            Element op = (Element)nl.item(n);
            provider.addOperation(op.getAttribute("name"),
                                  new QName(op.getAttribute("qName"),op));
        }
       
        return provider;
    }
View Full Code Here

        // collect the information about the operations
        NodeList nl = getElement().getElementsByTagNameNS(WSDDConstants.WSDD_NS, "operation");
        for (int n = 0; n < nl.getLength(); n++) {
            Element op = (Element)nl.item(n);
            provider.addOperation(op.getAttribute("name"),
                                  new QName(op.getAttribute("qName"),op));
        }
       
        return provider;
    }
View Full Code Here

        this.service = service;
    }
   
    public QName getQName() {
        if (qname == null) {
            qname = new QName(null, service.getID());
        }
        return qname;
    }
View Full Code Here

            provider.setOptions(prov.getOptionsTable());
            prov.newInstance(provider);
           
            for (int n = 0; n < methods.length; n++) {
                provider.addOperation(methods[n],
                                      new QName(V2DDConstants.V2DD_NS,
                                                methods[n]));
            }
           
            return provider;
        } catch (Exception e) {
View Full Code Here

        return element.getAttribute("encodingStyle");
    }
   
    public QName getQName() {
        if (qname == null) {
            qname = new QName(element.getAttribute("qname"), element);
        }
        return qname;
    }
View Full Code Here

    public QName getQName() {
        if (qname == null) {
            String nsURI = element.getOwnerDocument().getDocumentElement().getAttributeNS(org.apache.axis.Constants.URI_2000_SCHEMA_XSI, "targetNamespace");
            if (nsURI.equals("")) {
                qname = new QName(null, getName());
            } else {
                qname = new QName(nsURI, getName());
            }
        }
        return qname;
    }
View Full Code Here

    public AddressBookProxy(String serviceName) throws MalformedURLException
    {
        service = serviceName;
        try {
            // register the PurchaseOrder class
            QName qn1 = new QName(serviceName, "Address");
            Class cls = Address.class;
            call.addSerializer(cls, qn1, new BeanSerializer(cls));
            call.addDeserializerFactory(qn1, cls, BeanSerializer.getFactory());
           
            // register the PhoneNumber class
            QName qn2 = new QName(serviceName, "PhoneNumber");
            cls = PhoneNumber.class;
            call.addSerializer(cls, qn2, new BeanSerializer(cls));
            call.addDeserializerFactory(qn2, cls, BeanSerializer.getFactory());
        } catch (Exception ex) {
            throw new IllegalArgumentException("Exception configurizing bean serialization: "+ex);
View Full Code Here

    {
        if (qNameAttrs == null)
            qNameAttrs = new Vector();
       
        QNameAttr attr = new QNameAttr();
        attr.name = new QName(namespace, localName);
        attr.value = value;
       
        qNameAttrs.addElement(attr);
    }
View Full Code Here

        }
       
        if (prefix != null)
            context.registerPrefixForURI(prefix, namespaceURI);
       
        context.startElement(new QName(namespaceURI, name), attributes);
        context.endElement();
    }
View Full Code Here

TOP

Related Classes of org.apache.axis.utils.QName

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.