cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I have a DTD message in external definitions to be imported into the message mapping. But I am not able to choose the object in the mapping editor. It does not allow even if the message is a valid WSDL. The only time it allows to import into the message editor is when its an XSD.I am not sure why the external definitions in DTD or WSDL formats are not able to be imported or am I missing something??

-Ken

0 Likes
View Entire Topic
p_vanos
Active Participant
0 Likes

Hi Ken,

I have very good experiences using the tool "Stylus Studio Integration Edition". Maybe you can use this tool to generate a correct XSD from your XML files!

Cheers,

Paul

Former Member
0 Likes

Hi Ken,

now it becomes clear to me, why the DTD is not accepted as an External Definition.

Obviously the DTD contains the declaration of an element "ds:Signature".

The use of the symbol ':' indicates that XML namespaces are used.

In fact, the philosophies of DTD and XML namespaces are not compatible. This is the reason, why XI rejects DTDs that try to express namespace information.

XML Spy might be more flexible and try to convert the DTD on a heuristic base.

So if you convert the DTD to an XSD (e.g. with help of XML Spy) and then upload the XSD(s) as External Definitions, which problems do you encounter?

Greetings

Stephan

Former Member
0 Likes

Hi,

A conversion of the downloaded cXML DTD into XSD by using XMLSPY yields 3 XSD files. Using the initial XSD(which has the major fields) yields the same error(i.e cannot create messages or valid WSDL) in external definitions.

I also tried using one of the standard xml's from the cXML site and the funny part was XMLSPY validated them without errors and while importing them directly into the mapping editor, XI throws an error "XML NOT WELL FORMED". Its so weird.

Former Member
0 Likes

Hi Ken,

according to the XSDs resulting from XMLSpy I have the same question as for the DTDs:

If you load them up as External Definitions, choose the right Category and change to the WSDL-tab, what do you see?

Does it only say that it was not able to convert the imported file to WSDL or is there some more specific error message?

According to the XML document that the Mapping Tool considers not to be well-formed. Is there a more specific error message?

Can you describe in detail how to get this document from the web, such that I can test it myself?

Greetings

Stephan

Former Member
0 Likes

I think by now this must have been resolved.

But i am adding my comments to it about we could resolve the XML NOT WELL FORMED message.

Replace the XML with cXML and hit on the Recheck button in the XMLSPY and Convert it to XSD Schema, this will generate 3 XSD files which can be used in XI.

hope this helps.