on 09-20-2006 6:28 AM
I'm loading following sample XSD file into external definitions. I'm loading that into name space as mentioned in the xsd and i have given the name of the external definition same name as CustomerOutput_DT. How do i make sure that it is loaded properly? I mean do I get anything in the Messages tab after loading? right now I'm not getting anything in Messages tab, so I was wondering if there is any problem in loading. Please let me know if I'm missing anything.
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn://bpmtest1" targetNamespace="urn://bpmtest1">
<xsd:complexType name="CustomerOutput_DT">
<xsd:sequence>
<xsd:element name="Customer" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="FirstName">
</xsd:element>
<xsd:element name="LastName">
</xsd:element>
<xsd:element name="City">
</xsd:element>
<xsd:element name="State">
</xsd:element>
<xsd:element name="Country">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Thanks,
Anika
Even I've tested my XSD with XMLSpy and its a valid file but then its not showing anything in Messages tab. When I changed the XSD as Prakash suggested then it appeared in Messages tab. I'm getting confused here as I dont understand that are we supposed to get any thing in Messages tab or not? When exactly that Messages tab is useful? whts the purpose of it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you do a External Definition it is equavelent to your message Type and not Data Type. You go to XSD tab of the message type and you will find the Element tag.
When you do a External Definition it should appear in the Message tab otherwise when you are creating your interface or mapping you will not able to select the message type. Nothing will appear.
Create a message type and see in XSD tab you will find the element tag.
XML Spy will show fine if it adhears to the standards of XSD thats it.
Hope this helps
Thanks,
Prakash
Thanks Prakash & Shabarish.
Prakash - If define XSD as u gave, its giving me element name in messages tab. But my question is, when you create a datatype manually, it creates a XSD for you right, that doesnt start with element as you gave. Whats the difference?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I thought we would get something in the messages tab when we load XSD. Isn't it right?
I've activated it and there is no error. So that means it got loaded properly?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you should have a Element tag at the first.
Try as shown in BOLD
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn://bpmtest1" targetNamespace="urn://bpmtest1">
<b> <xsd:element name="CustomerOutput_DT">
<xsd:complexType></b>
.
.
<b> </xsd:complexType>
</xsd:element></b>
</xsd:schema>
Thanks,
Prakash
Once you have loaded the XSD, try activating it. If any error is persisting it wud be caught here.
By the by, your XSD just looks fine !!!
Message was edited by: Shabarish Vijayakumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.