merge for remote changes
authorjefflin@netbeans.org
Wed, 09 Jul 2008 12:16:07 -0700
changeset 48160dff152593cb
parent 4815 c3f86cda4f91
parent 4814 f401902276a7
child 4817 1d4d1c36a614
merge for remote changes
wsdlextensions.ims/build.xml
wsdlextensions.ims/manifest.mf
wsdlextensions.ims/nbproject/genfiles.properties
wsdlextensions.ims/nbproject/platform.properties
wsdlextensions.ims/nbproject/project.properties
wsdlextensions.ims/nbproject/project.xml
wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider
wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.model.spi.ElementFactory
wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory
wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.xam.spi.Validator
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSAddress.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSBinding.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSComponent.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSMessage.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSOperation.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSQName.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSAddressImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSAttribute.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSBindingImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSComponentImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSElementFactoryProvider.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSMessageImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSOperationImpl.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/Binding.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperation.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationInput.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationOutput.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/Bundle.properties
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/ServicePort.png
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/ims-ext.xsd
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/layer.xml
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/wsdl.xsd
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/Bundle.properties
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/IMSBCTemplateProvider.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/template.xml
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/Bundle.properties
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSComponentValidator.java
wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSValidatorSchemaFactory.java
wsdlextensions.ims/test/build-unit.xml
wsdlextensions.ims/test/build.xml
wsdlextensions.ims/test/cfg-unit.xml
wsdlextensions.ims/test/unit/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSValidatorSchemaFactoryTest.java
wsdlextensions.ims/test/unit/src/org/netbeans/modules/wsdlextensions/ims/validator/SchemaTest.java
     1.1 --- a/wsdlextensions.ims/build.xml	Wed Jul 09 12:08:56 2008 -0700
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,28 +0,0 @@
     1.4 -<?xml version="1.0" encoding="UTF-8"?>
     1.5 -
     1.6 -<!--
     1.7 - The contents of this file are subject to the terms of the Common Development
     1.8 - and Distribution License (the License). You may not use this file except in
     1.9 - compliance with the License.
    1.10 - 
    1.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    1.12 - or http://www.netbeans.org/cddl.txt.
    1.13 - 
    1.14 - When distributing Covered Code, include this CDDL Header Notice in each file
    1.15 - and include the License file at http://www.netbeans.org/cddl.txt.
    1.16 - If applicable, add the following below the CDDL Header, with the fields
    1.17 - enclosed by brackets [] replaced by your own identifying information:
    1.18 - "Portions Copyrighted [year] [name of copyright owner]"
    1.19 - 
    1.20 - The Original Software is NetBeans. The Initial Developer of the Original
    1.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
    1.22 - Microsystems, Inc. All Rights Reserved.
    1.23 --->
    1.24 -
    1.25 -<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
    1.26 -<!-- for some information on what you could do (e.g. targets to override). -->
    1.27 -<!-- If you delete this file and reopen the project it will be recreated. -->
    1.28 -<project name="org.netbeans.modules.wsdlextensions.ims" default="netbeans" basedir=".">
    1.29 -    <description>Builds, tests, and runs the project org.netbeans.modules.wsdlextensions.ims.</description>
    1.30 -    <import file="../../nbbuild/templates/projectized.xml"/>
    1.31 -</project>
     2.1 --- a/wsdlextensions.ims/manifest.mf	Wed Jul 09 12:08:56 2008 -0700
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,6 +0,0 @@
     2.4 -Manifest-Version: 1.0
     2.5 -OpenIDE-Module: org.netbeans.modules.wsdlextensions.ims
     2.6 -OpenIDE-Module-Layer: org/netbeans/modules/wsdlextensions/ims/resources/layer.xml
     2.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/wsdlextensions/ims/resources/Bundle.properties
     2.8 -OpenIDE-Module-Specification-Version: 1.0
     2.9 -
     3.1 --- a/wsdlextensions.ims/nbproject/genfiles.properties	Wed Jul 09 12:08:56 2008 -0700
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,8 +0,0 @@
     3.4 -build.xml.data.CRC32=05c35e32
     3.5 -build.xml.script.CRC32=0179e583
     3.6 -build.xml.stylesheet.CRC32=77ef55dd
     3.7 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
     3.8 -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
     3.9 -nbproject/build-impl.xml.data.CRC32=74365de3
    3.10 -nbproject/build-impl.xml.script.CRC32=df435b4e
    3.11 -nbproject/build-impl.xml.stylesheet.CRC32=3f8b4615
     4.1 --- a/wsdlextensions.ims/nbproject/platform.properties	Wed Jul 09 12:08:56 2008 -0700
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,20 +0,0 @@
     4.4 -#
     4.5 -# The contents of this file are subject to the terms of the Common Development
     4.6 -# and Distribution License (the License). You may not use this file except in
     4.7 -# compliance with the License.
     4.8 -# 
     4.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    4.10 -# or http://www.netbeans.org/cddl.txt.
    4.11 -# 
    4.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
    4.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
    4.14 -# If applicable, add the following below the CDDL Header, with the fields
    4.15 -# enclosed by brackets [] replaced by your own identifying information:
    4.16 -# "Portions Copyrighted [year] [name of copyright owner]"
    4.17 -# 
    4.18 -# The Original Software is NetBeans. The Initial Developer of the Original
    4.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
    4.20 -# Microsystems, Inc. All Rights Reserved.
    4.21 -#
    4.22 -
    4.23 -nbplatform.active=default
     5.1 --- a/wsdlextensions.ims/nbproject/project.properties	Wed Jul 09 12:08:56 2008 -0700
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,48 +0,0 @@
     5.4 -#
     5.5 -# The contents of this file are subject to the terms of the Common Development
     5.6 -# and Distribution License (the License). You may not use this file except in
     5.7 -# compliance with the License.
     5.8 -# 
     5.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    5.10 -# or http://www.netbeans.org/cddl.txt.
    5.11 -# 
    5.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
    5.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
    5.14 -# If applicable, add the following below the CDDL Header, with the fields
    5.15 -# enclosed by brackets [] replaced by your own identifying information:
    5.16 -# "Portions Copyrighted [year] [name of copyright owner]"
    5.17 -# 
    5.18 -# The Original Software is NetBeans. The Initial Developer of the Original
    5.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
    5.20 -# Microsystems, Inc. All Rights Reserved.
    5.21 -#
    5.22 -
    5.23 -javac.compilerargs=-Xlint:unchecked
    5.24 -javac.source=1.5
    5.25 -test.unit.cp.extra=\
    5.26 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-xdm.jar:\
    5.27 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-xam.jar:\
    5.28 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-retriever.jar:\
    5.29 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-schema-model.jar:\
    5.30 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-wsdl-model.jar:\
    5.31 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor.jar:\
    5.32 -    ${netbeans.dest.dir}/platform6/lib/org-openide-modules.jar:\
    5.33 -    ${netbeans.dest.dir}/platform6/lib/org-openide-util.jar:\
    5.34 -    ${netbeans.dest.dir}/platform6/modules/org-openide-options.jar:\
    5.35 -    ${netbeans.dest.dir}/platform6/modules/org-openide-text.jar:\
    5.36 -    ${netbeans.dest.dir}/platform6/modules/org-openide-nodes.jar:\
    5.37 -    ${netbeans.dest.dir}/platform6/modules/org-openide-loaders.jar:\
    5.38 -    ${netbeans.dest.dir}/platform6/modules/org-openide-dialogs.jar:\
    5.39 -    ${netbeans.dest.dir}/platform6/modules/org-openide-windows.jar:\
    5.40 -    ${netbeans.dest.dir}/platform6/modules/org-openide-awt.jar:\
    5.41 -    ${netbeans.dest.dir}/platform6/modules/org-netbeans-modules-masterfs.jar:\
    5.42 -    ${netbeans.dest.dir}/platform6/core/org-openide-filesystems.jar:\
    5.43 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-projectapi.jar:\
    5.44 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor-util.jar:\
    5.45 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-text.jar:\
    5.46 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-xml-core.jar:\
    5.47 -    ${netbeans.dest.dir}/ide7/modules/org-netbeans-modules-editor-lib.jar:\
    5.48 -    ${netbeans.dest.dir}/ide7/modules/org-apache-xml-resolver.jar:\
    5.49 -    ${netbeans.dest.dir}/soa1/modules/org-netbeans-modules-wsdlextensions-ims.jar
    5.50 -
    5.51 -test.unit.run.cp=${test.unit.cp.extra}
     6.1 --- a/wsdlextensions.ims/nbproject/project.xml	Wed Jul 09 12:08:56 2008 -0700
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,75 +0,0 @@
     6.4 -<?xml version="1.0" encoding="UTF-8"?>
     6.5 -
     6.6 -<!--
     6.7 - The contents of this file are subject to the terms of the Common Development
     6.8 - and Distribution License (the License). You may not use this file except in
     6.9 - compliance with the License.
    6.10 - 
    6.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    6.12 - or http://www.netbeans.org/cddl.txt.
    6.13 - 
    6.14 - When distributing Covered Code, include this CDDL Header Notice in each file
    6.15 - and include the License file at http://www.netbeans.org/cddl.txt.
    6.16 - If applicable, add the following below the CDDL Header, with the fields
    6.17 - enclosed by brackets [] replaced by your own identifying information:
    6.18 - "Portions Copyrighted [year] [name of copyright owner]"
    6.19 - 
    6.20 - The Original Software is NetBeans. The Initial Developer of the Original
    6.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
    6.22 - Microsystems, Inc. All Rights Reserved.
    6.23 --->
    6.24 -
    6.25 -<project xmlns="http://www.netbeans.org/ns/project/1">
    6.26 -    <type>org.netbeans.modules.apisupport.project</type>
    6.27 -    <configuration>
    6.28 -        <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
    6.29 -            <code-name-base>org.netbeans.modules.wsdlextensions.ims</code-name-base>
    6.30 -            <module-dependencies>
    6.31 -                <dependency>
    6.32 -                    <code-name-base>org.netbeans.modules.xml.schema.model</code-name-base>
    6.33 -                    <build-prerequisite/>
    6.34 -                    <compile-dependency/>
    6.35 -                    <run-dependency>
    6.36 -                        <release-version>1</release-version>
    6.37 -                        <specification-version>1.1.21</specification-version>
    6.38 -                    </run-dependency>
    6.39 -                </dependency>
    6.40 -                <dependency>
    6.41 -                    <code-name-base>org.netbeans.modules.xml.wsdl.model</code-name-base>
    6.42 -                    <build-prerequisite/>
    6.43 -                    <compile-dependency/>
    6.44 -                    <run-dependency>
    6.45 -                        <release-version>1</release-version>
    6.46 -                        <specification-version>1.1.21</specification-version>
    6.47 -                    </run-dependency>
    6.48 -                </dependency>
    6.49 -                <dependency>
    6.50 -                    <code-name-base>org.netbeans.modules.xml.wsdl.bindingsupport.api</code-name-base>
    6.51 -                    <build-prerequisite/>
    6.52 -                    <compile-dependency/>
    6.53 -                    <run-dependency>
    6.54 -                        <specification-version>1.0</specification-version>
    6.55 -                    </run-dependency>
    6.56 -                </dependency>
    6.57 -                <dependency>
    6.58 -                    <code-name-base>org.netbeans.modules.xml.xam</code-name-base>
    6.59 -                    <build-prerequisite/>
    6.60 -                    <compile-dependency/>
    6.61 -                    <run-dependency>
    6.62 -                        <release-version>1</release-version>
    6.63 -                        <specification-version>1.1.21</specification-version>
    6.64 -                    </run-dependency>
    6.65 -                </dependency>
    6.66 -                <dependency>
    6.67 -                    <code-name-base>org.openide.util</code-name-base>
    6.68 -                    <build-prerequisite/>
    6.69 -                    <compile-dependency/>
    6.70 -                    <run-dependency>
    6.71 -                        <specification-version>6.8.22</specification-version>
    6.72 -                    </run-dependency>
    6.73 -                </dependency>
    6.74 -            </module-dependencies>
    6.75 -            <public-packages/>
    6.76 -        </data>
    6.77 -    </configuration>
    6.78 -</project>
     7.1 --- a/wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider	Wed Jul 09 12:08:56 2008 -0700
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,1 +0,0 @@
     7.4 -org.netbeans.modules.wsdlextensions.ims.template.IMSBCTemplateProvider
     7.5 \ No newline at end of file
     8.1 --- a/wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.model.spi.ElementFactory	Wed Jul 09 12:08:56 2008 -0700
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,4 +0,0 @@
     8.4 -org.netbeans.modules.wsdlextensions.ims.model.impl.IMSElementFactoryProvider$AddressFactory
     8.5 -org.netbeans.modules.wsdlextensions.ims.model.impl.IMSElementFactoryProvider$BindingFactory
     8.6 -org.netbeans.modules.wsdlextensions.ims.model.impl.IMSElementFactoryProvider$OperationFactory
     8.7 -org.netbeans.modules.wsdlextensions.ims.model.impl.IMSElementFactoryProvider$MessageFactory
     9.1 --- a/wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory	Wed Jul 09 12:08:56 2008 -0700
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,1 +0,0 @@
     9.4 -org.netbeans.modules.wsdlextensions.ims.validator.IMSValidatorSchemaFactory
     9.5 \ No newline at end of file
    10.1 --- a/wsdlextensions.ims/src/META-INF/services/org.netbeans.modules.xml.xam.spi.Validator	Wed Jul 09 12:08:56 2008 -0700
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,2 +0,0 @@
    10.4 -org.netbeans.modules.wsdlextensions.ims.validator.IMSComponentValidator
    10.5 -
    11.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSAddress.java	Wed Jul 09 12:08:56 2008 -0700
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,36 +0,0 @@
    11.4 -/*
    11.5 - * The contents of this file are subject to the terms of the Common Development
    11.6 - * and Distribution License (the License). You may not use this file except in
    11.7 - * compliance with the License.
    11.8 - * 
    11.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   11.10 - * or http://www.netbeans.org/cddl.txt.
   11.11 - * 
   11.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   11.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   11.14 - * If applicable, add the following below the CDDL Header, with the fields
   11.15 - * enclosed by brackets [] replaced by your own identifying information:
   11.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   11.17 - * 
   11.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   11.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   11.20 - * Microsystems, Inc. All Rights Reserved.
   11.21 - */
   11.22 -
   11.23 -package org.netbeans.modules.wsdlextensions.ims.model;
   11.24 -
   11.25 -/**
   11.26 - *
   11.27 - * Represents the address element under the wsdl port for IMS binding
   11.28 - *
   11.29 - * @author Sun Microsystems
   11.30 -*/
   11.31 -public interface IMSAddress extends IMSComponent {
   11.32 -
   11.33 -    public static final String IMS_SERVER_LOCATION = "imsServerLocation";
   11.34 -    
   11.35 -    public String getImsServerLocation();
   11.36 -
   11.37 -    public void setImsServerLocation(String url);
   11.38 -
   11.39 -}
    12.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSBinding.java	Wed Jul 09 12:08:56 2008 -0700
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,27 +0,0 @@
    12.4 -/*
    12.5 - * The contents of this file are subject to the terms of the Common Development
    12.6 - * and Distribution License (the License). You may not use this file except in
    12.7 - * compliance with the License.
    12.8 - * 
    12.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   12.10 - * or http://www.netbeans.org/cddl.txt.
   12.11 - * 
   12.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   12.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   12.14 - * If applicable, add the following below the CDDL Header, with the fields
   12.15 - * enclosed by brackets [] replaced by your own identifying information:
   12.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   12.17 - * 
   12.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   12.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   12.20 - * Microsystems, Inc. All Rights Reserved.
   12.21 - */
   12.22 -
   12.23 - /**
   12.24 -  * @author Sun Microsystems
   12.25 -  */
   12.26 -
   12.27 -package org.netbeans.modules.wsdlextensions.ims.model;
   12.28 -
   12.29 -public interface IMSBinding extends IMSComponent {
   12.30 -}
    13.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSComponent.java	Wed Jul 09 12:08:56 2008 -0700
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,40 +0,0 @@
    13.4 -/*
    13.5 - * The contents of this file are subject to the terms of the Common Development
    13.6 - * and Distribution License (the License). You may not use this file except in
    13.7 - * compliance with the License.
    13.8 - * 
    13.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   13.10 - * or http://www.netbeans.org/cddl.txt.
   13.11 - * 
   13.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   13.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   13.14 - * If applicable, add the following below the CDDL Header, with the fields
   13.15 - * enclosed by brackets [] replaced by your own identifying information:
   13.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   13.17 - * 
   13.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   13.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   13.20 - * Microsystems, Inc. All Rights Reserved.
   13.21 - */
   13.22 -package org.netbeans.modules.wsdlextensions.ims.model;
   13.23 -
   13.24 -import org.netbeans.modules.xml.wsdl.model.ExtensibilityElement;
   13.25 -
   13.26 -/**
   13.27 - * @author Sun Microsystems
   13.28 - */
   13.29 -public interface IMSComponent extends ExtensibilityElement {
   13.30 -
   13.31 -    public interface Visitor {
   13.32 -
   13.33 -        void visit(IMSAddress target);
   13.34 -        
   13.35 -		void visit(IMSBinding target);
   13.36 -        
   13.37 -		void visit(IMSOperation target);
   13.38 -        
   13.39 -		void visit(IMSMessage target);
   13.40 -    }
   13.41 -    
   13.42 -    void accept(Visitor visitor);
   13.43 -}
    14.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSMessage.java	Wed Jul 09 12:08:56 2008 -0700
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,173 +0,0 @@
    14.4 -/*
    14.5 - * The contents of this file are subject to the terms of the Common Development
    14.6 - * and Distribution License (the License). You may not use this file except in
    14.7 - * compliance with the License.
    14.8 - * 
    14.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   14.10 - * or http://www.netbeans.org/cddl.txt.
   14.11 - * 
   14.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   14.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   14.14 - * If applicable, add the following below the CDDL Header, with the fields
   14.15 - * enclosed by brackets [] replaced by your own identifying information:
   14.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   14.17 - * 
   14.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   14.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   14.20 - * Microsystems, Inc. All Rights Reserved.
   14.21 - */
   14.22 -
   14.23 -package org.netbeans.modules.wsdlextensions.ims.model;
   14.24 -
   14.25 -/*
   14.26 - *
   14.27 - * @author Sun Microsystems
   14.28 - */
   14.29 -
   14.30 -public interface IMSMessage extends IMSComponent {
   14.31 -
   14.32 -	public static final String IRM_LEN = "irmLen";
   14.33 -	
   14.34 -	public static final String IRM_ID = "irmId";
   14.35 -	
   14.36 -	public static final String IRM_TIMER = "irmTimer";
   14.37 -	
   14.38 -	public static final String IRM_SOCKET = "irmSocket";
   14.39 -	
   14.40 -	public static final String IRM_CLIENT_ID = "irmClientId";
   14.41 -	
   14.42 -	public static final String IRM_MOD = "irmMod";
   14.43 -	
   14.44 -	public static final String IRM_COMMIT_MODE = "irmCommitMode";
   14.45 -	
   14.46 -	public static final String IRM_SYNC_LEVEL = "irmSyncLevel";
   14.47 -	
   14.48 -	public static final String IRM_ACK = "irmAck";
   14.49 -	
   14.50 -	public static final String IRM_FLOW = "irmFlow";
   14.51 -	
   14.52 -	public static final String IRM_TRAN_CODE = "irmTranCode";
   14.53 -	
   14.54 -	public static final String IRM_TRAN_CODE_SRC = "irmTranCodeSrc";
   14.55 -	
   14.56 -	public static final String IRM_DEST_ID = "irmDestId";
   14.57 -	
   14.58 -	public static final String IRM_LTERM = "irmLterm";
   14.59 -   
   14.60 -	public static final String IRM_RACF_GRP_NAME = "irmRacfGrpName";
   14.61 -	
   14.62 -	public static final String IRM_RACF_USER_ID = "irmRacfUserId";
   14.63 -	
   14.64 -	public static final String IRM_RACF_PASS = "irmRacfPwd";
   14.65 -	
   14.66 -	public static final String IRM_HEADER_ENCODING = "irmHeaderEncod";
   14.67 -	
   14.68 -	public static final String SEND_DATA_ENCODING = "sendDataEncod";
   14.69 -	
   14.70 -	public static final String REPLY_DATA_ENCODING = "replyDataEncod";
   14.71 -	
   14.72 -	public static final String IMS_USE = "use";
   14.73 -    
   14.74 -	public static final String IMS_ENCODING_STYLE = "encodingStyle";
   14.75 -    
   14.76 -	public static final String IMS_PART = "part";
   14.77 -    
   14.78 -    
   14.79 -    public String getIrmLen(); 
   14.80 -
   14.81 -    public void setIrmLen(String len);
   14.82 -
   14.83 -	public String getIrmId();
   14.84 -
   14.85 -    public void setIrmId(String id);
   14.86 -
   14.87 -	public String getIrmTimer(); 
   14.88 -
   14.89 -    public void setIrmTimer(String timer); 
   14.90 -
   14.91 -	public String getIrmSocket(); 
   14.92 -
   14.93 -    public void setIrmSocket(String soct); 
   14.94 -
   14.95 -	public String getIrmClientId(); 
   14.96 -
   14.97 -    public void setIrmClientId(String clientId); 
   14.98 -
   14.99 -	public String getIrmMod(); 
  14.100 -
  14.101 -    public void setIrmMod(String mod);
  14.102 -
  14.103 -	public String getIrmCommitMode();
  14.104 -
  14.105 -    public void setIrmCommitMode(String mode);
  14.106 -
  14.107 -	public String getIrmSyncLevel(); 
  14.108 -
  14.109 -    public void setIrmSyncLevel(String level); 
  14.110 -
  14.111 -	public String getIrmAck(); 
  14.112 -
  14.113 -    public void setIrmAck(String ack); 
  14.114 -
  14.115 -	public String getIrmFlow(); 
  14.116 -
  14.117 -    public void setIrmFlow(String flow);
  14.118 -
  14.119 -	public String getIrmTranCode(); 
  14.120 -
  14.121 -    public void setIrmTranCode(String tcode);
  14.122 -
  14.123 -	public String getIrmTranCodeSrc(); 
  14.124 -
  14.125 -    public void setIrmTranCodeSrc(String tcode); 
  14.126 -
  14.127 -	public String getIrmDestId(); 
  14.128 -
  14.129 -    public void setIrmDestId(String dest); 
  14.130 -
  14.131 -	public String getIrmLterm(); 
  14.132 -
  14.133 -    public void setIrmLterm(String lterm); 
  14.134 -
  14.135 -	public String getIrmRacfGrpName(); 
  14.136 -
  14.137 -    public void setIrmRacfGrpName(String grpname); 
  14.138 -
  14.139 -	public String getIrmRacfUserId(); 
  14.140 -
  14.141 -    public void setIrmRacfUserId(String userid); 
  14.142 -
  14.143 -	public String getIrmRacfPwd(); 
  14.144 -
  14.145 -    public void setIrmRacfPwd(String pwd); 
  14.146 -
  14.147 -	public String getIrmHeaderEncod(); 
  14.148 -
  14.149 -    public void setIrmHeaderEncod(String hdr); 
  14.150 -
  14.151 -	public String getSendDataEncod(); 
  14.152 -
  14.153 -    public void setSendDataEncod(String data); 
  14.154 -
  14.155 -	public String getReplyDataEncod(); 
  14.156 -
  14.157 -    public void setReplyDataEncod(String data); 
  14.158 -
  14.159 -	//<msmq:message ="use:literal"
  14.160 -    public String getUse();
  14.161 -    
  14.162 -	public void setUse(String use);
  14.163 -    
  14.164 -	//<msmq:message encodingStyle="encoded"
  14.165 -    public String getEncodingStyle();
  14.166 -    
  14.167 -	public void setEncodingStyle(String style);
  14.168 -    
  14.169 -	//<msmq:message part="part1"
  14.170 -    public String getMessagePart();
  14.171 -    
  14.172 -	public void setMessagePart(String part);
  14.173 -
  14.174 -
  14.175 -}
  14.176 -
    15.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSOperation.java	Wed Jul 09 12:08:56 2008 -0700
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,28 +0,0 @@
    15.4 -/*
    15.5 - * The contents of this file are subject to the terms of the Common Development
    15.6 - * and Distribution License (the License). You may not use this file except in
    15.7 - * compliance with the License.
    15.8 - * 
    15.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   15.10 - * or http://www.netbeans.org/cddl.txt.
   15.11 - * 
   15.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   15.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   15.14 - * If applicable, add the following below the CDDL Header, with the fields
   15.15 - * enclosed by brackets [] replaced by your own identifying information:
   15.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   15.17 - * 
   15.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   15.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   15.20 - * Microsystems, Inc. All Rights Reserved.
   15.21 - */
   15.22 -
   15.23 -/*
   15.24 - *
   15.25 - * @author Sun Microsystems
   15.26 - */
   15.27 -
   15.28 -package org.netbeans.modules.wsdlextensions.ims.model;
   15.29 -
   15.30 -public interface IMSOperation extends IMSComponent {
   15.31 -}
    16.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/IMSQName.java	Wed Jul 09 12:08:56 2008 -0700
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,67 +0,0 @@
    16.4 -/*
    16.5 - * The contents of this file are subject to the terms of the Common Development
    16.6 - * and Distribution License (the License). You may not use this file except in
    16.7 - * compliance with the License.
    16.8 - * 
    16.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   16.10 - * or http://www.netbeans.org/cddl.txt.
   16.11 - * 
   16.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   16.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   16.14 - * If applicable, add the following below the CDDL Header, with the fields
   16.15 - * enclosed by brackets [] replaced by your own identifying information:
   16.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   16.17 - * 
   16.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   16.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   16.20 - * Microsystems, Inc. All Rights Reserved.
   16.21 - */
   16.22 -
   16.23 -package org.netbeans.modules.wsdlextensions.ims.model;
   16.24 -
   16.25 -import java.util.HashSet;
   16.26 -import java.util.Set;
   16.27 -import javax.xml.namespace.QName;
   16.28 -
   16.29 - /**
   16.30 -  * @author Sun Microsystems
   16.31 -  */
   16.32 -
   16.33 -public enum IMSQName {
   16.34 -    ADDRESS(createIMSQName("address")),
   16.35 -    BINDING(createIMSQName("binding")),
   16.36 -    FAULT(createIMSQName("fault")),
   16.37 -    OPERATION(createIMSQName("operation")),
   16.38 -    MESSAGE(createIMSQName("message"));
   16.39 -    
   16.40 -    private final QName qName;
   16.41 -	
   16.42 -	public static final String IMS_NS_URI = "http://schemas.sun.com/jbi/wsdl-extensions/ims/";
   16.43 -
   16.44 -	public static final String IMS_NS_PREFIX = "ims";
   16.45 -    
   16.46 -    public static QName createIMSQName(String localName){
   16.47 -        return new QName(IMS_NS_URI, localName, IMS_NS_PREFIX);
   16.48 -    }
   16.49 -    
   16.50 -    IMSQName(QName name) {
   16.51 -        qName = name;
   16.52 -    }
   16.53 -    
   16.54 -    public QName getQName(){
   16.55 -        return qName;
   16.56 -    }
   16.57 -    
   16.58 -    private static Set<QName> qnames = null;
   16.59 -    
   16.60 -	public static Set<QName> getQNames() {
   16.61 -        if (qnames == null) {
   16.62 -            qnames = new HashSet<QName>();
   16.63 -            for (IMSQName wq : values()) {
   16.64 -                qnames.add(wq.getQName());
   16.65 -            }
   16.66 -        }
   16.67 -        return qnames;
   16.68 -    }
   16.69 -
   16.70 -}
    17.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSAddressImpl.java	Wed Jul 09 12:08:56 2008 -0700
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,50 +0,0 @@
    17.4 -/*
    17.5 - * The contents of this file are subject to the terms of the Common Development
    17.6 - * and Distribution License (the License). You may not use this file except in
    17.7 - * compliance with the License.
    17.8 - * 
    17.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   17.10 - * or http://www.netbeans.org/cddl.txt.
   17.11 - * 
   17.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   17.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   17.14 - * If applicable, add the following below the CDDL Header, with the fields
   17.15 - * enclosed by brackets [] replaced by your own identifying information:
   17.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   17.17 - * 
   17.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   17.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   17.20 - * Microsystems, Inc. All Rights Reserved.
   17.21 - */
   17.22 -
   17.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
   17.24 -
   17.25 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
   17.26 -
   17.27 -import org.netbeans.modules.wsdlextensions.ims.model.IMSAddress;
   17.28 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
   17.29 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
   17.30 -
   17.31 -import org.w3c.dom.Element;
   17.32 -
   17.33 -public class IMSAddressImpl extends IMSComponentImpl implements IMSAddress {
   17.34 -    public IMSAddressImpl(WSDLModel model, Element e) {
   17.35 -        super(model, e);
   17.36 -    }
   17.37 -    
   17.38 -    public IMSAddressImpl(WSDLModel model){
   17.39 -        this(model, createPrefixedElement(IMSQName.ADDRESS.getQName(), model));
   17.40 -    }
   17.41 -    
   17.42 -    public void accept(IMSComponent.Visitor visitor) {
   17.43 -        visitor.visit(this);
   17.44 -    }
   17.45 -
   17.46 -    public void setImsServerLocation(String url){
   17.47 -        setAttribute(IMSAddress.IMS_SERVER_LOCATION, IMSAttribute.IMS_SERVER_LOCATION, url);
   17.48 -    }
   17.49 -
   17.50 -    public String getImsServerLocation(){
   17.51 -        return getAttribute(IMSAttribute.IMS_SERVER_LOCATION);
   17.52 -    }
   17.53 -}
    18.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSAttribute.java	Wed Jul 09 12:08:56 2008 -0700
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,85 +0,0 @@
    18.4 -/*
    18.5 - * The contents of this file are subject to the terms of the Common Development
    18.6 - * and Distribution License (the License). You may not use this file except in
    18.7 - * compliance with the License.
    18.8 - * 
    18.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   18.10 - * or http://www.netbeans.org/cddl.txt.
   18.11 - * 
   18.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   18.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   18.14 - * If applicable, add the following below the CDDL Header, with the fields
   18.15 - * enclosed by brackets [] replaced by your own identifying information:
   18.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   18.17 - * 
   18.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   18.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   18.20 - * Microsystems, Inc. All Rights Reserved.
   18.21 - */
   18.22 -
   18.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
   18.24 -
   18.25 -import java.util.Collection;
   18.26 -
   18.27 -import org.netbeans.modules.xml.xam.dom.Attribute;
   18.28 -
   18.29 -public enum IMSAttribute implements Attribute {
   18.30 -    IMS_SERVER_LOCATION("imsServerLocation"),
   18.31 -    IRM_LEN("irmLen"),
   18.32 -	IRM_ID("irmId"),
   18.33 -	IRM_TIMER("irmTimer"),
   18.34 -	IRM_SOCKET("irmSocket"),
   18.35 -	IRM_CLIENT_ID("irmClientId"),
   18.36 -	IRM_MOD("irmMod"),
   18.37 -	IRM_COMMIT_MODE("irmCommitMode"),
   18.38 -	IRM_SYNC_LEVEL("irmSyncLevel"),
   18.39 -	IRM_ACK("irmAck"),
   18.40 -	IRM_FLOW("irmFlow"),
   18.41 -	IRM_TRAN_CODE("irmTranCode"),
   18.42 -	IRM_TRAN_CODE_SRC("irmTranCodeSrc"),
   18.43 -	IRM_DEST_ID("irmDestId"),
   18.44 -	IRM_LTERM("irmLterm"),
   18.45 -	IRM_RACF_GRP_NAME("irmRacfGrpName"),
   18.46 -	IRM_RACF_USER_ID("irmRacfUserId"),
   18.47 -	IRM_RACF_PASS("irmRacfPwd"),
   18.48 -	IRM_HEADER_ENCODING("irmHeaderEncod"),
   18.49 -	SEND_DATA_ENCODING("sendDataEncod"),
   18.50 -	REPLY_DATA_ENCODING("replyDataEncod"),
   18.51 -    IMS_USE("use"),
   18.52 -    IMS_ENCODING_STYLE("encodingStyle"),
   18.53 -    IMS_PART("part");
   18.54 -
   18.55 -    private String name;
   18.56 -    private Class type;
   18.57 -    private Class subtype;
   18.58 -    
   18.59 -    IMSAttribute(String name) {
   18.60 -        this(name, String.class);
   18.61 -    }
   18.62 -    
   18.63 -    IMSAttribute(String name, Class type) {
   18.64 -        this(name, type, null);
   18.65 -    }
   18.66 -    
   18.67 -    IMSAttribute(String name, Class type, Class subtype) {
   18.68 -        this.name = name;
   18.69 -        this.type = type;
   18.70 -        this.subtype = subtype;
   18.71 -    }
   18.72 -    
   18.73 -    public String toString() {
   18.74 -		return name; 
   18.75 -	}
   18.76 -    
   18.77 -    public Class getType() {
   18.78 -		return type;
   18.79 -    }
   18.80 -    
   18.81 -    public String getName() { 
   18.82 -		return name; 
   18.83 -	}
   18.84 -    
   18.85 -    public Class getMemberType() { 
   18.86 -		return subtype; 
   18.87 -	}
   18.88 -}
    19.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSBindingImpl.java	Wed Jul 09 12:08:56 2008 -0700
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,43 +0,0 @@
    19.4 -/*
    19.5 - * The contents of this file are subject to the terms of the Common Development
    19.6 - * and Distribution License (the License). You may not use this file except in
    19.7 - * compliance with the License.
    19.8 - * 
    19.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   19.10 - * or http://www.netbeans.org/cddl.txt.
   19.11 - * 
   19.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   19.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   19.14 - * If applicable, add the following below the CDDL Header, with the fields
   19.15 - * enclosed by brackets [] replaced by your own identifying information:
   19.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   19.17 - * 
   19.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   19.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   19.20 - * Microsystems, Inc. All Rights Reserved.
   19.21 - */
   19.22 -
   19.23 -
   19.24 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
   19.25 -
   19.26 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
   19.27 -
   19.28 -import org.netbeans.modules.wsdlextensions.ims.model.IMSBinding;
   19.29 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
   19.30 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
   19.31 -
   19.32 -import org.w3c.dom.Element;
   19.33 -
   19.34 -public class IMSBindingImpl extends IMSComponentImpl implements IMSBinding {
   19.35 -    public IMSBindingImpl(WSDLModel model, Element e) {
   19.36 -        super(model, e);
   19.37 -    }
   19.38 -    
   19.39 -    public IMSBindingImpl(WSDLModel model){
   19.40 -        this(model, createPrefixedElement(IMSQName.BINDING.getQName(), model));
   19.41 -    }
   19.42 -    
   19.43 -    public void accept(IMSComponent.Visitor visitor) {
   19.44 -        visitor.visit(this);
   19.45 -    }
   19.46 -}
    20.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSComponentImpl.java	Wed Jul 09 12:08:56 2008 -0700
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,40 +0,0 @@
    20.4 -/*
    20.5 - * The contents of this file are subject to the terms of the Common Development
    20.6 - * and Distribution License (the License). You may not use this file except in
    20.7 - * compliance with the License.
    20.8 - * 
    20.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   20.10 - * or http://www.netbeans.org/cddl.txt.
   20.11 - * 
   20.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   20.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   20.14 - * If applicable, add the following below the CDDL Header, with the fields
   20.15 - * enclosed by brackets [] replaced by your own identifying information:
   20.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   20.17 - * 
   20.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   20.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   20.20 - * Microsystems, Inc. All Rights Reserved.
   20.21 - */
   20.22 -
   20.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
   20.24 -
   20.25 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
   20.26 -
   20.27 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
   20.28 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
   20.29 -
   20.30 -import org.netbeans.modules.xml.wsdl.model.spi.GenericExtensibilityElement;
   20.31 -
   20.32 -import org.w3c.dom.Element;
   20.33 -
   20.34 -public abstract class IMSComponentImpl extends GenericExtensibilityElement implements IMSComponent {
   20.35 -
   20.36 -    protected String getNamespaceURI() {
   20.37 -        return IMSQName.IMS_NS_URI;
   20.38 -    }
   20.39 -
   20.40 -	public IMSComponentImpl(WSDLModel model, Element e) {
   20.41 -        super(model, e);
   20.42 -    }    
   20.43 -}
    21.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSElementFactoryProvider.java	Wed Jul 09 12:08:56 2008 -0700
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,74 +0,0 @@
    21.4 -/*
    21.5 - * The contents of this file are subject to the terms of the Common Development
    21.6 - * and Distribution License (the License). You may not use this file except in
    21.7 - * compliance with the License.
    21.8 - * 
    21.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   21.10 - * or http://www.netbeans.org/cddl.txt.
   21.11 - * 
   21.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   21.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   21.14 - * If applicable, add the following below the CDDL Header, with the fields
   21.15 - * enclosed by brackets [] replaced by your own identifying information:
   21.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   21.17 - * 
   21.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   21.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   21.20 - * Microsystems, Inc. All Rights Reserved.
   21.21 - */
   21.22 -
   21.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
   21.24 -
   21.25 -import java.util.ArrayList;
   21.26 -import java.util.Collection;
   21.27 -import java.util.Collections;
   21.28 -import java.util.Set;
   21.29 -
   21.30 -import javax.xml.namespace.QName;
   21.31 -
   21.32 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
   21.33 -
   21.34 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
   21.35 -
   21.36 -import org.netbeans.modules.xml.wsdl.model.spi.ElementFactory;
   21.37 -
   21.38 -import org.w3c.dom.Element;
   21.39 -
   21.40 -public class IMSElementFactoryProvider {
   21.41 -    
   21.42 -    public static class BindingFactory extends ElementFactory {
   21.43 -        public Set<QName> getElementQNames() {
   21.44 -            return Collections.singleton(IMSQName.BINDING.getQName());
   21.45 -        }
   21.46 -        public WSDLComponent create(WSDLComponent context, Element element) {
   21.47 -            return new IMSBindingImpl(context.getModel(), element);
   21.48 -        }
   21.49 -    }
   21.50 -
   21.51 -    public static class AddressFactory extends ElementFactory {
   21.52 -        public Set<QName> getElementQNames() {
   21.53 -            return Collections.singleton(IMSQName.ADDRESS.getQName());
   21.54 -        }
   21.55 -        public WSDLComponent create(WSDLComponent context, Element element) {
   21.56 -            return new IMSAddressImpl(context.getModel(), element);
   21.57 -        }
   21.58 -    }
   21.59 -
   21.60 -    public static class OperationFactory extends ElementFactory{
   21.61 -        public Set<QName> getElementQNames() {
   21.62 -            return Collections.singleton(IMSQName.OPERATION.getQName());
   21.63 -        }
   21.64 -        public WSDLComponent create(WSDLComponent context, Element element) {
   21.65 -            return new IMSOperationImpl(context.getModel(), element);
   21.66 -        }
   21.67 -    }
   21.68 -
   21.69 -    public static class MessageFactory extends ElementFactory{
   21.70 -        public Set<QName> getElementQNames() {
   21.71 -            return Collections.singleton(IMSQName.MESSAGE.getQName());
   21.72 -        }
   21.73 -        public WSDLComponent create(WSDLComponent context, Element element) {
   21.74 -            return new IMSMessageImpl(context.getModel(), element);
   21.75 -        }
   21.76 -    }
   21.77 -}
    22.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSMessageImpl.java	Wed Jul 09 12:08:56 2008 -0700
    22.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.3 @@ -1,232 +0,0 @@
    22.4 -/*
    22.5 - * The contents of this file are subject to the terms of the Common Development
    22.6 - * and Distribution License (the License). You may not use this file except in
    22.7 - * compliance with the License.
    22.8 - * 
    22.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   22.10 - * or http://www.netbeans.org/cddl.txt.
   22.11 - * 
   22.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   22.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   22.14 - * If applicable, add the following below the CDDL Header, with the fields
   22.15 - * enclosed by brackets [] replaced by your own identifying information:
   22.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   22.17 - * 
   22.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   22.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   22.20 - * Microsystems, Inc. All Rights Reserved.
   22.21 - */
   22.22 -
   22.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
   22.24 -
   22.25 -import java.util.Collection;
   22.26 -
   22.27 -import org.netbeans.modules.xml.wsdl.model.Binding;
   22.28 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
   22.29 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
   22.30 -
   22.31 -import org.netbeans.modules.wsdlextensions.ims.model.IMSMessage;
   22.32 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
   22.33 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
   22.34 -
   22.35 -import org.w3c.dom.Element;
   22.36 -
   22.37 -public class IMSMessageImpl extends IMSComponentImpl implements IMSMessage {
   22.38 -    
   22.39 -    public IMSMessageImpl(WSDLModel model, Element e) {
   22.40 -        super(model, e);
   22.41 -    }
   22.42 -    
   22.43 -    public IMSMessageImpl(WSDLModel model){
   22.44 -        this(model, createPrefixedElement(IMSQName.MESSAGE.getQName(), model));
   22.45 -    }
   22.46 -    
   22.47 -    public void accept(IMSMessage.Visitor visitor) {
   22.48 -        visitor.visit(this);
   22.49 -    }
   22.50 -
   22.51 -    public String getIrmLen() {
   22.52 -        return getAttribute(IMSAttribute.IRM_LEN);
   22.53 -    }
   22.54 -
   22.55 -    public void setIrmLen(String len) {
   22.56 -        setAttribute(IRM_LEN, IMSAttribute.IRM_LEN, len.toString());
   22.57 -    }
   22.58 -
   22.59 -	public String getIrmId() {
   22.60 -        return getAttribute(IMSAttribute.IRM_ID);
   22.61 -    }
   22.62 -
   22.63 -    public void setIrmId(String id) {
   22.64 -        setAttribute(IMSMessage.IRM_ID, IMSAttribute.IRM_ID, id);
   22.65 -    }
   22.66 -
   22.67 -	public String getIrmTimer() {
   22.68 -        return getAttribute(IMSAttribute.IRM_TIMER);
   22.69 -    }
   22.70 -
   22.71 -    public void setIrmTimer(String timer) {
   22.72 -        setAttribute(IMSMessage.IRM_TIMER, IMSAttribute.IRM_TIMER, timer);
   22.73 -    }
   22.74 -
   22.75 -	public String getIrmSocket() {
   22.76 -        return getAttribute(IMSAttribute.IRM_SOCKET);
   22.77 -    }
   22.78 -
   22.79 -    public void setIrmSocket(String soct) {
   22.80 -        setAttribute(IMSMessage.IRM_SOCKET, IMSAttribute.IRM_SOCKET, soct);
   22.81 -    }
   22.82 -
   22.83 -	public String getIrmClientId() {
   22.84 -        return getAttribute(IMSAttribute.IRM_CLIENT_ID);
   22.85 -    }
   22.86 -
   22.87 -    public void setIrmClientId(String clientId) {
   22.88 -        setAttribute(IMSMessage.IRM_CLIENT_ID, IMSAttribute.IRM_CLIENT_ID, clientId);
   22.89 -    }
   22.90 -
   22.91 -	public String getIrmMod() {
   22.92 -        return getAttribute(IMSAttribute.IRM_MOD);
   22.93 -    }
   22.94 -
   22.95 -    public void setIrmMod(String mod) {
   22.96 -        setAttribute(IMSMessage.IRM_MOD, IMSAttribute.IRM_MOD, mod);
   22.97 -    }
   22.98 -
   22.99 -	public String getIrmCommitMode() {
  22.100 -        return getAttribute(IMSAttribute.IRM_COMMIT_MODE);
  22.101 -    }
  22.102 -
  22.103 -    public void setIrmCommitMode(String mode) {
  22.104 -        setAttribute(IMSMessage.IRM_COMMIT_MODE, IMSAttribute.IRM_COMMIT_MODE, mode);
  22.105 -    }
  22.106 -
  22.107 -	public String getIrmSyncLevel() {
  22.108 -        return getAttribute(IMSAttribute.IRM_SYNC_LEVEL);
  22.109 -    }
  22.110 -
  22.111 -    public void setIrmSyncLevel(String level) {
  22.112 -        setAttribute(IMSMessage.IRM_SYNC_LEVEL, IMSAttribute.IRM_SYNC_LEVEL, level);
  22.113 -    }
  22.114 -
  22.115 -	public String getIrmAck() {
  22.116 -        return getAttribute(IMSAttribute.IRM_ACK);
  22.117 -    }
  22.118 -
  22.119 -    public void setIrmAck(String ack) {
  22.120 -        setAttribute(IMSMessage.IRM_ACK, IMSAttribute.IRM_ACK, ack);
  22.121 -    }
  22.122 -
  22.123 -	public String getIrmFlow() {
  22.124 -        return getAttribute(IMSAttribute.IRM_FLOW);
  22.125 -    }
  22.126 -
  22.127 -    public void setIrmFlow(String flow) {
  22.128 -        setAttribute(IMSMessage.IRM_FLOW, IMSAttribute.IRM_FLOW, flow);
  22.129 -    }
  22.130 -
  22.131 -	public String getIrmTranCode() {
  22.132 -        return getAttribute(IMSAttribute.IRM_TRAN_CODE);
  22.133 -    }
  22.134 -
  22.135 -    public void setIrmTranCode(String tcode) {
  22.136 -        setAttribute(IMSMessage.IRM_TRAN_CODE, IMSAttribute.IRM_TRAN_CODE, tcode);
  22.137 -    }
  22.138 -
  22.139 -	public String getIrmTranCodeSrc() {
  22.140 -        return getAttribute(IMSAttribute.IRM_TRAN_CODE_SRC);
  22.141 -    }
  22.142 -
  22.143 -    public void setIrmTranCodeSrc(String tcode) {
  22.144 -        setAttribute(IMSMessage.IRM_TRAN_CODE_SRC, IMSAttribute.IRM_TRAN_CODE_SRC, tcode);
  22.145 -    }
  22.146 -
  22.147 -	public String getIrmDestId() {
  22.148 -        return getAttribute(IMSAttribute.IRM_DEST_ID);
  22.149 -    }
  22.150 -
  22.151 -    public void setIrmDestId(String dest) {
  22.152 -        setAttribute(IMSMessage.IRM_DEST_ID, IMSAttribute.IRM_DEST_ID, dest);
  22.153 -    }
  22.154 -
  22.155 -	public String getIrmLterm() {
  22.156 -        return getAttribute(IMSAttribute.IRM_LTERM);
  22.157 -    }
  22.158 -
  22.159 -    public void setIrmLterm(String lterm) {
  22.160 -        setAttribute(IMSMessage.IRM_LTERM, IMSAttribute.IRM_LTERM, lterm);
  22.161 -    }
  22.162 -
  22.163 -	public String getIrmRacfGrpName() {
  22.164 -        return getAttribute(IMSAttribute.IRM_RACF_GRP_NAME);
  22.165 -    }
  22.166 -
  22.167 -    public void setIrmRacfGrpName(String grpname) {
  22.168 -        setAttribute(IMSMessage.IRM_RACF_GRP_NAME, IMSAttribute.IRM_RACF_GRP_NAME, grpname);
  22.169 -    }
  22.170 -
  22.171 -	public String getIrmRacfUserId() {
  22.172 -        return getAttribute(IMSAttribute.IRM_RACF_USER_ID);
  22.173 -    }
  22.174 -
  22.175 -    public void setIrmRacfUserId(String userid) {
  22.176 -        setAttribute(IMSMessage.IRM_RACF_USER_ID, IMSAttribute.IRM_RACF_USER_ID, userid);
  22.177 -    }
  22.178 -
  22.179 -	public String getIrmRacfPwd() {
  22.180 -        return getAttribute(IMSAttribute.IRM_RACF_PASS);
  22.181 -    }
  22.182 -
  22.183 -    public void setIrmRacfPwd(String pwd) {
  22.184 -        setAttribute(IMSMessage.IRM_RACF_PASS, IMSAttribute.IRM_RACF_PASS, pwd);
  22.185 -    }
  22.186 -
  22.187 -	public String getIrmHeaderEncod() {
  22.188 -        return getAttribute(IMSAttribute.IRM_HEADER_ENCODING);
  22.189 -    }
  22.190 -
  22.191 -    public void setIrmHeaderEncod(String hdr) {
  22.192 -        setAttribute(IMSMessage.IRM_HEADER_ENCODING, IMSAttribute.IRM_HEADER_ENCODING, hdr);
  22.193 -    }
  22.194 -
  22.195 -	public String getSendDataEncod() {
  22.196 -        return getAttribute(IMSAttribute.SEND_DATA_ENCODING);
  22.197 -    }
  22.198 -
  22.199 -    public void setSendDataEncod(String data) {
  22.200 -        setAttribute(IMSMessage.SEND_DATA_ENCODING, IMSAttribute.SEND_DATA_ENCODING, data);
  22.201 -    }
  22.202 -
  22.203 -	public String getReplyDataEncod() {
  22.204 -        return getAttribute(IMSAttribute.REPLY_DATA_ENCODING);
  22.205 -    }
  22.206 -
  22.207 -    public void setReplyDataEncod(String data) {
  22.208 -        setAttribute(IMSMessage.REPLY_DATA_ENCODING, IMSAttribute.REPLY_DATA_ENCODING, data);
  22.209 -    }
  22.210 -
  22.211 -    public String getUse() {
  22.212 -        return getAttribute(IMSAttribute.IMS_USE);
  22.213 -    }
  22.214 -
  22.215 -    public void setUse(String use) {
  22.216 -        setAttribute(IMS_USE, IMSAttribute.IMS_USE, use);
  22.217 -    }
  22.218 -	
  22.219 -    public String getEncodingStyle() {
  22.220 -        return getAttribute(IMSAttribute.IMS_ENCODING_STYLE);
  22.221 -    }
  22.222 -
  22.223 -    public void setEncodingStyle(String style) {
  22.224 -        setAttribute(IMS_ENCODING_STYLE, IMSAttribute.IMS_ENCODING_STYLE,style);
  22.225 -	}
  22.226 -
  22.227 -	public String getMessagePart() {
  22.228 -        return getAttribute(IMSAttribute.IMS_PART);
  22.229 -    }
  22.230 -
  22.231 -    public void setMessagePart(String part) {
  22.232 -        setAttribute(IMS_PART, IMSAttribute.IMS_PART, part);
  22.233 -    }
  22.234 -	
  22.235 -}
    23.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/model/impl/IMSOperationImpl.java	Wed Jul 09 12:08:56 2008 -0700
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,49 +0,0 @@
    23.4 -/*
    23.5 - * The contents of this file are subject to the terms of the Common Development
    23.6 - * and Distribution License (the License). You may not use this file except in
    23.7 - * compliance with the License.
    23.8 - * 
    23.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   23.10 - * or http://www.netbeans.org/cddl.txt.
   23.11 - * 
   23.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   23.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   23.14 - * If applicable, add the following below the CDDL Header, with the fields
   23.15 - * enclosed by brackets [] replaced by your own identifying information:
   23.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   23.17 - * 
   23.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   23.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   23.20 - * Microsystems, Inc. All Rights Reserved.
   23.21 - */
   23.22 -
   23.23 -package org.netbeans.modules.wsdlextensions.ims.model.impl;
   23.24 -
   23.25 -import java.util.Collection;
   23.26 -
   23.27 -import org.netbeans.modules.xml.wsdl.model.Binding;
   23.28 -import org.netbeans.modules.xml.wsdl.model.WSDLComponent;
   23.29 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
   23.30 -
   23.31 -import org.netbeans.modules.wsdlextensions.ims.model.IMSBinding;
   23.32 -import org.netbeans.modules.wsdlextensions.ims.model.IMSOperation;
   23.33 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
   23.34 -import org.netbeans.modules.wsdlextensions.ims.model.IMSQName;
   23.35 -
   23.36 -import org.w3c.dom.Element;
   23.37 -
   23.38 -public class IMSOperationImpl extends IMSComponentImpl implements IMSOperation {
   23.39 -    
   23.40 -    public IMSOperationImpl(WSDLModel model, Element e) {
   23.41 -        super(model, e);
   23.42 -    }
   23.43 -    
   23.44 -    public IMSOperationImpl(WSDLModel model){
   23.45 -        this(model, createPrefixedElement(IMSQName.OPERATION.getQName(), model));
   23.46 -    }
   23.47 -    
   23.48 -    public void accept(IMSComponent.Visitor visitor) {
   23.49 -        visitor.visit(this);
   23.50 -    }
   23.51 -	
   23.52 -}
    24.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/Binding.png has changed
    25.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperation.png has changed
    26.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationInput.png has changed
    27.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationOutput.png has changed
    28.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/Bundle.properties	Wed Jul 09 12:08:56 2008 -0700
    28.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.3 @@ -1,57 +0,0 @@
    28.4 -
    28.5 -#
    28.6 -# The contents of this file are subject to the terms of the Common Development
    28.7 -# and Distribution License (the License). You may not use this file except in
    28.8 -# compliance with the License.
    28.9 -# 
   28.10 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   28.11 -# or http://www.netbeans.org/cddl.txt.
   28.12 -# 
   28.13 -# When distributing Covered Code, include this CDDL Header Notice in each file
   28.14 -# and include the License file at http://www.netbeans.org/cddl.txt.
   28.15 -# If applicable, add the following below the CDDL Header, with the fields
   28.16 -# enclosed by brackets [] replaced by your own identifying information:
   28.17 -# "Portions Copyrighted [year] [name of copyright owner]"
   28.18 -# 
   28.19 -# The Original Software is NetBeans. The Initial Developer of the Original
   28.20 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   28.21 -# Microsystems, Inc. All Rights Reserved.
   28.22 -#
   28.23 -
   28.24 -OpenIDE-Module-Name=IMS WSDL Extension
   28.25 -OpenIDE-Module-Short-Description=Provides IMS extensions in WSDL editor.
   28.26 -OpenIDE-Module-Long-Description=This module provides ims schema and plugs into wsdl editor.
   28.27 -OpenIDE-Module-Display-Category=CAPS
   28.28 -WSDLEditor/Binding/IMSBinding= IMS Binding
   28.29 -WSDLEditor/BindingOperation/IMSBindingOperation= IMS Operation
   28.30 -WSDLEditor/BindingOperationInput/IMSBindingOperationInput= IMS Message
   28.31 -WSDLEditor/BindingOperationOutput/IMSBindingOperationOutput= IMS Message
   28.32 -WSDLEditor/ServicePort/IMSServicePort= IMS Address
   28.33 -DESC_Element_binding="binding" indicates a ims protocol based binding.
   28.34 -DESC_ComplexType_tOperation="operation" defines the ims protocol based operation binding details.
   28.35 -DESC_Element_message="Message" indicates a ims protocol based operation message.
   28.36 -DESC_Attribute_irmLen="IMS Request Message Length" indicates the length of the IRM structure.
   28.37 -DESC_Attribute_irmId="Request Message ID" indicates the identifier of the user exits that is to be driven after the complete message is received.
   28.38 -DESC_Attribute_irmTimer="Request Timer" indicates the time delay for the receive to the Datastore after an ACK or RESUME TPIPE.
   28.39 -DESC_Attribute_irmSocket="Socket" indicates the socket connection type.
   28.40 -DESC_Attribute_irmClientId="Client ID" indicates the name of the Client ID to be used by IMS Connect.
   28.41 -DESC_Attribute_irmMod="Mod" indicates whether the MFS Message Output Descriptor is returned as part of the output.
   28.42 -DESC_Attribute_irmCommitMode="Commit Mode" indicates commit mode.
   28.43 -DESC_Attribute_irmSyncLevel="Sync Level" indicates whether the message is to be confirmed with an ACK for Commit Mode 1 processing.
   28.44 -DESC_Attribute_irmAck="Ack" indicates a positive or negative acknowledgement response expression sent to IMS Connect and forwarded to IMS.
   28.45 -DESC_Attribute_irmFlow="Flow" indicates the Flow Control properties.
   28.46 -DESC_Attribute_irmTranCode="Transaction Code" indicates the default IMS transaction code.
   28.47 -DESC_Attribute_irmTranCodeSrc="Transaction Code Source" indicates from where the IMS transaction code is to be taken.
   28.48 -DESC_Attribute_irmDestId="Destination Id" indicates the datastore name.
   28.49 -DESC_Attribute_irmLterm="Lterm" indicates the IMS LTERM override name.
   28.50 -DESC_Attribute_irmRacfGrpName="RACF Group Name" indicates the RACF Group Name if RACF is to be used.
   28.51 -DESC_Attribute_irmRacfUserId="RACF User Id" indicates the RACF User Id if RACF is to be used.
   28.52 -DESC_Attribute_irmRacfPwd="RACF Password" indicates the RACF password if RACF is to be used.
   28.53 -DESC_Attribute_irmHeaderEncod="IRM Header Encoding" indicates the encoding of the IRM Header properties sent to IMS Connect.
   28.54 -DESC_Attribute_sendDataEncod="Send Data Encoding" indicates the encoding translation (if any) to apply to the message body sent to IMS Connect.
   28.55 -DESC_Attribute_replyDataEncod="Reply Data Encoding" indicates the encoding of the message body received back from IMS Connect.
   28.56 -DESC_Attribute_use="Use" specifies whether you are using encoder or not.
   28.57 -DESC_Attribute_encodingStyle="encodingStyle" message encoding style.
   28.58 -DESC_Attribute_part="party" indicates the primary key value based on which the record is to be retrieved.
   28.59 -DESC_Element_address="address" indicates a ims protocol based service address.
   28.60 -DESC_Attribute_imsServerLocation="imsServerLocation" URL string which specifies the IMS Server Name and Port. For ex: ims://servername:port
    29.1 Binary file wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/ServicePort.png has changed
    30.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/ims-ext.xsd	Wed Jul 09 12:08:56 2008 -0700
    30.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.3 @@ -1,256 +0,0 @@
    30.4 -<?xml version="1.0" encoding="UTF-8"?>
    30.5 -
    30.6 -<!--
    30.7 - The contents of this file are subject to the terms of the Common Development
    30.8 - and Distribution License (the License). You may not use this file except in
    30.9 - compliance with the License.
   30.10 - 
   30.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   30.12 - or http://www.netbeans.org/cddl.txt.
   30.13 - 
   30.14 - When distributing Covered Code, include this CDDL Header Notice in each file
   30.15 - and include the License file at http://www.netbeans.org/cddl.txt.
   30.16 - If applicable, add the following below the CDDL Header, with the fields
   30.17 - enclosed by brackets [] replaced by your own identifying information:
   30.18 - "Portions Copyrighted [year] [name of copyright owner]"
   30.19 - 
   30.20 - The Original Software is NetBeans. The Initial Developer of the Original
   30.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   30.22 - Microsystems, Inc. All Rights Reserved.
   30.23 --->
   30.24 -
   30.25 -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ims="http://schemas.sun.com/jbi/wsdl-extensions/ims/" targetNamespace="http://schemas.sun.com/jbi/wsdl-extensions/ims/">
   30.26 -	<xs:import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>
   30.27 -	<xs:element name="binding" type="ims:tBinding">
   30.28 -		<xs:annotation>
   30.29 -			<xs:documentation>DESC_Element_binding</xs:documentation>
   30.30 -		</xs:annotation>
   30.31 -	</xs:element>
   30.32 -	<xs:complexType name="tBinding">
   30.33 -		<xs:complexContent>
   30.34 -			<xs:extension base="wsdl:tExtensibilityElement"/>
   30.35 -			<!-- could add more attributes to the binding -->
   30.36 -		</xs:complexContent>
   30.37 -	</xs:complexType>
   30.38 -	<xs:element name="operation" type="ims:tOperation"/>
   30.39 -	<xs:complexType name="tOperation">
   30.40 -		<xs:annotation>
   30.41 -			<xs:documentation>DESC_ComplexType_tOperation</xs:documentation>
   30.42 -		</xs:annotation>
   30.43 -	<xs:complexContent>
   30.44 -		<xs:extension base="wsdl:tExtensibilityElement">
   30.45 -		</xs:extension>
   30.46 -	</xs:complexContent>
   30.47 -	</xs:complexType>
   30.48 -	<xs:element name="message" type="ims:tMessage">
   30.49 -		<xs:annotation>
   30.50 -			<xs:documentation>DESC_Element_message</xs:documentation>
   30.51 -		</xs:annotation>
   30.52 -	</xs:element>
   30.53 -	<xs:complexType name="tMessage">
   30.54 -		<xs:complexContent>
   30.55 -			<xs:extension base="wsdl:tExtensibilityElement">
   30.56 -				<xs:attribute name="irmLen" type="xs:int" default="80" use="optional">
   30.57 -					<xs:annotation>
   30.58 -						<xs:documentation>DESC_Attribute_irmLen</xs:documentation>
   30.59 -					</xs:annotation>
   30.60 -				</xs:attribute>			
   30.61 -				<xs:attribute name="irmId" default="*SAMPL1*" type="ims:irmId" use="optional">
   30.62 -					<xs:annotation>
   30.63 -						<xs:documentation>DESC_Attribute_irmId</xs:documentation>
   30.64 -					</xs:annotation>
   30.65 -				</xs:attribute>	
   30.66 -				<xs:attribute name="irmTimer" default=".25 SEC" type="ims:irmTimer" use="optional">
   30.67 -					<xs:annotation>
   30.68 -						<xs:documentation>DESC_Attribute_irmTimer</xs:documentation>
   30.69 -					</xs:annotation>
   30.70 -				</xs:attribute>
   30.71 -				<xs:attribute name="irmSocket" default="Persistent" type="ims:irmSocket" use="optional">
   30.72 -					<xs:annotation>
   30.73 -						<xs:documentation>DESC_Attribute_irmSocket</xs:documentation>
   30.74 -					</xs:annotation>
   30.75 -				</xs:attribute>
   30.76 -				<xs:attribute name="irmClientId" type="xs:string" use="required">
   30.77 -					<xs:annotation>
   30.78 -						<xs:documentation>DESC_Attribute_irmClientId</xs:documentation>
   30.79 -					</xs:annotation>
   30.80 -				</xs:attribute>
   30.81 -				<xs:attribute name="irmMod" default="NO_MFS" type="ims:irmMod" use="optional">
   30.82 -					<xs:annotation>
   30.83 -						<xs:documentation>DESC_Attribute_irmMod</xs:documentation>
   30.84 -					</xs:annotation>
   30.85 -				</xs:attribute>
   30.86 -				<xs:attribute name="irmCommitMode" default="COMMIT_MODE_1" type="ims:irmCommitMode" use="optional">
   30.87 -					<xs:annotation>
   30.88 -						<xs:documentation>DESC_Attribute_irmCommitMode</xs:documentation>
   30.89 -					</xs:annotation>
   30.90 -				</xs:attribute>
   30.91 -				<xs:attribute name="irmSyncLevel" default="SYNC_LEVEL_NONE" type="ims:irmSyncLevel" use="optional">
   30.92 -					<xs:annotation>
   30.93 -						<xs:documentation>DESC_Attribute_irmSyncLevel</xs:documentation>
   30.94 -					</xs:annotation>
   30.95 -				</xs:attribute>
   30.96 -				<xs:attribute name="irmAck" default="NO_ACK" type="ims:irmAck" use="optional">
   30.97 -					<xs:annotation>
   30.98 -						<xs:documentation>DESC_Attribute_irmAck</xs:documentation>
   30.99 -					</xs:annotation>
  30.100 -				</xs:attribute>
  30.101 -				<xs:attribute name="irmFlow" default="No_Auto_Flow" type="ims:irmFlow" use="optional">
  30.102 -					<xs:annotation>
  30.103 -						<xs:documentation>DESC_Attribute_irmFlow</xs:documentation>
  30.104 -					</xs:annotation>
  30.105 -				</xs:attribute>
  30.106 -				<xs:attribute name="irmTranCode" type="xs:string" use="optional">
  30.107 -					<xs:annotation>
  30.108 -						<xs:documentation>DESC_Attribute_irmTranCode</xs:documentation>
  30.109 -					</xs:annotation>
  30.110 -				</xs:attribute>
  30.111 -				<xs:attribute name="irmTranCodeSrc" default="CFG" type="ims:irmTranCodeSrc" use="optional">
  30.112 -					<xs:annotation>
  30.113 -						<xs:documentation>DESC_Attribute_irmTranCodeSrc</xs:documentation>
  30.114 -					</xs:annotation>
  30.115 -				</xs:attribute>
  30.116 -				<xs:attribute name="irmDestId" type="xs:string" use="required">
  30.117 -					<xs:annotation>
  30.118 -						<xs:documentation>DESC_Attribute_irmDestId</xs:documentation>
  30.119 -					</xs:annotation>
  30.120 -				</xs:attribute>
  30.121 -				<xs:attribute name="irmLterm" type="xs:string" use="optional">
  30.122 -					<xs:annotation>
  30.123 -						<xs:documentation>DESC_Attribute_irmLterm</xs:documentation>
  30.124 -					</xs:annotation>
  30.125 -				</xs:attribute>
  30.126 -				<xs:attribute name="irmRacfGrpName" type="xs:string" use="required">
  30.127 -					<xs:annotation>
  30.128 -						<xs:documentation>DESC_Attribute_irmRacfGrpName</xs:documentation>
  30.129 -					</xs:annotation>
  30.130 -				</xs:attribute>
  30.131 -				<xs:attribute name="irmRacfUserId" type="xs:string" use="required">
  30.132 -					<xs:annotation>
  30.133 -						<xs:documentation>DESC_Attribute_irmRacfUserId</xs:documentation>
  30.134 -					</xs:annotation>
  30.135 -				</xs:attribute>
  30.136 -				<xs:attribute name="irmRacfPwd" type="xs:string" use="required">
  30.137 -					<xs:annotation>
  30.138 -						<xs:documentation>DESC_Attribute_irmRacfPwd</xs:documentation>
  30.139 -					</xs:annotation>
  30.140 -				</xs:attribute>
  30.141 -				<xs:attribute name="irmHeaderEncod" default="ISO-8859-1" type="xs:string" use="optional">
  30.142 -					<xs:annotation>
  30.143 -						<xs:documentation>DESC_Attribute_irmHeaderEncod</xs:documentation>
  30.144 -					</xs:annotation>
  30.145 -				</xs:attribute>
  30.146 -				<xs:attribute name="sendDataEncod" default="NO TRANSLATION" type="xs:string" use="optional">
  30.147 -					<xs:annotation>
  30.148 -						<xs:documentation>DESC_Attribute_sendDataEncod</xs:documentation>
  30.149 -					</xs:annotation>
  30.150 -				</xs:attribute>
  30.151 -				<xs:attribute name="replyDataEncod" default="ISO-8859-1" type="xs:string" use="optional">
  30.152 -					<xs:annotation>
  30.153 -						<xs:documentation>DESC_Attribute_replyDataEncod</xs:documentation>
  30.154 -					</xs:annotation>
  30.155 -				</xs:attribute>
  30.156 -				<xs:attribute name="use" type="ims:useTypes" default="literal" use="optional">
  30.157 -					<xs:annotation>
  30.158 -						<xs:documentation>DESC_Attribute_use</xs:documentation>
  30.159 -					</xs:annotation>
  30.160 -				</xs:attribute>
  30.161 -				<xs:attribute name="encodingStyle" type="xs:anyURI" use="optional">
  30.162 -					<xs:annotation>
  30.163 -						<xs:documentation>DESC_Attribute_encodingStyle</xs:documentation>
  30.164 -					</xs:annotation>
  30.165 -				</xs:attribute>
  30.166 -				<xs:attribute name="part" type="xs:string" use="optional">
  30.167 -					<xs:annotation>
  30.168 -						<xs:documentation>DESC_Attribute_part</xs:documentation>
  30.169 -					</xs:annotation>
  30.170 -				</xs:attribute>
  30.171 -			</xs:extension>
  30.172 -		</xs:complexContent>
  30.173 -	</xs:complexType>
  30.174 -	<xs:simpleType name="irmId">
  30.175 -		<xs:restriction base="xs:string">
  30.176 -			<xs:enumeration value="*SAMPL1*"/>
  30.177 -			<xs:enumeration value="*IRMREQ*"/>						
  30.178 -		</xs:restriction>
  30.179 -	</xs:simpleType>
  30.180 -	<xs:simpleType name="irmTimer">
  30.181 -		<xs:restriction base="xs:string">
  30.182 -			<xs:enumeration value=".25 SEC"/>
  30.183 -			<xs:enumeration value="No_Wait"/>
  30.184 -			<xs:enumeration value="Block"/>			
  30.185 -		</xs:restriction>
  30.186 -	</xs:simpleType>
  30.187 -	<xs:simpleType name="irmSocket">
  30.188 -		<xs:restriction base="xs:string">
  30.189 -			<xs:enumeration value="Persistent"/>
  30.190 -			<xs:enumeration value="Non_Persistent"/>
  30.191 -			<xs:enumeration value="Transaction"/>			
  30.192 -		</xs:restriction>
  30.193 -	</xs:simpleType>
  30.194 -	<xs:simpleType name="irmMod">
  30.195 -		<xs:restriction base="xs:string">
  30.196 -			<xs:enumeration value="NO_MFS"/>
  30.197 -			<xs:enumeration value="MFS"/>		
  30.198 -		</xs:restriction>
  30.199 -	</xs:simpleType>
  30.200 -	<xs:simpleType name="irmCommitMode">
  30.201 -		<xs:restriction base="xs:string">
  30.202 -			<xs:enumeration value="COMMIT_MODE_1"/>
  30.203 -			<xs:enumeration value="COMMIT_MODE_0"/>		
  30.204 -		</xs:restriction>
  30.205 -	</xs:simpleType>
  30.206 -	<xs:simpleType name="irmSyncLevel">
  30.207 -		<xs:restriction base="xs:string">
  30.208 -			<xs:enumeration value="SYNC_LEVEL_NONE"/>
  30.209 -			<xs:enumeration value="SYNC_LEVEL_CONFIRM"/>		
  30.210 -		</xs:restriction>
  30.211 -	</xs:simpleType>
  30.212 -	<xs:simpleType name="irmAck">
  30.213 -		<xs:restriction base="xs:string">
  30.214 -			<xs:enumeration value="NO_ACK"/>
  30.215 -			<xs:enumeration value="ACK"/>
  30.216 -			<xs:enumeration value="DEALLOCATE"/>
  30.217 -			<xs:enumeration value="NACK"/>			
  30.218 -			<xs:enumeration value="RESUME"/>
  30.219 -			<xs:enumeration value="SENDONLY"/>
  30.220 -		</xs:restriction>
  30.221 -	</xs:simpleType>
  30.222 -	<xs:simpleType name="irmFlow">
  30.223 -		<xs:restriction base="xs:string">
  30.224 -			<xs:enumeration value="No_Auto_Flow"/>
  30.225 -			<xs:enumeration value="Auto_Flow_Out"/>
  30.226 -			<xs:enumeration value="Client_Translation"/>
  30.227 -			<xs:enumeration value="No_Auto_Flow_Out"/>	
  30.228 -			<xs:enumeration value="Single_Message"/>
  30.229 -		</xs:restriction>
  30.230 -	</xs:simpleType>
  30.231 -	<xs:simpleType name="irmTranCodeSrc">
  30.232 -		<xs:restriction base="xs:string">
  30.233 -			<xs:enumeration value="CFG"/>
  30.234 -			<xs:enumeration value="MESSAGE"/>		
  30.235 -		</xs:restriction>
  30.236 -	</xs:simpleType>
  30.237 -	<xs:simpleType name="useTypes">
  30.238 -		<xs:restriction base="xs:string">
  30.239 -			<xs:enumeration value="literal"/>
  30.240 -			<xs:enumeration value="encoded"/>
  30.241 -		</xs:restriction>
  30.242 -	</xs:simpleType>	
  30.243 -	<xs:element name="address" type="ims:tAddress">
  30.244 -		<xs:annotation>
  30.245 -			<xs:documentation>DESC_Element_address</xs:documentation>
  30.246 -		</xs:annotation>
  30.247 -	</xs:element>
  30.248 -	<xs:complexType name="tAddress">
  30.249 -		<xs:complexContent>
  30.250 -			<xs:extension base="wsdl:tExtensibilityElement">
  30.251 -				<xs:attribute name="imsServerLocation" type="xs:string" use="required">
  30.252 -					<xs:annotation>
  30.253 -						<xs:documentation>DESC_Attribute_imsServerLocation</xs:documentation>
  30.254 -					</xs:annotation>
  30.255 -				</xs:attribute>
  30.256 -			</xs:extension>
  30.257 -		</xs:complexContent>
  30.258 -	</xs:complexType>
  30.259 -</xs:schema>
    31.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/layer.xml	Wed Jul 09 12:08:56 2008 -0700
    31.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.3 @@ -1,101 +0,0 @@
    31.4 -<?xml version="1.0" encoding="UTF-8"?>
    31.5 -
    31.6 -<!--
    31.7 - The contents of this file are subject to the terms of the Common Development
    31.8 - and Distribution License (the License). You may not use this file except in
    31.9 - compliance with the License.
   31.10 - 
   31.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   31.12 - or http://www.netbeans.org/cddl.txt.
   31.13 - 
   31.14 - When distributing Covered Code, include this CDDL Header Notice in each file
   31.15 - and include the License file at http://www.netbeans.org/cddl.txt.
   31.16 - If applicable, add the following below the CDDL Header, with the fields
   31.17 - enclosed by brackets [] replaced by your own identifying information:
   31.18 - "Portions Copyrighted [year] [name of copyright owner]"
   31.19 - 
   31.20 - The Original Software is NetBeans. The Initial Developer of the Original
   31.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   31.22 - Microsystems, Inc. All Rights Reserved.
   31.23 --->
   31.24 -
   31.25 -<!--
   31.26 -                Sun Public License Notice
   31.27 -
   31.28 -The contents of this file are subject to the Sun Public License
   31.29 -Version 1.0 (the "License"). You may not use this file except in
   31.30 -compliance with the License. A copy of the License is available at
   31.31 -http://www.sun.com/
   31.32 -
   31.33 -The Original Code is NetBeans. The Initial Developer of the Original
   31.34 -Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
   31.35 -Microsystems, Inc. All Rights Reserved.
   31.36 --->
   31.37 -<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
   31.38 -<filesystem>
   31.39 -      <folder name="WSDLEditor">
   31.40 -		<file  name="ims-ext.xsd" url="ims-ext.xsd" >
   31.41 -			<attr name="prefix" stringvalue="ims" />
   31.42 -            <attr name="namespace" stringvalue="http://schemas.sun.com/jbi/wsdl-extensions/ims/"/>
   31.43 -		</file>
   31.44 -		
   31.45 -		 <folder name ="Binding">
   31.46 -			  <file name="IMSBinding" >
   31.47 -				<attr name="xsdFileName" stringvalue="ims-ext" />
   31.48 -				<attr name="element" stringvalue="binding" />
   31.49 -				<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
   31.50 -				<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/Binding.png" /> 
   31.51 -			  </file>
   31.52 -	      </folder>
   31.53 -     
   31.54 -	     <folder name ="BindingOperation">
   31.55 -			  <file name="IMSBindingOperation">
   31.56 -				<attr name="xsdFileName" stringvalue="ims-ext" />
   31.57 -				<attr name="element" stringvalue="operation" />
   31.58 -				<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
   31.59 -				<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperation.png" /> 
   31.60 -			  </file>
   31.61 -	      </folder>
   31.62 -			
   31.63 -		<folder name ="BindingOperationInput">
   31.64 -			<file name="IMSBindingOperationInput">
   31.65 -				<attr name="xsdFileName" stringvalue="ims-ext" />
   31.66 -				<attr name="element" stringvalue="message" />
   31.67 -				<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
   31.68 -				<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationInput.png" /> 
   31.69 -			</file>
   31.70 -		</folder>	        
   31.71 -		  
   31.72 -		<folder name ="BindingOperationOutput">
   31.73 -			<file name="IMSBindingOperationOutput">
   31.74 -				<attr name="xsdFileName" stringvalue="ims-ext" />
   31.75 -				<attr name="element" stringvalue="message" />
   31.76 -				<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
   31.77 -				<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/BindingOperationOutput.png" /> 
   31.78 -			</file> 
   31.79 -		</folder>	        
   31.80 -	      
   31.81 -		<folder name ="ServicePort">
   31.82 -		  <file name="IMSServicePort">
   31.83 -		  <attr name="xsdFileName" stringvalue="ims-ext" />
   31.84 -			<attr name="element" stringvalue="address" />
   31.85 -			<attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.wsdlextensions.ims.resources.Bundle" />
   31.86 -			<attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/wsdlextensions/ims/resources/ServicePort.png" /> 
   31.87 -		  </file>
   31.88 -		</folder>	        
   31.89 -    </folder>
   31.90 -  
   31.91 -  
   31.92 -    <folder name="SeeBeyondJbiComponents">
   31.93 -        <!-- JBI Component -->
   31.94 -        <folder name="sun-ims-binding">
   31.95 -            <attr name="id" stringvalue="sun-ims-binding"/>
   31.96 -            <attr name="description" stringvalue="IMS Binding"/>
   31.97 -            <attr name="type" stringvalue="Binding"/>
   31.98 -            <file name="ims.binding-1.0">
   31.99 -                <attr name="namespace" stringvalue="http://schemas.sun.com/jbi/wsdl-extensions/ims/"/>
  31.100 -            </file>
  31.101 -        </folder>
  31.102 -    </folder>    
  31.103 -</filesystem>
  31.104 -
    32.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/resources/wsdl.xsd	Wed Jul 09 12:08:56 2008 -0700
    32.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.3 @@ -1,330 +0,0 @@
    32.4 -<?xml version="1.0" encoding="UTF-8" ?> 
    32.5 -
    32.6 -<!--
    32.7 - The contents of this file are subject to the terms of the Common Development
    32.8 - and Distribution License (the License). You may not use this file except in
    32.9 - compliance with the License.
   32.10 - 
   32.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   32.12 - or http://www.netbeans.org/cddl.txt.
   32.13 - 
   32.14 - When distributing Covered Code, include this CDDL Header Notice in each file
   32.15 - and include the License file at http://www.netbeans.org/cddl.txt.
   32.16 - If applicable, add the following below the CDDL Header, with the fields
   32.17 - enclosed by brackets [] replaced by your own identifying information:
   32.18 - "Portions Copyrighted [year] [name of copyright owner]"
   32.19 - 
   32.20 - The Original Software is NetBeans. The Initial Developer of the Original
   32.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   32.22 - Microsystems, Inc. All Rights Reserved.
   32.23 --->
   32.24 -
   32.25 -<!-- 
   32.26 - 
   32.27 -Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
   32.28 -All Rights Reserved
   32.29 -
   32.30 -License for WSDL Schema Files
   32.31 -
   32.32 -The Authors grant permission to copy and distribute the WSDL Schema 
   32.33 -Files in any medium without fee or royalty as long as this notice and 
   32.34 -license are distributed with them.  The originals of these files can 
   32.35 -be located at:
   32.36 -
   32.37 -http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
   32.38 -
   32.39 -THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS 
   32.40 -OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT 
   32.41 -LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 
   32.42 -NON-INFRINGEMENT OR TITLE.  THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, 
   32.43 -INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR 
   32.44 -RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
   32.45 -
   32.46 -The name and trademarks of the Authors may NOT be used in any manner, 
   32.47 -including advertising or publicity pertaining to these files or any program 
   32.48 -or service that uses these files, written prior permission.  Title to copyright 
   32.49 -in these files will at all times remain with the Authors.
   32.50 -
   32.51 -No other rights are granted by implication, estoppel or otherwise.
   32.52 -
   32.53 -
   32.54 ---> 
   32.55 -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
   32.56 -           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
   32.57 -           targetNamespace="http://schemas.xmlsoap.org/wsdl/"
   32.58 -           elementFormDefault="qualified" >
   32.59 -   
   32.60 -  <xs:complexType mixed="true" name="tDocumentation" >
   32.61 -    <xs:sequence>
   32.62 -      <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
   32.63 -    </xs:sequence>
   32.64 -  </xs:complexType>
   32.65 -
   32.66 -  <xs:complexType name="tDocumented" >
   32.67 -    <xs:annotation>
   32.68 -      <xs:documentation>
   32.69 -      This type is extended by  component types to allow them to be documented
   32.70 -      </xs:documentation>
   32.71 -    </xs:annotation>
   32.72 -    <xs:sequence>
   32.73 -      <xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0" />
   32.74 -    </xs:sequence>
   32.75 -  </xs:complexType>
   32.76 -	 
   32.77 -  <xs:complexType name="tExtensibleAttributesDocumented" abstract="true" >
   32.78 -    <xs:complexContent>
   32.79 -      <xs:extension base="wsdl:tDocumented" >
   32.80 -        <xs:annotation>
   32.81 -          <xs:documentation>
   32.82 -          This type is extended by component types to allow attributes from other namespaces to be added.
   32.83 -          </xs:documentation>
   32.84 -        </xs:annotation>
   32.85 -        <xs:anyAttribute namespace="##other" processContents="lax" />    
   32.86 -      </xs:extension>
   32.87 -    </xs:complexContent>
   32.88 -  </xs:complexType>
   32.89 -
   32.90 -  <xs:complexType name="tExtensibleDocumented" abstract="true" >
   32.91 -    <xs:complexContent>
   32.92 -      <xs:extension base="wsdl:tDocumented" >
   32.93 -        <xs:annotation>
   32.94 -          <xs:documentation>
   32.95 -          This type is extended by component types to allow elements from other namespaces to be added.
   32.96 -          </xs:documentation>
   32.97 -        </xs:annotation>
   32.98 -        <xs:sequence>
   32.99 -          <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
  32.100 -        </xs:sequence>
  32.101 -      </xs:extension>
  32.102 -    </xs:complexContent>
  32.103 -  </xs:complexType>
  32.104 -
  32.105 -  <xs:element name="definitions" type="wsdl:tDefinitions" >
  32.106 -    <xs:key name="message" >
  32.107 -      <xs:selector xpath="wsdl:message" />
  32.108 -      <xs:field xpath="@name" />
  32.109 -    </xs:key>
  32.110 -    <xs:key name="portType" >
  32.111 -      <xs:selector xpath="wsdl:portType" />
  32.112 -      <xs:field xpath="@name" />
  32.113 -    </xs:key>
  32.114 -    <xs:key name="binding" >
  32.115 -      <xs:selector xpath="wsdl:binding" />
  32.116 -      <xs:field xpath="@name" />
  32.117 -    </xs:key>
  32.118 -    <xs:key name="service" >
  32.119 -      <xs:selector xpath="wsdl:service" />
  32.120 -      <xs:field xpath="@name" />
  32.121 -    </xs:key>
  32.122 -    <xs:key name="import" >
  32.123 -      <xs:selector xpath="wsdl:import" />
  32.124 -      <xs:field xpath="@namespace" />
  32.125 -    </xs:key>
  32.126 -  </xs:element>
  32.127 -
  32.128 -  <xs:group name="anyTopLevelOptionalElement" >
  32.129 -    <xs:annotation>
  32.130 -      <xs:documentation>
  32.131 -      Any top level optional element allowed to appear more then once - any child of definitions element except wsdl:types. Any extensibility element is allowed in any place.
  32.132 -      </xs:documentation>
  32.133 -    </xs:annotation>
  32.134 -    <xs:choice>
  32.135 -      <xs:element name="import" type="wsdl:tImport" />
  32.136 -      <xs:element name="types" type="wsdl:tTypes" />                     
  32.137 -      <xs:element name="message"  type="wsdl:tMessage" >
  32.138 -        <xs:unique name="part" >
  32.139 -          <xs:selector xpath="wsdl:part" />
  32.140 -          <xs:field xpath="@name" />
  32.141 -        </xs:unique>
  32.142 -      </xs:element>
  32.143 -      <xs:element name="portType" type="wsdl:tPortType" />
  32.144 -      <xs:element name="binding"  type="wsdl:tBinding" />
  32.145 -      <xs:element name="service"  type="wsdl:tService" >
  32.146 -        <xs:unique name="port" >
  32.147 -          <xs:selector xpath="wsdl:port" />
  32.148 -          <xs:field xpath="@name" />
  32.149 -        </xs:unique>
  32.150 -	  </xs:element>
  32.151 -    </xs:choice>
  32.152 -  </xs:group>
  32.153 -
  32.154 -  <xs:complexType name="tDefinitions" >
  32.155 -    <xs:complexContent>
  32.156 -      <xs:extension base="wsdl:tExtensibleDocumented" >
  32.157 -        <xs:sequence>
  32.158 -          <xs:group ref="wsdl:anyTopLevelOptionalElement"  minOccurs="0"   maxOccurs="unbounded" />
  32.159 -        </xs:sequence>
  32.160 -        <xs:attribute name="targetNamespace" type="xs:anyURI" use="optional" />
  32.161 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
  32.162 -      </xs:extension>
  32.163 -    </xs:complexContent>
  32.164 -  </xs:complexType>
  32.165 -   
  32.166 -  <xs:complexType name="tImport" >
  32.167 -    <xs:complexContent>
  32.168 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
  32.169 -        <xs:attribute name="namespace" type="xs:anyURI" use="required" />
  32.170 -        <xs:attribute name="location" type="xs:anyURI" use="required" />
  32.171 -      </xs:extension>
  32.172 -    </xs:complexContent>
  32.173 -  </xs:complexType>
  32.174 -   
  32.175 -  <xs:complexType name="tTypes" >
  32.176 -    <xs:complexContent>   
  32.177 -      <xs:extension base="wsdl:tExtensibleDocumented" />
  32.178 -    </xs:complexContent>   
  32.179 -  </xs:complexType>
  32.180 -     
  32.181 -  <xs:complexType name="tMessage" >
  32.182 -    <xs:complexContent>   
  32.183 -      <xs:extension base="wsdl:tExtensibleDocumented" >
  32.184 -        <xs:sequence>
  32.185 -          <xs:element name="part" type="wsdl:tPart" minOccurs="0" maxOccurs="unbounded" />
  32.186 -        </xs:sequence>
  32.187 -        <xs:attribute name="name" type="xs:NCName" use="required" />
  32.188 -      </xs:extension>
  32.189 -    </xs:complexContent>   
  32.190 -  </xs:complexType>
  32.191 -
  32.192 -  <xs:complexType name="tPart" >
  32.193 -    <xs:complexContent>   
  32.194 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
  32.195 -        <xs:attribute name="name" type="xs:NCName" use="required" />
  32.196 -        <xs:attribute name="element" type="xs:QName" use="optional" />
  32.197 -        <xs:attribute name="type" type="xs:QName" use="optional" />    
  32.198 -      </xs:extension>
  32.199 -    </xs:complexContent>   
  32.200 -  </xs:complexType>
  32.201 -
  32.202 -  <xs:complexType name="tPortType" >
  32.203 -    <xs:complexContent>   
  32.204 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
  32.205 -        <xs:sequence>
  32.206 -          <xs:element name="operation" type="wsdl:tOperation" minOccurs="0" maxOccurs="unbounded" />
  32.207 -        </xs:sequence>
  32.208 -        <xs:attribute name="name" type="xs:NCName" use="required" />
  32.209 -      </xs:extension>
  32.210 -    </xs:complexContent>   
  32.211 -  </xs:complexType>
  32.212 -   
  32.213 -  <xs:complexType name="tOperation" >
  32.214 -    <xs:complexContent>   
  32.215 -      <xs:extension base="wsdl:tExtensibleDocumented" >
  32.216 -	    <xs:sequence>
  32.217 -          <xs:choice>
  32.218 -            <xs:group ref="wsdl:request-response-or-one-way-operation" />
  32.219 -            <xs:group ref="wsdl:solicit-response-or-notification-operation" />
  32.220 -          </xs:choice>
  32.221 -        </xs:sequence>
  32.222 -        <xs:attribute name="name" type="xs:NCName" use="required" />
  32.223 -        <xs:attribute name="parameterOrder" type="xs:NMTOKENS" use="optional" />
  32.224 -      </xs:extension>
  32.225 -    </xs:complexContent>   
  32.226 -  </xs:complexType>
  32.227 -    
  32.228 -  <xs:group name="request-response-or-one-way-operation" >
  32.229 -    <xs:sequence>
  32.230 -      <xs:element name="input" type="wsdl:tParam" />
  32.231 -	  <xs:sequence minOccurs='0' >
  32.232 -	    <xs:element name="output" type="wsdl:tParam" />
  32.233 -		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
  32.234 -      </xs:sequence>
  32.235 -    </xs:sequence>
  32.236 -  </xs:group>
  32.237 -
  32.238 -  <xs:group name="solicit-response-or-notification-operation" >
  32.239 -    <xs:sequence>
  32.240 -      <xs:element name="output" type="wsdl:tParam" />
  32.241 -	  <xs:sequence minOccurs='0' >
  32.242 -	    <xs:element name="input" type="wsdl:tParam" />
  32.243 -		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
  32.244 -	  </xs:sequence>
  32.245 -    </xs:sequence>
  32.246 -  </xs:group>
  32.247 -        
  32.248 -  <xs:complexType name="tParam" >
  32.249 -    <xs:complexContent>
  32.250 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
  32.251 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
  32.252 -        <xs:attribute name="message" type="xs:QName" use="required" />
  32.253 -      </xs:extension>
  32.254 -    </xs:complexContent>
  32.255 -  </xs:complexType>
  32.256 -
  32.257 -  <xs:complexType name="tFault" >
  32.258 -    <xs:complexContent>
  32.259 -      <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
  32.260 -        <xs:attribute name="name" type="xs:NCName"  use="required" />
  32.261 -        <xs:attribute name="message" type="xs:QName" use="required" />
  32.262 -      </xs:extension>
  32.263 -    </xs:complexContent>
  32.264 -  </xs:complexType>
  32.265 -     
  32.266 -  <xs:complexType name="tBinding" >
  32.267 -    <xs:complexContent>
  32.268 -      <xs:extension base="wsdl:tExtensibleDocumented" >
  32.269 -        <xs:sequence>
  32.270 -          <xs:element name="operation" type="wsdl:tBindingOperation" minOccurs="0" maxOccurs="unbounded" />
  32.271 -        </xs:sequence>
  32.272 -        <xs:attribute name="name" type="xs:NCName" use="required" />
  32.273 -        <xs:attribute name="type" type="xs:QName" use="required" />
  32.274 -      </xs:extension>
  32.275 -    </xs:complexContent>
  32.276 -  </xs:complexType>
  32.277 -    
  32.278 -  <xs:complexType name="tBindingOperationMessage" >
  32.279 -    <xs:complexContent>
  32.280 -      <xs:extension base="wsdl:tExtensibleDocumented" >
  32.281 -        <xs:attribute name="name" type="xs:NCName" use="optional" />
  32.282 -      </xs:extension>
  32.283 -    </xs:complexContent>
  32.284 -  </xs:complexType>
  32.285 -  
  32.286 -  <xs:complexType name="tBindingOperationFault" >
  32.287 -    <xs:complexContent>
  32.288 -      <xs:extension base="wsdl:tExtensibleDocumented" >
  32.289 -        <xs:attribute name="name" type="xs:NCName" use="required" />
  32.290 -      </xs:extension>
  32.291 -    </xs:complexContent>
  32.292 -  </xs:complexType>
  32.293 -
  32.294 -  <xs:complexType name="tBindingOperation" >
  32.295 -    <xs:complexContent>
  32.296 -      <xs:extension base="wsdl:tExtensibleDocumented" >
  32.297 -        <xs:sequence>
  32.298 -          <xs:element name="input" type="wsdl:tBindingOperationMessage" minOccurs="0" />
  32.299 -          <xs:element name="output" type="wsdl:tBindingOperationMessage" minOccurs="0" />
  32.300 -          <xs:element name="fault" type="wsdl:tBindingOperationFault" minOccurs="0" maxOccurs="unbounded" />
  32.301 -        </xs:sequence>
  32.302 -        <xs:attribute name="name" type="xs:NCName" use="required" />
  32.303 -      </xs:extension>
  32.304 -    </xs:complexContent>
  32.305 -  </xs:complexType>
  32.306 -     
  32.307 -  <xs:complexType name="tService" >
  32.308 -    <xs:complexContent>
  32.309 -      <xs:extension base="wsdl:tExtensibleDocumented" >
  32.310 -        <xs:sequence>
  32.311 -          <xs:element name="port" type="wsdl:tPort" minOccurs="0" maxOccurs="unbounded" />
  32.312 -        </xs:sequence>
  32.313 -        <xs:attribute name="name" type="xs:NCName" use="required" />
  32.314 -      </xs:extension>
  32.315 -    </xs:complexContent>
  32.316 -  </xs:complexType>
  32.317 -     
  32.318 -  <xs:complexType name="tPort" >
  32.319 -    <xs:complexContent>
  32.320 -      <xs:extension base="wsdl:tExtensibleDocumented" >
  32.321 -        <xs:attribute name="name" type="xs:NCName" use="required" />
  32.322 -        <xs:attribute name="binding" type="xs:QName" use="required" />
  32.323 -      </xs:extension>
  32.324 -    </xs:complexContent>
  32.325 -  </xs:complexType>
  32.326 -
  32.327 -  <xs:attribute name="arrayType" type="xs:string" />
  32.328 -  <xs:attribute name="required" type="xs:boolean" />
  32.329 -  <xs:complexType name="tExtensibilityElement" abstract="true" >
  32.330 -    <xs:attribute ref="wsdl:required" use="optional" />
  32.331 -  </xs:complexType>
  32.332 -
  32.333 -</xs:schema>
  32.334 \ No newline at end of file
    33.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/Bundle.properties	Wed Jul 09 12:08:56 2008 -0700
    33.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.3 @@ -1,27 +0,0 @@
    33.4 -#
    33.5 -# The contents of this file are subject to the terms of the Common Development
    33.6 -# and Distribution License (the License). You may not use this file except in
    33.7 -# compliance with the License.
    33.8 -# 
    33.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   33.10 -# or http://www.netbeans.org/cddl.txt.
   33.11 -# 
   33.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
   33.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
   33.14 -# If applicable, add the following below the CDDL Header, with the fields
   33.15 -# enclosed by brackets [] replaced by your own identifying information:
   33.16 -# "Portions Copyrighted [year] [name of copyright owner]"
   33.17 -# 
   33.18 -# The Original Software is NetBeans. The Initial Developer of the Original
   33.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   33.20 -# Microsystems, Inc. All Rights Reserved.
   33.21 -#
   33.22 -
   33.23 -# added to test CVS 
   33.24 -IMSTransport=IMS Transport
   33.25 -http_//schemas.sun.com/jbi/wsdl-extensions/ims/=IMS
   33.26 -
   33.27 -TEMPLATEGROUP_name=IMS
   33.28 -TEMPLATEGROUP_prefix_ims=ims
   33.29 -TEMPLATE_name_IMSTransport=IMS Transport
   33.30 -
    34.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/IMSBCTemplateProvider.java	Wed Jul 09 12:08:56 2008 -0700
    34.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.3 @@ -1,43 +0,0 @@
    34.4 -/*
    34.5 - * The contents of this file are subject to the terms of the Common Development
    34.6 - * and Distribution License (the License). You may not use this file except in
    34.7 - * compliance with the License.
    34.8 - * 
    34.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   34.10 - * or http://www.netbeans.org/cddl.txt.
   34.11 - * 
   34.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   34.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   34.14 - * If applicable, add the following below the CDDL Header, with the fields
   34.15 - * enclosed by brackets [] replaced by your own identifying information:
   34.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   34.17 - * 
   34.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   34.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   34.20 - * Microsystems, Inc. All Rights Reserved.
   34.21 - */
   34.22 -
   34.23 -package org.netbeans.modules.wsdlextensions.ims.template;
   34.24 -
   34.25 -import java.io.InputStream;
   34.26 -
   34.27 -import org.openide.util.NbBundle;
   34.28 -
   34.29 -import org.netbeans.modules.xml.wsdl.bindingsupport.spi.ExtensibilityElementTemplateProvider;
   34.30 -
   34.31 -/**
   34.32 - * @author Sun Microsystems
   34.33 - */
   34.34 -
   34.35 -public class IMSBCTemplateProvider extends ExtensibilityElementTemplateProvider {
   34.36 -    
   34.37 -    static final String templateUrl = "/org/netbeans/modules/wsdlextensions/ims/template/template.xml";
   34.38 -
   34.39 -    public InputStream getTemplateInputStream() {
   34.40 -        return IMSBCTemplateProvider.class.getResourceAsStream(templateUrl);
   34.41 -    }
   34.42 -
   34.43 -    public String getLocalizedMessage(String str, Object[] objects) {
   34.44 -        return NbBundle.getMessage(IMSBCTemplateProvider.class, str, objects);
   34.45 -    }
   34.46 -}
    35.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/template/template.xml	Wed Jul 09 12:08:56 2008 -0700
    35.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.3 @@ -1,93 +0,0 @@
    35.4 -<?xml version="1.0" encoding="UTF-8"?>
    35.5 -
    35.6 -<!--
    35.7 - The contents of this file are subject to the terms of the Common Development
    35.8 - and Distribution License (the License). You may not use this file except in
    35.9 - compliance with the License.
   35.10 - 
   35.11 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   35.12 - or http://www.netbeans.org/cddl.txt.
   35.13 - 
   35.14 - When distributing Covered Code, include this CDDL Header Notice in each file
   35.15 - and include the License file at http://www.netbeans.org/cddl.txt.
   35.16 - If applicable, add the following below the CDDL Header, with the fields
   35.17 - enclosed by brackets [] replaced by your own identifying information:
   35.18 - "Portions Copyrighted [year] [name of copyright owner]"
   35.19 - 
   35.20 - The Original Software is NetBeans. The Initial Developer of the Original
   35.21 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   35.22 - Microsystems, Inc. All Rights Reserved.
   35.23 --->
   35.24 -
   35.25 -
   35.26 -<templateGroup namespace="http://schemas.sun.com/jbi/wsdl-extensions/ims/" 
   35.27 -	       xmlns="http://xml.netbeans.org/schema/templates"
   35.28 -	       xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"
   35.29 -               xsi:schemaLocation="http://xml.netbeans.org/schema/templates 
   35.30 -               templates.xsd" prefix="ims">
   35.31 -    <template name="IMSTransport">
   35.32 -        <wsdlElement name="Binding">
   35.33 -            <extensionElement name="binding"/>
   35.34 -        </wsdlElement>
   35.35 -        <wsdlElement name="BindingOperation">
   35.36 -            <extensionElement name="operation"/>
   35.37 -        </wsdlElement>
   35.38 -        <wsdlElement name="BindingOperationInput">
   35.39 -            <extensionElement name="message">
   35.40 -                <extensionAttr name="irmLen" defaultValue="80" />
   35.41 -				<extensionAttr name="irmId" defaultValue="*SAMPL1*" />
   35.42 -				<extensionAttr name="irmTimer" defaultValue=".25 SEC" />
   35.43 -				<extensionAttr name="irmSocket" defaultValue="Persistent" />
   35.44 -				<extensionAttr name="irmClientId" defaultValue="&lt;Provide the value for Client Id&gt;" />
   35.45 -				<extensionAttr name="irmMod" defaultValue="NO_MFS" />
   35.46 -				<extensionAttr name="irmCommitMode" defaultValue="COMMIT_MODE_1" />
   35.47 -				<extensionAttr name="irmSyncLevel" defaultValue="SYNC_LEVEL_NONE" />
   35.48 -				<extensionAttr name="irmAck" defaultValue="NO_ACK" />
   35.49 -				<extensionAttr name="irmFlow" defaultValue="No_Auto_Flow" />
   35.50 -				<extensionAttr name="irmTranCode" defaultValue="" />
   35.51 -				<extensionAttr name="irmTranCodeSrc" defaultValue="CFG" />
   35.52 -				<extensionAttr name="irmDestId" defaultValue="&lt;Provide the value for Destination&gt;" />
   35.53 -				<extensionAttr name="irmLterm" defaultValue="" />
   35.54 -				<extensionAttr name="irmRacfGrpName" defaultValue="&lt;Provide the value for RACF Group Name&gt;" />
   35.55 -				<extensionAttr name="irmRacfUserId" defaultValue="&lt;Provide the value for RACF User Id&gt;" />
   35.56 -				<extensionAttr name="irmRacfPwd" defaultValue="&lt;Provide the value for RACF Password&gt;" />
   35.57 -				<extensionAttr name="irmHeaderEncod" defaultValue="ISO-8859-1" />
   35.58 -				<extensionAttr name="sendDataEncod" defaultValue="NO TRANSLATION" />
   35.59 -				<extensionAttr name="replyDataEncod" defaultValue="ISO-8859-1" />
   35.60 -				<extensionAttr name="use" defaultValue="literal" />
   35.61 -				<extensionAttr name="encodingStyle" defaultValue="" />
   35.62 -            </extensionElement>
   35.63 -        </wsdlElement>
   35.64 -        <wsdlElement name="BindingOperationOutput">
   35.65 -            <extensionElement name="message">
   35.66 -                <extensionAttr name="irmLen" defaultValue="80" />
   35.67 -				<extensionAttr name="irmId" defaultValue="*SAMPL1*" />
   35.68 -				<extensionAttr name="irmTimer" defaultValue=".25 SEC" />
   35.69 -				<extensionAttr name="irmSocket" defaultValue="Persistent" />
   35.70 -				<extensionAttr name="irmClientId" defaultValue="&lt;Provide the value for Client Id&gt;" />
   35.71 -				<extensionAttr name="irmMod" defaultValue="NO_MFS" />
   35.72 -				<extensionAttr name="irmCommitMode" defaultValue="COMMIT_MODE_1" />
   35.73 -				<extensionAttr name="irmSyncLevel" defaultValue="SYNC_LEVEL_NONE" />
   35.74 -				<extensionAttr name="irmAck" defaultValue="NO_ACK" />
   35.75 -				<extensionAttr name="irmFlow" defaultValue="No_Auto_Flow" />
   35.76 -				<extensionAttr name="irmTranCode" defaultValue="" />
   35.77 -				<extensionAttr name="irmTranCodeSrc" defaultValue="CFG" />
   35.78 -				<extensionAttr name="irmDestId" defaultValue="&lt;Provide the value for Destination&gt;" />
   35.79 -				<extensionAttr name="irmLterm" defaultValue="" />
   35.80 -				<extensionAttr name="irmRacfGrpName" defaultValue="&lt;Provide the value for RACF Group Name&gt;" />
   35.81 -				<extensionAttr name="irmRacfUserId" defaultValue="&lt;Provide the value for RACF User Id&gt;" />
   35.82 -				<extensionAttr name="irmRacfPwd" defaultValue="&lt;Provide the value for RACF Password&gt;" />
   35.83 -				<extensionAttr name="irmHeaderEncod" defaultValue="ISO-8859-1" />
   35.84 -				<extensionAttr name="sendDataEncod" defaultValue="NO TRANSLATION" />
   35.85 -				<extensionAttr name="replyDataEncod" defaultValue="ISO-8859-1" />
   35.86 -				<extensionAttr name="use" defaultValue="literal" />
   35.87 -				<extensionAttr name="encodingStyle" defaultValue="" />
   35.88 -            </extensionElement>
   35.89 -        </wsdlElement>
   35.90 -        <wsdlElement name="ServicePort">
   35.91 -            <extensionElement name="address" >
   35.92 -                <extensionAttr name="imsServerLocation" defaultValue="&lt;Provide the value for IMS Server Location URL. For ex. ims:\\&lt;imsservername &gt;:&lt;port&gt;&gt;"/>
   35.93 -            </extensionElement>
   35.94 -        </wsdlElement>
   35.95 -    </template>
   35.96 -</templateGroup>
   35.97 \ No newline at end of file
    36.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/Bundle.properties	Wed Jul 09 12:08:56 2008 -0700
    36.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.3 @@ -1,31 +0,0 @@
    36.4 -#
    36.5 -# The contents of this file are subject to the terms of the Common Development
    36.6 -# and Distribution License (the License). You may not use this file except in
    36.7 -# compliance with the License.
    36.8 -# 
    36.9 -# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   36.10 -# or http://www.netbeans.org/cddl.txt.
   36.11 -# 
   36.12 -# When distributing Covered Code, include this CDDL Header Notice in each file
   36.13 -# and include the License file at http://www.netbeans.org/cddl.txt.
   36.14 -# If applicable, add the following below the CDDL Header, with the fields
   36.15 -# enclosed by brackets [] replaced by your own identifying information:
   36.16 -# "Portions Copyrighted [year] [name of copyright owner]"
   36.17 -# 
   36.18 -# The Original Software is NetBeans. The Initial Developer of the Original
   36.19 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   36.20 -# Microsystems, Inc. All Rights Reserved.
   36.21 -#
   36.22 -
   36.23 -## put semantics validation messages here
   36.24 -
   36.25 -IMSBindingValidation.ONLY_ONE_IMS_BINDING_ALLOWED=Only one IMS:binding allowed
   36.26 -IMSBindingValidation.ATMOST_ONE_MESSAGE_IN_INPUT=At most one IMS:message allowed in one <input> binding, found:
   36.27 -IMSBindingValidation.ATMOST_ONE_MESSAGE_IN_OUTPUT=At most one IMS:message allowed in one <output> binding, found:
   36.28 -IMSBindingValidation.MISSING_IMS_OPERATION=Missing IMS:operation in IMS:binding
   36.29 -IMSBindingValidation.IMS_OPERATION_WO_IMS_BINDING=IMS:operation found without corresponding IMS:binding
   36.30 -IMSExtValidation.MISSING_IMS_ADDRESS=Missing IMS:address in IMS:binding
   36.31 -IMSExtValidation.ONLY_ONE_IMSADDRESS_ALLOWED=Only one IMS:address allowed
   36.32 -
   36.33 -IMSMessage.IMS_ENCODING_STYLE_MISSING=Encoding Style attribute value is missing.
   36.34 -IMSAddress.IMS_INVALID_URL=IMS server URL is invalid.
   36.35 \ No newline at end of file
    37.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSComponentValidator.java	Wed Jul 09 12:08:56 2008 -0700
    37.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.3 @@ -1,306 +0,0 @@
    37.4 -/*
    37.5 - * The contents of this file are subject to the terms of the Common Development
    37.6 - * and Distribution License (the License). You may not use this file except in
    37.7 - * compliance with the License.
    37.8 - * 
    37.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   37.10 - * or http://www.netbeans.org/cddl.txt.
   37.11 - * 
   37.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   37.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   37.14 - * If applicable, add the following below the CDDL Header, with the fields
   37.15 - * enclosed by brackets [] replaced by your own identifying information:
   37.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   37.17 - * 
   37.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   37.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   37.20 - * Microsystems, Inc. All Rights Reserved.
   37.21 - */
   37.22 -package org.netbeans.modules.wsdlextensions.ims.validator;
   37.23 -
   37.24 -import java.util.Collection;
   37.25 -import java.util.Collections;
   37.26 -import java.util.HashSet;
   37.27 -import java.util.Iterator;
   37.28 -import java.util.List;
   37.29 -import java.util.ResourceBundle;
   37.30 -import java.text.MessageFormat;
   37.31 -
   37.32 -import org.netbeans.modules.xml.wsdl.model.Binding;
   37.33 -import org.netbeans.modules.xml.wsdl.model.BindingInput;
   37.34 -import org.netbeans.modules.xml.wsdl.model.BindingOperation;
   37.35 -import org.netbeans.modules.xml.wsdl.model.BindingOutput;
   37.36 -import org.netbeans.modules.xml.wsdl.model.Definitions;
   37.37 -import org.netbeans.modules.xml.wsdl.model.Port;
   37.38 -import org.netbeans.modules.xml.wsdl.model.Service;
   37.39 -import org.netbeans.modules.xml.wsdl.model.WSDLModel;
   37.40 -
   37.41 -import org.netbeans.modules.xml.xam.Model;
   37.42 -import org.netbeans.modules.xml.xam.Model.State;
   37.43 -import org.netbeans.modules.xml.xam.spi.Validation;
   37.44 -import org.netbeans.modules.xml.xam.spi.Validation.ValidationType;
   37.45 -import org.netbeans.modules.xml.xam.spi.ValidationResult;
   37.46 -import org.netbeans.modules.xml.xam.spi.Validator;
   37.47 -
   37.48 -import org.netbeans.modules.wsdlextensions.ims.model.IMSComponent;
   37.49 -import org.netbeans.modules.wsdlextensions.ims.model.IMSOperation;
   37.50 -import org.netbeans.modules.wsdlextensions.ims.model.IMSMessage;
   37.51 -import org.netbeans.modules.wsdlextensions.ims.model.IMSBinding;
   37.52 -import org.netbeans.modules.wsdlextensions.ims.model.IMSAddress;
   37.53 -
   37.54 -/**
   37.55 - * semantic validation, check WSDL elements & attributes values and
   37.56 - * any relationship between;
   37.57 - *
   37.58 - * @author Sun Microsystems
   37.59 - */
   37.60 -
   37.61 -public class IMSComponentValidator
   37.62 -        implements Validator, IMSComponent.Visitor {
   37.63 -
   37.64 -    private static final ResourceBundle mMessages =
   37.65 -            ResourceBundle.getBundle("org.netbeans.modules.wsdlextensions.ims.validator.Bundle");
   37.66 -
   37.67 -    private Validation mValidation;
   37.68 -
   37.69 -    private ValidationType mValidationType;
   37.70 -
   37.71 -	private ValidationResult mValidationResult;
   37.72 -
   37.73 -    public static final ValidationResult EMPTY_RESULT =
   37.74 -        new ValidationResult( Collections.EMPTY_SET,
   37.75 -                Collections.EMPTY_SET);
   37.76 -
   37.77 -    public IMSComponentValidator() {}
   37.78 -
   37.79 -    /**
   37.80 -     * Returns name of this validation service.
   37.81 -     */
   37.82 -    public String getName() {
   37.83 -        return getClass().getName();
   37.84 -    }
   37.85 -
   37.86 -    /**
   37.87 -     * Validates given model.
   37.88 -     *
   37.89 -     * @param model model to validate.
   37.90 -     * @param validation reference to the validation context.
   37.91 -     * @param validationType the type of validation to perform
   37.92 -     * @return ValidationResult.
   37.93 -     */
   37.94 -    public ValidationResult validate(Model model, Validation validation,
   37.95 -            ValidationType validationType) {
   37.96 -        mValidation = validation;
   37.97 -        mValidationType = validationType;
   37.98 -
   37.99 -        HashSet<ResultItem> results = new HashSet<ResultItem>();
  37.100 -        HashSet<Model> models = new HashSet<Model>();
  37.101 -        models.add(model);
  37.102 -        mValidationResult = new ValidationResult(results, models);
  37.103 -
  37.104 -        // Traverse the model
  37.105 -        if (model instanceof WSDLModel) {
  37.106 -            WSDLModel wsdlModel = (WSDLModel)model;
  37.107 -
  37.108 -            if (model.getState() == State.NOT_WELL_FORMED) {
  37.109 -                return EMPTY_RESULT;
  37.110 -            }
  37.111 -
  37.112 -            Definitions defs = wsdlModel.getDefinitions();
  37.113 -            Iterator<Binding> bindings = defs.getBindings().iterator();
  37.114 -
  37.115 -            while (bindings.hasNext()) {
  37.116 -                Binding binding = bindings.next();
  37.117 -				if (binding.getType() == null || binding.getType().get() == null) {
  37.118 -					continue;
  37.119 -                }
  37.120 -
  37.121 -                int numIMSBindings = binding.getExtensibilityElements(IMSBinding.class).size();
  37.122 -
  37.123 -				if (numIMSBindings == 0) {
  37.124 -					continue;
  37.125 -                }
  37.126 -
  37.127 -                if (numIMSBindings > 0 && numIMSBindings != 1) {
  37.128 -                    results.add(
  37.129 -                            new Validator.ResultItem(this,
  37.130 -                            Validator.ResultType.ERROR,
  37.131 -                            binding,
  37.132 -                            mMessages.getString("IMSBindingValidation.ONLY_ONE_IMS_BINDING_ALLOWED")));
  37.133 -                    continue;
  37.134 -                }
  37.135 -
  37.136 -                Iterator<BindingOperation> bindingOps =
  37.137 -                        binding.getBindingOperations().iterator();
  37.138 -                boolean foundIMSOp = false;
  37.139 -                while (bindingOps.hasNext()) {
  37.140 -                    BindingOperation bindingOp = bindingOps.next();
  37.141 -                    List imsOpsList = bindingOp.getExtensibilityElements(IMSOperation.class);
  37.142 -                    Iterator<IMSOperation> imsOps =
  37.143 -                            imsOpsList.iterator();
  37.144 -
  37.145 -                    while (imsOps.hasNext()) {
  37.146 -                        imsOps.next().accept(this);
  37.147 -                    }
  37.148 -
  37.149 -                    if(imsOpsList.size() > 0) {
  37.150 -                        foundIMSOp = true;
  37.151 -                        BindingInput bindingInput = bindingOp.getBindingInput();
  37.152 -                        if (bindingInput != null) {
  37.153 -                            int inputMessageCnt = 0;
  37.154 -                            Iterator<IMSMessage> imsMessages =
  37.155 -                                    bindingInput.getExtensibilityElements(IMSMessage.class).iterator();
  37.156 -                            while (imsMessages.hasNext()) {
  37.157 -                                inputMessageCnt++;
  37.158 -                                IMSMessage imsMessage = imsMessages.next();
  37.159 -                                imsMessage.accept(this);
  37.160 -                            }
  37.161 -                            if ( inputMessageCnt > 1 ) {
  37.162 -                                results.add(
  37.163 -                                        new Validator.ResultItem(this,
  37.164 -                                        Validator.ResultType.ERROR,
  37.165 -                                        binding,
  37.166 -                                        mMessages.getString("IMSBindingValidation.ATMOST_ONE_MESSAGE_IN_INPUT") + " " + inputMessageCnt));
  37.167 -                            }
  37.168 -                        }
  37.169 -
  37.170 -                        BindingOutput bindingOutput = bindingOp.getBindingOutput();
  37.171 -                        if (bindingOutput != null) {
  37.172 -                            int outputMessageCnt = 0;
  37.173 -                            Iterator<IMSMessage> imsMessages =
  37.174 -                                    bindingOutput.getExtensibilityElements(IMSMessage.class).iterator();
  37.175 -                            while (imsMessages.hasNext()) {
  37.176 -                                outputMessageCnt++;
  37.177 -                                IMSMessage imsMessage = imsMessages.next();
  37.178 -                                imsMessage.accept(this);
  37.179 -                            }
  37.180 -                            if ( outputMessageCnt > 1 ) {
  37.181 -                                results.add(
  37.182 -                                        new Validator.ResultItem(this,
  37.183 -                                        Validator.ResultType.ERROR,
  37.184 -                                        binding,
  37.185 -                                        mMessages.getString("IMSBindingValidation.ATMOST_ONE_MESSAGE_IN_OUTPUT") + " " + outputMessageCnt));
  37.186 -                            }
  37.187 -                        }
  37.188 -                    }
  37.189 -                }
  37.190 -                // there is ims:binding but no ims:operation
  37.191 -                if ( numIMSBindings > 0 && !foundIMSOp ) {
  37.192 -                    results.add(
  37.193 -                            new Validator.ResultItem(this,
  37.194 -                            Validator.ResultType.ERROR,
  37.195 -                            binding,
  37.196 -                            mMessages.getString("IMSBindingValidation.MISSING_IMS_OPERATION")));
  37.197 -                }
  37.198 -                // there is no ims:binding but there are ims:operation
  37.199 -                if ( numIMSBindings == 0 && foundIMSOp ) {
  37.200 -                    results.add(
  37.201 -                            new Validator.ResultItem(this,
  37.202 -                            Validator.ResultType.ERROR,
  37.203 -                            binding,
  37.204 -                            mMessages.getString("IMSBindingValidation.IMS_OPERATION_WO_IMS_BINDING")));
  37.205 -                }
  37.206 -            }
  37.207 -
  37.208 -            Iterator<Service> services = defs.getServices().iterator();
  37.209 -            while (services.hasNext()) {
  37.210 -                Iterator<Port> ports = services.next().getPorts().iterator();
  37.211 -                while (ports.hasNext()) {
  37.212 -                    Port port = ports.next();
  37.213 -                    if(port.getBinding() != null) {
  37.214 -                        Binding binding = port.getBinding().get();
  37.215 -                        if(binding != null) {
  37.216 -                            int numRelatedIMSBindings = binding.getExtensibilityElements(IMSBinding.class).size();
  37.217 -                            Iterator<IMSAddress> imsAddresses = port.getExtensibilityElements(IMSAddress.class).iterator();
  37.218 -                            if((numRelatedIMSBindings > 0) && (!imsAddresses.hasNext())){
  37.219 -                                results.add(
  37.220 -                                        new Validator.ResultItem(this,
  37.221 -                                        Validator.ResultType.ERROR,
  37.222 -                                        port,
  37.223 -                                        mMessages.getString("IMSExtValidation.MISSING_IMS_ADDRESS")));
  37.224 -                            }
  37.225 -
  37.226 -                            if(port.getExtensibilityElements(IMSAddress.class).size() > 1){
  37.227 -                                results.add(
  37.228 -                                        new Validator.ResultItem(this,
  37.229 -                                        Validator.ResultType.ERROR,
  37.230 -                                        port,
  37.231 -                                        mMessages.getString("IMSExtValidation.ONLY_ONE_IMSADDRESS_ALLOWED")));
  37.232 -                            }
  37.233 -                            while (imsAddresses.hasNext()) {
  37.234 -                                imsAddresses.next().accept(this);
  37.235 -                            }
  37.236 -                        }
  37.237 -                    }
  37.238 -                }
  37.239 -            }
  37.240 -        }
  37.241 -        // Clear out our state
  37.242 -        mValidation = null;
  37.243 -        mValidationType = null;
  37.244 -
  37.245 -        return mValidationResult;
  37.246 -    }
  37.247 -
  37.248 -    public void visit(IMSAddress target) {
  37.249 -        Collection<ResultItem> results =
  37.250 -                mValidationResult.getValidationResult();
  37.251 -        String[] stArr = target.getImsServerLocation().split(":");
  37.252 -        // Address url has to be in the form <ims://Server_Name:Port_Number>
  37.253 -        if(!(stArr.length == 3 && stArr[0].equals("ims") && stArr[1].indexOf("//") 
  37.254 -                == 0 && Integer.parseInt(stArr[2])<= 65535)){
  37.255 -            target.setImsServerLocation(null);
  37.256 -            results.add(new Validator.ResultItem(this,
  37.257 -						Validator.ResultType.ERROR,
  37.258 -						target,
  37.259 -						mMessages.getString("IMSAddress.IMS_INVALID_URL")));
  37.260 -        }
  37.261 -    }
  37.262 -
  37.263 -	public void visit(IMSBinding target) {
  37.264 -        // for ims binding tag - nothing to validate at this point
  37.265 -    }
  37.266 -
  37.267 -    public void visit(IMSOperation target) {
  37.268 -        // for ims operation tag - nothing to validate at this point
  37.269 -    }
  37.270 -
  37.271 -    public void visit(IMSMessage target) {
  37.272 -        Collection<ResultItem> results =
  37.273 -                mValidationResult.getValidationResult();
  37.274 -		//check encodingStyle
  37.275 -		String useType = target.getUse();
  37.276 -		String encodingStyle = target.getEncodingStyle();
  37.277 -		if(useType.equals("encoded")){
  37.278 -			if(isNull(encodingStyle)){
  37.279 -				results.add(new Validator.ResultItem(this,
  37.280 -						Validator.ResultType.ERROR,
  37.281 -						target,
  37.282 -						mMessages.getString("IMSMessage.IMS_ENCODING_STYLE_MISSING")));
  37.283 -			}
  37.284 -		}
  37.285 -
  37.286 -    }
  37.287 -
  37.288 -	//check whether it is null or empty
  37.289 -	private boolean isNull(String val){
  37.290 -		if((val == null) || (val.trim().equals(""))){
  37.291 -			return true;
  37.292 -		} else {
  37.293 -			return false;
  37.294 -		}
  37.295 -	}
  37.296 -
  37.297 -	private String getMessage(String key, String param) {
  37.298 -		return getMessage(key, new Object[] { param });
  37.299 -	}
  37.300 -
  37.301 -	private String getMessage(String key, Object[] params) {
  37.302 -		String fmt = mMessages.getString(key);
  37.303 -		if (params != null) {
  37.304 -			return MessageFormat.format(fmt, params);
  37.305 -		} else {
  37.306 -			return fmt;
  37.307 -		}
  37.308 -    }
  37.309 -}
    38.1 --- a/wsdlextensions.ims/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSValidatorSchemaFactory.java	Wed Jul 09 12:08:56 2008 -0700
    38.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.3 @@ -1,52 +0,0 @@
    38.4 -/*
    38.5 - * The contents of this file are subject to the terms of the Common Development
    38.6 - * and Distribution License (the License). You may not use this file except in
    38.7 - * compliance with the License.
    38.8 - * 
    38.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   38.10 - * or http://www.netbeans.org/cddl.txt.
   38.11 - * 
   38.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   38.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   38.14 - * If applicable, add the following below the CDDL Header, with the fields
   38.15 - * enclosed by brackets [] replaced by your own identifying information:
   38.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   38.17 - * 
   38.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   38.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   38.20 - * Microsystems, Inc. All Rights Reserved.
   38.21 - */
   38.22 -
   38.23 -package org.netbeans.modules.wsdlextensions.ims.validator;
   38.24 -
   38.25 -import java.io.InputStream;
   38.26 -import javax.xml.transform.Source;
   38.27 -import javax.xml.transform.stream.StreamSource;
   38.28 -import org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory;
   38.29 -
   38.30 -/**
   38.31 - * This class implements ValidatorSchemaFactory interface.
   38.32 - *
   38.33 - * @author Sun Microsystems
   38.34 - */
   38.35 -public class IMSValidatorSchemaFactory extends ValidatorSchemaFactory{
   38.36 -    static final String imsXSDUrl = "/org/netbeans/modules/wsdlextensions/ims/resources/ims-ext.xsd";
   38.37 -    
   38.38 -    public String getNamespaceURI() {
   38.39 -        return "http://schemas.sun.com/jbi/wsdl-extensions/ims/";
   38.40 -    }
   38.41 -    
   38.42 -    public InputStream getSchemaInputStream() {
   38.43 -        return IMSValidatorSchemaFactory.class.getResourceAsStream(imsXSDUrl);
   38.44 -    }
   38.45 -    
   38.46 -     /**
   38.47 -     * Returns the Inputstream related to this schema
   38.48 -     */
   38.49 -    public Source getSchemaSource() {
   38.50 -        InputStream in = IMSValidatorSchemaFactory.class.getResourceAsStream(imsXSDUrl);
   38.51 -        Source s = new StreamSource(in);
   38.52 -        s.setSystemId(IMSValidatorSchemaFactory.class.getResource(imsXSDUrl).toString());
   38.53 -        return s;
   38.54 -    }
   38.55 -}
    39.1 --- a/wsdlextensions.ims/test/build-unit.xml	Wed Jul 09 12:08:56 2008 -0700
    39.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.3 @@ -1,72 +0,0 @@
    39.4 -<?xml version="1.0"?>
    39.5 -<!--
    39.6 - The contents of this file are subject to the terms of the Common Development
    39.7 - and Distribution License (the License). You may not use this file except in
    39.8 - compliance with the License.
    39.9 - 
   39.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   39.11 - or http://www.netbeans.org/cddl.txt.
   39.12 - 
   39.13 - When distributing Covered Code, include this CDDL Header Notice in each file
   39.14 - and include the License file at http://www.netbeans.org/cddl.txt.
   39.15 - If applicable, add the following below the CDDL Header, with the fields
   39.16 - enclosed by brackets [] replaced by your own identifying information:
   39.17 - "Portions Copyrighted [year] [name of copyright owner]"
   39.18 - 
   39.19 - The Original Software is NetBeans. The Initial Developer of the Original
   39.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   39.21 - Microsystems, Inc. All Rights Reserved.
   39.22 --->
   39.23 -
   39.24 -<project name="org.netbeans.modules.wsdlextensions.ims/test-unit" basedir="." default="all">
   39.25 -    <!-- ========= -->
   39.26 -    <!-- Compilers -->
   39.27 -    <!-- ========= -->
   39.28 -    <property name="build.compiler.source" value="1.5"/>
   39.29 -    <property file="../nbproject/project.properties"/>
   39.30 -    
   39.31 -    <target name="default-compiler">
   39.32 -        <!-- Build application before tests -->
   39.33 -        <ant dir=".." target="jar"/>
   39.34 -        <buildTests srcdir="unit/src" compileexcludes="**/data/**">
   39.35 -            <property name="javac.source" value="1.5"/>
   39.36 -	    <property name="package.tests.includes" value="**/*"/>
   39.37 -	    <property name="package.tests.excludes" value="**/*.java"/>
   39.38 -            <classpath>
   39.39 -                <!-- Add classpath elements needed to compile tests -->
   39.40 -                <pathelement path="${test.unit.cp}"/>
   39.41 -                <pathelement path="${test.unit.cp.extra}"/>
   39.42 -            </classpath>
   39.43 -        </buildTests>
   39.44 -    </target>
   39.45 -    
   39.46 -    <!-- ========= -->
   39.47 -    <!-- Executors -->
   39.48 -    <!-- ========= -->
   39.49 -    
   39.50 -    <target name="run-unit-test">
   39.51 -	<echo>NNNNNNNNNNNNNNNNNNNNtest.unit.cp.extra=${test.unit.cp.extra}</echo>
   39.52 -        <executeTests pluginname="jvm">
   39.53 -             <classpath>
   39.54 -                <!-- Add classpath elements needed to run tests -->
   39.55 -                <pathelement path="${test.unit.cp}"/>
   39.56 -                <pathelement path="${test.unit.cp.extra}"/>
   39.57 -                <pathelement path="${test.unit.run.cp.extra}"/>
   39.58 -            </classpath>
   39.59 -        </executeTests>
   39.60 -    </target>
   39.61 -
   39.62 -    <target name="run-ide-test">
   39.63 -        <property name="xtest.ide.use.classloader" value="org.netbeans.modules.wsdlextensions.ims"/>
   39.64 -        <executeTests pluginName="ide">
   39.65 -             <classpath>
   39.66 -                <!-- Add classpath elements needed to run tests -->
   39.67 -                <pathelement path="${test.unit.cp}"/>
   39.68 -                <pathelement path="${test.unit.cp.extra}"/>
   39.69 -                <pathelement path="${test.unit.run.cp.extra}"/>
   39.70 -            </classpath>
   39.71 -        </executeTests>
   39.72 -    </target>
   39.73 -    
   39.74 -</project>
   39.75 -
    40.1 --- a/wsdlextensions.ims/test/build.xml	Wed Jul 09 12:08:56 2008 -0700
    40.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.3 @@ -1,100 +0,0 @@
    40.4 -<?xml version="1.0"?>
    40.5 -<!--
    40.6 - The contents of this file are subject to the terms of the Common Development
    40.7 - and Distribution License (the License). You may not use this file except in
    40.8 - compliance with the License.
    40.9 - 
   40.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   40.11 - or http://www.netbeans.org/cddl.txt.
   40.12 - 
   40.13 - When distributing Covered Code, include this CDDL Header Notice in each file
   40.14 - and include the License file at http://www.netbeans.org/cddl.txt.
   40.15 - If applicable, add the following below the CDDL Header, with the fields
   40.16 - enclosed by brackets [] replaced by your own identifying information:
   40.17 - "Portions Copyrighted [year] [name of copyright owner]"
   40.18 - 
   40.19 - The Original Software is NetBeans. The Initial Developer of the Original
   40.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   40.21 - Microsystems, Inc. All Rights Reserved.
   40.22 --->
   40.23 -<project name="org.netbeans.modules.wsdlextensions.ims/test" basedir="." default="all">
   40.24 -
   40.25 -    <!-- Name of tested module -->
   40.26 -    <property name="xtest.module" value="org.netbeans.modules.wsdlextensions.ims"/>
   40.27 -    
   40.28 -    <!-- Home of XTest -->
   40.29 -    <property name="xtest.home" location="../../../xtest"/>
   40.30 -    <import file="${xtest.home}/lib/templates/xtest.xml"/>
   40.31 -
   40.32 -    <!-- default testtypes, attributes used when no value is supplied from command line -->
   40.33 -    <property name="xtest.testtype" value="unit"/>
   40.34 -    <property name="xtest.attribs" value="stable"/>
   40.35 -    <!--
   40.36 -    <property name="xtest.testtype" value="functional"/>
   40.37 -    <property name="xtest.attribs" value="stable,validation"/>
   40.38 -    -->
   40.39 -    
   40.40 -    <!-- Points to directory with IDE to test. Optional for IDE tests.  -->
   40.41 -    <property name="netbeans.dest.dir" location="${xtest.home}/../nbbuild/netbeans"/>
   40.42 -    
   40.43 -    <!--
   40.44 -    *****************************************************
   40.45 -    ** You should not change anything after this comment,
   40.46 -    **    unless you really know what you are doing
   40.47 -    ******************************************************
   40.48 -    -->
   40.49 -    
   40.50 -    <!-- Ant property. Value 'ignore' means that system classpath is ignored
   40.51 -         and only classpath specified in build file is used. -->
   40.52 -    <property name="build.sysclasspath" value="ignore"/>
   40.53 -
   40.54 -    <!-- Points to antfile with module's harness. 
   40.55 -         Targets from that antfile is called from this build.xml -->
   40.56 -    <property name="xtest.module_harness.antfile" location="${xtest.home}/lib/module_harness.xml"/>
   40.57 -
   40.58 -    <!-- before using xtest task, it has to be defined -->
   40.59 -    <taskdef name="xtest" classname="org.netbeans.xtest.usertasks.XTestActionTask" 
   40.60 -                 classpath="${xtest.home}/lib/xtest.jar"/>  
   40.61 -    
   40.62 -    <!-- ============ -->
   40.63 -    <!-- Main targets -->
   40.64 -    <!-- ============ -->
   40.65 -    
   40.66 -    <target name="all" depends="runtests"/>
   40.67 -    
   40.68 -    <!-- This calls target which will call compilers according to cfg file.
   40.69 -         You should not change this target unless you realy know what you are doing -->
   40.70 -    <target name="buildtests">
   40.71 -       <xtest executeAction="buildTests"/>
   40.72 -    </target>
   40.73 -    
   40.74 -    <!-- This calls common clean process. This cleans the tests -->
   40.75 -    <!-- You can write your own if you need something special -->
   40.76 -    <target name="cleantests">
   40.77 -       <xtest executeAction="cleanTests"/>
   40.78 -    </target> 
   40.79 -
   40.80 -    <!-- This target runs tests. You should not change this --> 
   40.81 -    <!-- target unless you realy know what you are doing -->
   40.82 -    <target name="runtests" depends="buildtests">
   40.83 -        <echo message="Module: Running tests for ${xtest.module}, testtype ${xtest.testtype}, attribs=${xtest.attribs}"/>
   40.84 -        <xtest executeAction="runTests"/>
   40.85 -    </target>
   40.86 -    
   40.87 -    <!-- This target cleans results -->
   40.88 -    <target name="cleanresults">
   40.89 -        <xtest executeAction="cleanResults"/>
   40.90 -    </target>
   40.91 -    
   40.92 -    <!-- This target cleans both tests and results -->
   40.93 -    <target name="realclean">
   40.94 -        <xtest executeAction="cleanAll"/>
   40.95 -    </target>
   40.96 -    
   40.97 -    <!-- This target prints out default xtest configuration which will be used to run the tests -->
   40.98 -    <target name="printconfig">
   40.99 -        <echo message="Default config is testtype: ${xtest.testtype}, attributes: ${xtest.attribs}."/>
  40.100 -    </target>
  40.101 -    
  40.102 -</project>
  40.103 -
    41.1 --- a/wsdlextensions.ims/test/cfg-unit.xml	Wed Jul 09 12:08:56 2008 -0700
    41.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.3 @@ -1,44 +0,0 @@
    41.4 -<?xml version="1.0" encoding="UTF-8"?>
    41.5 -<!--
    41.6 - The contents of this file are subject to the terms of the Common Development
    41.7 - and Distribution License (the License). You may not use this file except in
    41.8 - compliance with the License.
    41.9 - 
   41.10 - You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   41.11 - or http://www.netbeans.org/cddl.txt.
   41.12 - 
   41.13 - When distributing Covered Code, include this CDDL Header Notice in each file
   41.14 - and include the License file at http://www.netbeans.org/cddl.txt.
   41.15 - If applicable, add the following below the CDDL Header, with the fields
   41.16 - enclosed by brackets [] replaced by your own identifying information:
   41.17 - "Portions Copyrighted [year] [name of copyright owner]"
   41.18 - 
   41.19 - The Original Software is NetBeans. The Initial Developer of the Original
   41.20 - Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   41.21 - Microsystems, Inc. All Rights Reserved.
   41.22 --->
   41.23 -
   41.24 -<mconfig name="Unit config">
   41.25 -
   41.26 -    <testbag testattribs="stable" executor="unit-executor" name="Unit tests">
   41.27 -        <testset dir="unit/src">
   41.28 -            <patternset>
   41.29 -                <include name="**/*Test.class"/>
   41.30 -                <!-- exclude name="**/readwrite/*Test.class"/ -->
   41.31 -            </patternset>
   41.32 -        </testset>
   41.33 -    </testbag>
   41.34 -
   41.35 -    <testbag testattribs="ide" executor="ide-executor" name="IDE tests">
   41.36 -        <testset dir="unit/src">
   41.37 -            <patternset>
   41.38 -                <include name="**/*Test.class"/>
   41.39 -            </patternset>
   41.40 -        </testset>
   41.41 -    </testbag>
   41.42 -
   41.43 -    <compiler name="default-compiler" antfile="build-unit.xml" target="default-compiler" default="true"/>
   41.44 -    <executor name="unit-executor" antfile="build-unit.xml" target="run-unit-test"/>
   41.45 -    <executor name="ide-executor" antfile="build-unit.xml" target="run-ide-test"/>
   41.46 -
   41.47 -</mconfig>
    42.1 --- a/wsdlextensions.ims/test/unit/src/org/netbeans/modules/wsdlextensions/ims/validator/IMSValidatorSchemaFactoryTest.java	Wed Jul 09 12:08:56 2008 -0700
    42.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.3 @@ -1,76 +0,0 @@
    42.4 -/*
    42.5 - * The contents of this file are subject to the terms of the Common Development
    42.6 - * and Distribution License (the License). You may not use this file except in
    42.7 - * compliance with the License.
    42.8 - * 
    42.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   42.10 - * or http://www.netbeans.org/cddl.txt.
   42.11 - * 
   42.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   42.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   42.14 - * If applicable, add the following below the CDDL Header, with the fields
   42.15 - * enclosed by brackets [] replaced by your own identifying information:
   42.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   42.17 - * 
   42.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   42.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   42.20 - * Microsystems, Inc. All Rights Reserved.
   42.21 - */
   42.22 -
   42.23 -/*
   42.24 - * IMSValidatorSchemaFactoryTest.java
   42.25 - * JUnit based test
   42.26 - *
   42.27 - * Created on February 6, 2007, 11:37 PM
   42.28 - */
   42.29 -
   42.30 -package org.netbeans.modules.wsdlextensions.ims.validator;
   42.31 -
   42.32 -import javax.xml.transform.Source;
   42.33 -import junit.framework.*;
   42.34 -import java.io.InputStream;
   42.35 -import org.netbeans.modules.xml.wsdl.validator.spi.ValidatorSchemaFactory;
   42.36 -
   42.37 -/**
   42.38 - *
   42.39 - * @author radval
   42.40 - */
   42.41 -public class IMSValidatorSchemaFactoryTest extends TestCase {
   42.42 -    
   42.43 -    public IMSValidatorSchemaFactoryTest(String testName) {
   42.44 -        super(testName);
   42.45 -    }
   42.46 -
   42.47 -    protected void setUp() throws Exception {
   42.48 -    }
   42.49 -
   42.50 -    protected void tearDown() throws Exception {
   42.51 -    }
   42.52 -
   42.53 -    /**
   42.54 -     * Test of getNamespaceURI method, of class org.netbeans.modules.wsdlextensions.ims.validator.IMSValidatorSchemaFactory.
   42.55 -     */
   42.56 -    public void testGetNamespaceURI() {
   42.57 -        System.out.println("getNamespaceURI");
   42.58 -        
   42.59 -        IMSValidatorSchemaFactory instance = new IMSValidatorSchemaFactory();
   42.60 -        
   42.61 -       String result = instance.getNamespaceURI();
   42.62 -        assertNotNull(result);
   42.63 -        
   42.64 -    }
   42.65 -
   42.66 -    /**
   42.67 -     * Test of getSchemaInputStream method, of class org.netbeans.modules.wsdlextensions.ims.validator.IMSValidatorSchemaFactory.
   42.68 -     */
   42.69 -    public void testGetSchemaSource() {
   42.70 -        System.out.println("getSchemaSource");
   42.71 -        
   42.72 -        IMSValidatorSchemaFactory instance = new IMSValidatorSchemaFactory();
   42.73 -        
   42.74 -        Source result = instance.getSchemaSource();
   42.75 -        assertNotNull(result);
   42.76 -        
   42.77 -    }
   42.78 -    
   42.79 -}
    43.1 --- a/wsdlextensions.ims/test/unit/src/org/netbeans/modules/wsdlextensions/ims/validator/SchemaTest.java	Wed Jul 09 12:08:56 2008 -0700
    43.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.3 @@ -1,96 +0,0 @@
    43.4 -/*
    43.5 - * The contents of this file are subject to the terms of the Common Development
    43.6 - * and Distribution License (the License). You may not use this file except in
    43.7 - * compliance with the License.
    43.8 - * 
    43.9 - * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   43.10 - * or http://www.netbeans.org/cddl.txt.
   43.11 - * 
   43.12 - * When distributing Covered Code, include this CDDL Header Notice in each file
   43.13 - * and include the License file at http://www.netbeans.org/cddl.txt.
   43.14 - * If applicable, add the following below the CDDL Header, with the fields
   43.15 - * enclosed by brackets [] replaced by your own identifying information:
   43.16 - * "Portions Copyrighted [year] [name of copyright owner]"
   43.17 - * 
   43.18 - * The Original Software is NetBeans. The Initial Developer of the Original
   43.19 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
   43.20 - * Microsystems, Inc. All Rights Reserved.
   43.21 - */
   43.22 -
   43.23 -/*
   43.24 - * SchemaTest.java
   43.25 - * JUnit based test
   43.26 - *
   43.27 - * Created on January 31, 2007, 6:25 PM
   43.28 - */
   43.29 -
   43.30 -package org.netbeans.modules.wsdlextensions.ims.validator;
   43.31 -
   43.32 -import java.net.URL;
   43.33 -import javax.xml.XMLConstants;
   43.34 -import javax.xml.transform.stream.StreamSource;
   43.35 -import javax.xml.validation.Schema;
   43.36 -import javax.xml.validation.SchemaFactory;
   43.37 -import junit.framework.*;
   43.38 -import org.xml.sax.ErrorHandler;
   43.39 -import org.xml.sax.SAXException;
   43.40 -import org.xml.sax.SAXParseException;
   43.41 -
   43.42 -/**
   43.43 - *
   43.44 - * @author radval
   43.45 - */
   43.46 -public class SchemaTest extends TestCase {
   43.47 -    
   43.48 -    private Exception mLastError;
   43.49 -    
   43.50 -    private URL schemaUrl = SchemaTest.class.getResource("/org/netbeans/modules/wsdlextensions/ims/resources/ims-ext.xsd");
   43.51 -    
   43.52 -    public SchemaTest(String testName) {
   43.53 -        super(testName);
   43.54 -    }
   43.55 -
   43.56 -    protected void setUp() throws Exception {
   43.57 -    }
   43.58 -
   43.59 -    protected void tearDown() throws Exception {
   43.60 -    }
   43.61 -    
   43.62 -    // TODO add test methods here. The name must begin with 'test'. For example:
   43.63 -    // public void testHello() {}
   43.64 -    
   43.65 -    public void testSchema() throws Exception {
   43.66 -        MyErrorHandler errorHandler = new MyErrorHandler();
   43.67 -        SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
   43.68 -        sf.setErrorHandler(errorHandler);
   43.69 -        IMSValidatorSchemaFactory fac = new IMSValidatorSchemaFactory();
   43.70 -        StreamSource s = new StreamSource(fac.getSchemaInputStream());
   43.71 -        s.setSystemId(IMSValidatorSchemaFactory.class.getResource(IMSValidatorSchemaFactory.imsXSDUrl).toString());
   43.72 -        Schema schema = sf.newSchema(s);
   43.73 -        
   43.74 -        assertNotNull("schema should not be null", schema);
   43.75 -        
   43.76 -        assertNull("No exception should occur in schema parsing", mLastError);
   43.77 -        
   43.78 -    }
   43.79 -    
   43.80 -    class MyErrorHandler implements ErrorHandler {
   43.81 -        
   43.82 -        public void error(SAXParseException exception) throws SAXException {
   43.83 -            mLastError = exception;
   43.84 -            exception.printStackTrace();
   43.85 -        }
   43.86 -
   43.87 -        public void fatalError(SAXParseException exception) throws SAXException {
   43.88 -            mLastError = exception;
   43.89 -            exception.printStackTrace();
   43.90 -        }
   43.91 -
   43.92 -        public void warning(SAXParseException exception) throws SAXException {
   43.93 -            exception.printStackTrace();
   43.94 -        }
   43.95 -        
   43.96 -
   43.97 -
   43.98 -    }
   43.99 -}