IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  xs:import didn't work.

    Posted Tue January 28, 2003 02:33 AM

    Hello,
    I am using Tamino 4.1.1.1 on Windows 2000 Professional.
    I have a problem with Tamino Schema Editor.
    I read Release Notes that Tamino support “xs:import” of W3C XML Schema, but it didn’t work.

    I tried the following import method.
    1. <xs:import namespace=“http://www.penta.co.kr” schemaLocation=“http://www.xmlone.co.kr/ttn/jsp/imported.xsd”/>
    2. <xs:import namespace=“http://www.penta.co.kr” schemaLocation=“http://www.xmlone.co.kr/ttn/jsp/imported.tsd”/>
    3. <xs:import namespace=“http://www.penta.co.kr” schemaLocation=“file:///D:\xmlschema\imported.xsd”/>
    4. <xs:import namespace=“http://www.penta.co.kr” schemaLocation=“file:///D:\xmlschema\imported.tsd”/>

    I received the following message.
    <INOXDE7931, INOXDE7536>Invalid import element. Schema reference could not be resolved.

    Is there any way to solve schemaLocation setting? Thank you in advance.
    import_examples.zip (2.25 KB)


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: xs:import didn't work.

    Posted Tue January 28, 2003 11:11 AM

    The http proxy host and port have to be set in the Options menu (Tools/Options).


    #Tamino
    #API-Management
    #webMethods


  • 3.  RE: xs:import didn't work.

    Posted Tue January 28, 2003 11:16 AM

    Sorry, you need to set http host and proxy in the schema editor if you like to use the services “open in new window” or “load”.

    Tamino knows only schemas that are stored in the same database. So first define your imported schemas, second change the schemaLocation of the importing schema, third define the importing schema.
    The schema location within Tamino has to be relative either: “schemaname” or “…/collectionname/schemaname”.


    #webMethods
    #Tamino
    #API-Management


  • 4.  RE: xs:import didn't work.

    Posted Tue January 28, 2003 11:25 AM

    Valid values of schemaLocation attribute of xs:import are:

    1) schemaName
    2) ./schemaName
    3) …/collectionName/schemaName

    Note that only relative URLs are permitted, referring to another schema which must already be defined in the same Tamino database!


    #webMethods
    #API-Management
    #Tamino


  • 5.  RE: xs:import didn't work.

    Posted Tue January 28, 2003 12:11 PM

    You’ve got it right.

    Thank you for your help! :cool:


    #webMethods
    #Tamino
    #API-Management