on 08-22-2006 9:45 AM
Hi,
I have 3 DTD's with a ebxml document. These DTD's reference to each other (so 1 main and 2 sub). Because there is a namespace in the DTD and this is not accepted by XI I have converted these DTD's to XSD's. Now I can import these files into the external definitions. When referencing the files in the sourcefield I can naviagate through the various definations. So far...everything is OK.
When I create a messagemapping using the external definition I only see the first element and the other elements (in the 2 included xsd's) are not shown. The structure of the main XSD is as follows:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" elementFormDefault="qualified" targetNamespace="http://www.ebxml.org/namespaces/messageHeader">
<xs:include schemaLocation="ebHeader.xsd" />
<xs:include schemaLocation="CatalogueRequest.xsd" />
<xs:element name="Envelope" abstract="true" />
</xs:schema>
In the messagemapping I only see element Envelope? The elements of ebHeader.xsd and CatalogueRequest.xsd are not shown.
Sombody any suggestions?
Thanks
Ron
Hi Ron,
I am not sure about the question you have.
Do you want to know why
1. The globally defined elements being defined in ebHeader.xsd and CatalogueRequest.xsd do not appear as External Messages of your main External Definition
or
2. When using External Message Envelope in Message Mapping, why is there no structure beneath the top node?
ad 1) For some technical reason global elements defined in included schemas are not recognized as External Messages of the main schema. You would have to use them as External Messages of the External Definition they are originally defined in.
ad 2) The element Envelope is defined abstract. I assume that the included schemas contain some elements that define the possible structure of this element via the substitutionGroup mechanism of XSD. The substitutionGroup-mechanism is currently not supported by the Integration Builder. This limitation is documented in the Excel sheet on supported XSD and WSDL features which can be found on the SAP marketplace.
Greetings Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you populated the "source" field of the referenced schemas with the exact same string you used in your schemaLocation? i.e. so that when you click on the external references tab, the name of the object you created is populated? If the name column is blank then you have not put a valid reference in.
Cheers
James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check out this Note 863443.
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prakash,
We are already on SP16 for XITOOLS. However, I tried what is described in the note, but it still doesn't work.
I read that the target namespaces is used as the namespace in the Integration Builder. So now I'm going to create a namespace in the repository that is equal to the target namespace in the XSD. Let's see if this works.
Maybe you still have any suggestions?
Ron
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.