Examples of ConfigurationType


Examples of org.jboss.jbosswsTools.ConfigurationType

  }

  private ConfigurationDocument createConfigFile( StringToStringMap values )
  {
    ConfigurationDocument configDocument = ConfigurationDocument.Factory.newInstance();
    ConfigurationType config = configDocument.addNewConfiguration();

    JavaToWsdlType java2Wsdl = config.addNewJavaWsdl();
    ServiceType service = java2Wsdl.addNewService();
    service.setEndpoint( values.get( ENDPOINT ) );
    service.setStyle( Style.Enum.forString( values.get( STYLE ) ) );
    service.setParameterStyle( ParameterStyle.Enum.forString( values.get( PARAMETER_STYLE ) ) );
    service.setName( values.get( SERVICE_NAME ) );
View Full Code Here

Examples of org.jboss.jbosswsTools.ConfigurationType

        return file.getAbsolutePath();
    }

    private ConfigurationDocument createConfigFile(StringToStringMap values) {
        ConfigurationDocument configDocument = ConfigurationDocument.Factory.newInstance();
        ConfigurationType config = configDocument.addNewConfiguration();

        JavaToWsdlType java2Wsdl = config.addNewJavaWsdl();
        ServiceType service = java2Wsdl.addNewService();
        service.setEndpoint(values.get(ENDPOINT));
        service.setStyle(Style.Enum.forString(values.get(STYLE)));
        service.setParameterStyle(ParameterStyle.Enum.forString(values.get(PARAMETER_STYLE)));
        service.setName(values.get(SERVICE_NAME));
View Full Code Here

Examples of org.jboss.jbosswsTools.ConfigurationType

        return file.getName();
    }

    private ConfigurationDocument createConfigFile(StringToStringMap values) {
        ConfigurationDocument configDocument = ConfigurationDocument.Factory.newInstance();
        ConfigurationType config = configDocument.addNewConfiguration();

        JavaToWsdlType java2Wsdl = config.addNewJavaWsdl();
        ServiceType service = java2Wsdl.addNewService();
        service.setEndpoint(values.get(ENDPOINT));
        service.setStyle(Style.Enum.forString(values.get(STYLE)));
        service.setParameterStyle(ParameterStyle.Enum.forString(values.get(PARAMETER_STYLE)));
        service.setName(values.get(SERVICE_NAME));
View Full Code Here

Examples of org.jboss.jbosswsTools.ConfigurationType

        return file.getAbsolutePath();
    }

    private ConfigurationDocument createConfigFile(StringToStringMap values, Interface modelItem) {
        ConfigurationDocument configDocument = ConfigurationDocument.Factory.newInstance();
        ConfigurationType config = configDocument.addNewConfiguration();

        try {
            StringToStringMap nsMappings = StringToStringMap.fromXml(values.get(NAMESPACE_MAPPING));
            if (!nsMappings.isEmpty()) {
                GlobalType global = config.addNewGlobal();

                for (Map.Entry<String, String> namespaceEntry : nsMappings.entrySet()) {
                    PkgNSType entry = global.addNewPackageNamespace();
                    entry.setNamespace(namespaceEntry.getKey());
                    entry.setPackage(namespaceEntry.getValue());
                }
            }
        } catch (Exception e) {
            SoapUI.logError(e);
        }

        WsdlToJavaType wsdl2Java = config.addNewWsdlJava();

        String wsdlUrl = getWsdlUrl(values, modelItem);
        try {
            new URL(wsdlUrl);
            wsdl2Java.setLocation(wsdlUrl);
View Full Code Here

Examples of org.rhq.enterprise.server.xmlschema.generated.contentsource.packagedetails.ConfigurationType

            ResourceVersionsType resourceVersions = pkg.getResourceVersions();
            if (resourceVersions != null) {
                details.setResourceVersions(new HashSet<String>(resourceVersions.getResourceVersion()));
            }

            ConfigurationType extraPropertiesXml = pkg.getExtraProperties();
            if (extraPropertiesXml != null) {
                Configuration config = new Configuration();
                List<Object> configXml = extraPropertiesXml.getSimplePropertyOrListPropertyOrMapProperty();
                for (Object object : configXml) {
                    if (object instanceof SimplePropertyType) {
                        config.put(translateSimpleProperty((SimplePropertyType) object, null));
                    } else if (object instanceof ListPropertyType) {
                        config.put(translateListProperty((ListPropertyType) object, null));
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.