Examples of addSchema()


Examples of org.apache.axis2.description.AxisService.addSchema()

    NamespaceMap map = new NamespaceMap();
    map.put(Java2WSDLConstants.AXIS2_NAMESPACE_PREFIX,          Java2WSDLConstants.AXIS2_XSD);
    map.put(Java2WSDLConstants.DEFAULT_SCHEMA_NAMESPACE_PREFIX, Java2WSDLConstants.URI_2001_SCHEMA_XSD);
    axisService.setNameSpacesMap(map);
    axisService.setElementFormDefault(false);
    axisService.addSchema(soapService.schemaGenerator.generateSchema());
    axisService.setSchemaTargetNamespace(soapService.schemaGenerator.getSchemaTargetNameSpace());
    axisService.setTypeTable(soapService.schemaGenerator.getTypeTable());

    if (soapService.targetNamespace == null) {
      soapService.targetNamespace = soapService.schemaGenerator.getSchemaTargetNameSpace();
View Full Code Here

Examples of org.apache.cxf.service.model.TypeInfo.addSchema()

            throw new ServiceConstructionException(e1);
        }
        Element e = docs[0].getDocumentElement();
        SchemaInfo schemaInfo = new SchemaInfo(typeInfo, getServiceNamespace());
        schemaInfo.setElement(e);
        typeInfo.addSchema(schemaInfo);
    }

    private void createWrappedMessage(MessageInfo wrappedMessage,
                                      MessageInfo unwrappedMessage,
                                      XmlSchema schema) {
View Full Code Here

Examples of org.apache.directory.ldapstudio.schemas.model.SchemaPool.addSchema()

                    String[] files = ( String[] ) event.data;
                    for ( String file : files )
                    {
                        try
                        {
                            pool.addSchema( Schema.localPathToURL( file ) );
                        }
                        catch ( SchemaCreationException e )
                        {
                            logger.debug( "error when initializing new schema after drag&drop: " + file ); //$NON-NLS-1$
                        }
View Full Code Here

Examples of org.apache.directory.studio.schemaeditor.controller.SchemaHandler.addSchema()

                {
                    Schema schema = PluginUtils.loadCoreSchema( serverType, selectedSchema );
                    if ( schema != null )
                    {
                        schema.setProject( project );
                        schemaHandler.addSchema( schema );
                    }
                }
            }
        }
View Full Code Here

Examples of org.apache.directory.studio.schemaeditor.controller.SchemaHandler.addSchema()

                {
                    Schema schema = PluginUtils.loadCoreSchema( serverType, selectedSchema );
                    if ( schema != null )
                    {
                        schema.setProject( project );
                        schemaHandler.addSchema( schema );
                    }
                }
            }
        }
View Full Code Here

Examples of org.apache.hivemind.impl.RegistryAssemblyImpl.addSchema()

        RegistryAssemblyImpl ra = new RegistryAssemblyImpl(new DefaultErrorHandler());
        Schema s = (Schema) newMock(Schema.class);

        replayControls();

        ra.addSchema("foo.manchu", s);

        assertSame(s, ra.getSchema("foo.manchu"));

        verifyControls();
    }
View Full Code Here

Examples of org.apache.hivemind.parse.ModuleDescriptor.addSchema()

        s2.setId("bar");
        s2.setLocation(l2);

        interceptLogging(md.getClass().getName());

        md.addSchema(s1);
        md.addSchema(s2);

        assertLoggedMessagePattern("Schema foo.bar conflicts with existing schema at classpath:/foo/bar, line 20\\.");

        assertSame(s1, md.getSchema("bar"));
View Full Code Here

Examples of org.apache.hivemind.parse.ModuleDescriptor.addSchema()

        s2.setLocation(l2);

        interceptLogging(md.getClass().getName());

        md.addSchema(s1);
        md.addSchema(s2);

        assertLoggedMessagePattern("Schema foo.bar conflicts with existing schema at classpath:/foo/bar, line 20\\.");

        assertSame(s1, md.getSchema("bar"));
    }
View Full Code Here

Examples of org.apache.hivemind.parse.ModuleDescriptor.addSchema()

        replayControls();

        ModuleDescriptor fooBar = new ModuleDescriptor(null, errorHandler);
        fooBar.setModuleId("foo.bar");

        fooBar.addSchema(schema);

        ModuleDescriptor zipZoop = new ModuleDescriptor(null, errorHandler);
        zipZoop.setModuleId("zip.zoop");

        ConfigurationPointDescriptor cpd = new ConfigurationPointDescriptor();
View Full Code Here

Examples of org.apache.hivemind.parse.ModuleDescriptor.addSchema()

        RegistryDefinition definition = new RegistryDefinitionImpl();

        ModuleDescriptor fooBar = new ModuleDescriptor(null, errorHandler);
        fooBar.setModuleId("foo.bar");

        fooBar.addSchema(schema);

        ModuleDescriptor zipZoop = new ModuleDescriptor(null, errorHandler);
        zipZoop.setModuleId("zip.zoop");

        ConfigurationPointDescriptor cpd = new ConfigurationPointDescriptor();
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.