Examples of targetNamespace()


Examples of com.sun.xml.bind.v2.schemagen.xmlschema.Schema.targetNamespace()

                && !xmlNs.containsKey("xs"))
                    schema._namespace(WellKnownNamespace.XML_SCHEMA,"xs");
                schema.version("1.0");

                if(uri.length()!=0)
                    schema.targetNamespace(uri);

                // declare prefixes for them at this level, so that we can avoid redundant
                // namespace declarations
                for (Namespace ns : depends) {
                    schema._namespace(ns.uri);
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.schemagen.xmlschema.Schema.targetNamespace()

                && !xmlNs.containsKey("xs"))
                    schema._namespace(WellKnownNamespace.XML_SCHEMA,"xs");
                schema.version("1.0");

                if(uri.length()!=0)
                    schema.targetNamespace(uri);

                // declare prefixes for them at this level, so that we can avoid redundant
                // namespace declarations
                for (Namespace ns : depends) {
                    schema._namespace(ns.uri);
View Full Code Here

Examples of com.sun.xml.ws.wsdl.writer.document.xsd.Schema.targetNamespace()

        for(WrapperParameter wp : wrappers) {
            String tns = wp.getName().getNamespaceURI();
            Schema xsd = xsds.get(tns);
            if (xsd == null) {
                xsd = create(tns);
                xsd.targetNamespace(tns);
                if (wrappeeQualified) xsd._attribute("elementFormDefault", "qualified");
                xsds.put(tns, xsd);
            }         
            for (ParameterImpl p : wp.getWrapperChildren() ) {
                String nsToImport = (p.getBinding().isBody())? bodyParamNS(p): null;
View Full Code Here

Examples of javax.jws.WebParam.targetNamespace()

        }
        if (webParam != null)
        {
            WebParamAnnotation annot = new WebParamAnnotation();
            annot.setName(webParam.name());
            annot.setTargetNamespace(webParam.targetNamespace());
            annot.setHeader(webParam.header());
            annot.setPartName(webParam.partName());
           
            if (webParam.mode() == WebParam.Mode.IN)
            {
View Full Code Here

Examples of javax.jws.WebParam.targetNamespace()

        for (int idx = 0; idx < noArgs; idx++) {
            WebParam param = callback.getWebParam(idx);
            if (param.mode() != ignoreParamMode) {
                QName elName = (callback.getSOAPStyle() == Style.DOCUMENT)
                    ? new QName(param.targetNamespace(), param.name())
                    : new QName("", param.partName());

                Object obj = reader.read(elName, idx, childNode);
                if (param.mode() != WebParam.Mode.IN) {
                    try {
View Full Code Here

Examples of javax.jws.WebParam.targetNamespace()

                if (param.mode() != WebParam.Mode.IN) {
                    partValue = ((Holder)args[idx]).value;
                }
           
                QName elName = (callback.getSOAPStyle() == Style.DOCUMENT)
                    ? new QName(param.targetNamespace(), param.name())
                    : new QName("", param.partName());
                writer.write(partValue, elName, xmlNode);
            }
        }
    }
View Full Code Here

Examples of javax.jws.WebParam.targetNamespace()

  
    public void testGetWebParam() throws Exception {
        WebParam inParam = msgInfo.getWebParam(0);
        assertEquals(
                new QName("http://objectweb.org/hello_world_soap_http/types", "requestType"),
                new QName(inParam.targetNamespace(), inParam.name()));
        assertEquals(WebParam.Mode.IN, inParam.mode());
        assertFalse(inParam.header());       
    }
   
    public void testGetOperationName() throws Exception {
View Full Code Here

Examples of javax.jws.WebParam.targetNamespace()

            while (n.getNodeType() != Node.ELEMENT_NODE) {
                n = matchingList.item(++nodeIdx);
            }
           
            if (n.getLocalName().equals(param.name())
                && n.getNamespaceURI().equals(param.targetNamespace())) {
                matchFound = true;
                ++nodeIdx;
            } else {
                matchFound = false;
                break;
View Full Code Here

Examples of javax.jws.WebParam.targetNamespace()

        for (int idx = 0; idx < noArgs; idx++) {
            WebParam param = callback.getWebParam(idx);
            if ((param.mode() != ignoreParamMode) && !param.header()) {

                QName elName = (callback.getSOAPStyle() == Style.DOCUMENT)
                                ? new QName(param.targetNamespace(), param.name())
                                : new QName("", param.partName());

                Object obj = reader.read(elName, idx, childNode);
                if (param.mode() != WebParam.Mode.IN) {
                    try {
View Full Code Here

Examples of javax.jws.WebParam.targetNamespace()

                if (param.mode() != WebParam.Mode.IN) {
                    partValue = ((Holder)args[idx]).value;
                }

                QName elName = (callback.getSOAPStyle() == Style.DOCUMENT)
                                    ? new QName(param.targetNamespace(), param.name())
                                    : new QName("", param.partName());
                writer.write(partValue, elName, xmlNode);
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.