Skip to Content
author's profile photo Former Member
Former Member

Validating an XML message from Outbound Interface.

Hi All,

I hav an xml generated from an outbound interface and is to be validated against a BC Schema that hav been specifically created from the sample XML docs.I'm strucked at how to validate the XML in XI against the xsd file. Can anyone pls help me out in this regard.It's a bit urgent.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2005 at 06:11 AM

    Hi Anil,

    The outbound inerface sends the XML message to XI. In XI, if you have configured 'Message Mapping', which has input message as your BC schema, then XI does the validation of this XML against this schema.

    If the XML received do not match the XSD of the 'message mapping' input message type - then it results in a Mapping exception : Parsing error.

    Does this answer?

    regards,

    Pops V

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Anil,

      When you create a dataType by yourself, then XI generates the XSD.

      Instead, you could create the dataType by importing a XSD. Two ways:

      1. While creating a new dataType, Goto Tools->'Import XSD' and select your XSD file.

      2. You can import your XSD as 'External Definitions'

      In these 2 cases, the dataType will be as per your XSD. Then use this dataType for receiving the data into XI.

      XI validates against that dataType XSD, which is your XSD.

      Hope this helps!

      regards,

      Pops V

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.