webMethods

webMethods

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.  xsd conversion

    Posted Tue July 19, 2005 11:08 AM

    Hello
    I’ve unsucesfullly try to convert xsd schema file, with some includes to local files, to TSD so I can define a new ‘table’. This is the message I get:
    Command:
    inoxsdconv.cmd -xsd d:SCL_Substation.xsd -tsd subestacion.tsd -outputEncoding UTF-8 -noLog
    Stderr:
    XSCMOI1010: All xml comments, processing instructions and cdata sections have been removed.
    XSCXCC5007: Could neither read the schema “SCL_BaseTypes.xsd” from file nor get “[schema location: SCL_BaseTypes.xsd, collection: null]” from Tamino “null”.
    XSCMOW1013: There can be only one target namespace. This target namespace has been used: “http://www.iec.ch/61850/2003/SCL”. This namespace has not been used: “http://www.iec.ch/61850/2003/SCL”.

    What can I do to solve?


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: xsd conversion

    Posted Wed July 20, 2005 01:56 PM

    Hello,

    XSCXCC5007: Could neither read the schema “SCL_BaseTypes.xsd” from file nor get “[schema location: SCL_BaseTypes.xsd, collection: null]” from Tamino “null”.
    From the error it seems that schema location contains only file name. It does not specify the absolute path of the XSD file you are including in it. Try to give the absolute path for the schema “SCL_BaseTypes.xsd” including file protocol. e.g. “file:///c:/SCL_BaseTypes.xsd”.

    XSCMOW1013: There can be only one target namespace. This target namespace has been used: “http://www.iec.ch/61850/2003/SCL”. This namespace has not been used: “http://www.iec.ch/61850/2003/SCL”.
    If you are including schemas in your main schema then make sure that target namespace for all schemas is same.

    Hope this resolves your problem.

    Cheers,
    Vipin


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: xsd conversion

    Posted Thu July 21, 2005 11:24 AM

    Solved, the problem is that i namespace was defined and also set as target. Something that makes no sense.


    #webMethods
    #Tamino
    #API-Management