Skip to Content
avatar image
Former Member

External Definition Import Failure

Hi Gurus,

I was trying to import an external definition from Reuters DataScope product. Its not in W3 ORG format. I tried to import it into XI and also XMLSPY but got the same error as below.

Unable to convert imported document to WSDL

Reason: A schema must start with the tag that belongs to " http://www.w3.org/2001/XMLSchema" namespace

Check the selected category

Here is my xsd definition. What should I be doing to this xsd file in order to load it into XI without any errors?

Thanks.

Srini

<?xml version="1.0"?>

http://www.reuters.com/Datascope/ReportRequest.xsd">

<ReportTemplate>

<ReportAction>Replace</ReportAction>

<Name>MBCO_REUTERS_EXCHANGE_RATES</Name>

<EODPricing>

<OutputFormat>XML</OutputFormat>

<Delimiter>None</Delimiter>

<Delivery>None</Delivery>

<Compression>None</Compression>

<ColumnHeaders>No</ColumnHeaders>

<CurrencyScaling>No</CurrencyScaling>

<Header>

<HeaderLine>

<HeaderField>

<HeaderTrailerFieldType>StartTime</HeaderTrailerFieldType>

<DateTimeFormat>yyyyMMdd HH:mm:ss</DateTimeFormat>

<WidthStyle>Variable</WidthStyle>

<Justification>Left</Justification>

</HeaderField>

<HeaderField>

<HeaderTrailerFieldType>RowCount</HeaderTrailerFieldType>

<WidthStyle>Variable</WidthStyle>

<Justification>Left</Justification>

</HeaderField>

</HeaderLine>

</Header>

<Body>

<DataField>

<Name>Trade Date</Name>

<Label>Effective Date</Label>

<FieldNumber>0</FieldNumber>

<DataFieldType>Date</DataFieldType>

<DateFormat>yyyyMMdd</DateFormat>

<Justification>Left</Justification>

<Capitalization>None</Capitalization>

</DataField>

<DataField>

<Name>Security Description</Name>

<Label>Currency Description</Label>

<FieldNumber>1</FieldNumber>

<DataFieldType>Text</DataFieldType>

<Justification>Left</Justification>

<Capitalization>None</Capitalization>

</DataField>

<DataField>

<Name>Ask Price</Name>

<Label>Effective Price</Label>

<FieldNumber>2</FieldNumber>

<DataFieldType>Numeric</DataFieldType>

<DecimalPlaces>5</DecimalPlaces>

<DecimalSeparator>Period</DecimalSeparator>

<IntegerPlaces>12</IntegerPlaces>

<LeadingZeroes>No</LeadingZeroes>

<TrailingZeroes>No</TrailingZeroes>

<ThousandSeparator>Yes</ThousandSeparator>

<ThousandCharacter>Comma</ThousandCharacter>

<NegativePosition>After</NegativePosition>

<WidthStyle>Variable</WidthStyle>

<Width>21</Width>

<Justification>Left</Justification>

<Capitalization>None</Capitalization>

</DataField>

<DataField>

<Name>Bid Price</Name>

<FieldNumber>3</FieldNumber>

<DataFieldType>Numeric</DataFieldType>

<DecimalPlaces>5</DecimalPlaces>

<DecimalSeparator>Period</DecimalSeparator>

<IntegerPlaces>12</IntegerPlaces>

<LeadingZeroes>No</LeadingZeroes>

<TrailingZeroes>No</TrailingZeroes>

<ThousandSeparator>Yes</ThousandSeparator>

<ThousandCharacter>Comma</ThousandCharacter>

<NegativePosition>After</NegativePosition>

<WidthStyle>Variable</WidthStyle>

<Width>21</Width>

<Justification>Left</Justification>

<Capitalization>None</Capitalization>

</DataField>

</Body>

<Trailer>

<TrailerLine>

<TrailerField>

<HeaderTrailerFieldType>EndTime</HeaderTrailerFieldType>

<DateTimeFormat>yyyyMMdd HH:mm:ss</DateTimeFormat>

<WidthStyle>Variable</WidthStyle>

<Justification>Left</Justification>

</TrailerField>

<TrailerField>

<HeaderTrailerFieldType>RowCount</HeaderTrailerFieldType>

<WidthStyle>Variable</WidthStyle>

<Justification>Left</Justification>

</TrailerField>

</TrailerLine>

</Trailer>

</EODPricing>

</ReportTemplate>

</ReportRequest>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Sep 24, 2007 at 07:12 PM

    Srinivas,

    Replace the below mentioned line:

    http://www.reuters.com/Datascope/ReportRequest.xsd">

    with

    http://www.w3.org/2001/XMLSchema">

    Sachin.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 24, 2007 at 07:12 PM

    Hi,

    I think what you are importing is a XSD. If so, while importing the external definition, select the Category as XSD from the drop down.

    Regards,

    Balaji.M

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 24, 2007 at 07:12 PM

    Hi Srinivas,

    When are you importing an XSD, wht is the Category you are setting in the external definition. Set it as 'XSD'. I guess you are setting it as 'WSDL'.

    Regards,

    Akshay

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Justin Santhanam

      Raj,

      I pasted sample xml file into Altova XMLSPY software and generated the XSD file. Then I used that xsd file as external definition in XI.

      Thanks.

      Srini

  • avatar image
    Former Member
    Sep 24, 2007 at 07:16 PM

    Deleted...

    Add comment
    10|10000 characters needed characters exceeded