Show TOC

Configuring Import and Reimport PreferencesLocate this document in the navigation structure

Context

In the SAP NetWeaver Developer Studio, you can configure the XSD and WSDL files import and reimport behavior. You can choose whether the WSDL and XSD import and reimport dialogs explicitly prompt you whether to accept or reject changes in the reimported document, or to ignore certain types of conflicts. These preferences are relevant in the following cases:

  • Reimporting a modified XSD or WSDL file

    If you select the option to automatically accept all changes of the reimported document, the reimported document silently overwrites the one you have used and the reimport dialog with changes is not shown. For more information about reimporting, see Reimporting Modified WSDL and XSD Files .

  • Type conflicts when importing an XSD or WSDL file

    A type conflict occurs when an XSD type exists in a document within your project and you try to import a different document containing a type with the same name and namespace, but with different content or structure. You can select to automatically ignore the following types of conflicts:

    • The newly imported type contains an <annotation> tag

      In case the only difference between the XSD type existing in your project and the type you want to import is the existence of an <annotation> tag in the new type, you can choose to always ignore this conflict.

      Existing Type

                              <simpleType name="MySimpleType">
                               <restriction base="string">restriction base="string">
                              </simpleType>
                           

      New Type

                              <simpleType name="MySimpleType">
                               <annotation><documentation>SomeText</documentation></annotation>
                               <restriction base="string">restriction base="string">
                              </simpleType>
                           
    • The newly imported WSDL entity contains a documentation tag

      In case the only difference between the WSDL entity existing in your project and the entity you want to import is the existence of a documentation tag, you can choose to always ignore this conflict.

      Existing WSDL

                              <wsdl:message name="NewOperationResponse">
                               <wsdl:part element="tns:NewOperationResponse" name="parameters"/>
                              </wsdl:message>
                           

      New WSDL

                              <wsdl:message name="NewOperationResponse">
                               <wsdl:documentation>SomeText</wsdl:documentation>
                               <wsdl:part element="tns:NewOperationResponse" name="parameters">
                                <wsdl:documentation>SomeText</wsdl:documentation>
                               </wsdl:part>
                              <wsdl:message>
                           
    • The newly imported XSD or WSDL entity contains an unrecognizable extensibility elements or attributes

      In case the only difference between the XSD or WSDL entity existing in your project and the entity you want to import is the existence of a new extensibility element or attribute, you can choose to always ignore this conflict.

      Existing XSD

                              <complexType name="MyComplexTypeRest">
                               <complexContent>
                                <restriction base="tns:MyComplexType"></restriction>
                               <complexContent>
                              </complexType>
                           

      New XSD

                              <complexType name="MyComplexTypeRest">
                               <complexContent unknown:test="abc">
                                <restriction base="tns:MyComplexType"></restriction>
                               <complexContent>
                              </complexType>
                           

      If you activate the described preferences, the existing elements and the imported document are not changed.

The described import and reimport preferences are not activated by default.

Procedure

  1. In the Developer Studio, choose Start of the navigation path Window Next navigation step Preferences Next navigation step Enterprise Service Modeling Next navigation step Import and Reimport End of the navigation path.
  2. Depending on your preferences, select any of the following checkboxes:
    • Automatically accept all changes of the reimported document

      The definitions in the repository are automatically overwritten with the ones in the reimported modified XSD or WSDL file.

    • Ignore conflicts in xsd <annotation> tags

      You are not prompted to take action and the conflict is ignored.

    • Ignore conflicts in wsdl <documentation> tags

      You are not prompted to take action and the conflict is ignored.

    • Ignore conflicts in extensibility elements and attributes

      You are not prompted to take action and the conflict is ignored.