on 08-28-2006 8:51 PM
My Source Data Structure is cXML and I have imported this into the External Definition in repository as an XSD.
How to create a Message type?
How to create a Message Interface for the above scehma?
Thanks.
Hi Rohini,
Since you have imported it as an ext.defn itself, u can use it directly in mapping( no need to create a message type).
cheers,
Prashanth
P.S Please mark helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The import XSD itself a Message Type and you need to create the Message Interface. Either you you can select by F4 or by drag and drop.
Also make sure that your namespace is added in the XSD
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="<b>yournamespace</b>">
<xsd:element name="<b>MessageType</b>">
The root element MessageType will be your message type name. Give youe name space as given above. Also include targetnamespace if required.
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prakash: Thanks a lot. My XSD looks like Below and let us assume my namespace is XYZ, where it should come?
Also in the below xsd it comes with xs: and not with xsd:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" />
<xs:element name="Name">
<xs:complexType mixed="true">
<xs:attribute ref="xml:lang" use="required"
Hi,
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" <b>xmlns="XYZ"</b> <b>targetNamespace="XYZ"></b>
<xs:element name="Name">
<xs:complexType mixed="true">
<xs:attribute ref="xml:lang" use="required"
Thanks
Prakash
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.