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
Former Member
0 Likes

Hi Ken,

I had the same problem, XI not accepting the dtd messages and the <!doctype>.

XI does not fully support every extension in the DTD standard, I had to rewrite the DTD and skip most of the fancy extensions.

<!doctype> is not supported by SAP. I created an java mapping to remove the <!doctype> when receiving the message in XI and wrote also a javamapping to add the <!doctype> when sending the message out of XI. If you are interested in de java code, send me an email and I will send it to you.

Cheers,

Frank

[email protected]

Former Member
0 Likes

Hi Frank,

Yes it would be greatly helpful, 'cos we have been breaking our head on this. My id is [email protected].

Also if we use java mapping at the beginning to remove doctype and add doctype while leaving XI, how do we do that? I would appreciate if you could specify some simple steps for it tool, as I am new to JAVA mapping?

Thanks,

Ken

Former Member
0 Likes

Hi Guys,

Thanks for all the input...I was able to solve the Doctype by doing a XSLT mapping adding Prolog also.Its a combination of both.

-Ken

Former Member
0 Likes

Hi Guys,

We are also trying to map the Purchase order ORDERS05 IDoc to a CXML purchase order. How can we convert the CXML dtd to a schema? Your help is appreciated.

Thanks,

Jay

Genentech SAP XI Team

Former Member
0 Likes

Hi Jay,

The CXML dtd is available in cxml.org and you can use any tool like Altova XMLSpy or Stylus studio to convert to the schema..Once you convert you can import into the repository using external definitions..

Hope it helps..

-Teresa

Former Member
0 Likes

Hi Guys,

Actually, we were able to generate the three xsd files for the cXML.dtd. We need to correlate the files and import them in XI. Let's see what happens.

Thanks,

Jay

Former Member
0 Likes

Thanks Teresa,

Wow - that was a fast response. We will try bringing all of the schemas into XI. At that point can we create a message for the OrderRequest.

Thanks,

Jay

Genentech SAP XI Team

Former Member
0 Likes

Hi Teresa,

I am running into issues correlating the three XSD files generated for the CXML DTD. Do you know how to relate the three files? I tried putting in the following in the first generated cxml xsd file. I am not able to validate the schema:

<xs:include schemaLocation="c:\cxml1.xsd"/>

<xs:include schemaLocation="c:\cxml2.xsd"/>

Thanks,

Jay

Genentech SAP XI Team

Former Member
0 Likes

Hi Jay,

maybe you find the description helpfull I put in

Greetings

Stephan

Former Member
0 Likes

Hi Ken

Could you explain your solution a bit more.

I know that the Prolog works off the Communication Channel but I’m not exactly sure what would go in there. And where exactly does the XSLT mapping come in?

Is it the one Udo Martens listed? How does it get pulled into the system?

Thank You for Any info

Rick