-
1. Re: XML TO dtd
Martien van den Akker Mar 6, 2018 7:11 AM (in response to User508795-OC)1 person found this helpfulInstead of generating a DTD from the XSD, you can generate an XML from the XSD (Jdeveloper can do that, see the new-gallery under XML, given that the project has XML as a feature). Then you can generate a DTD from the xsd.
For instance
- DTDGenerator - A tool to generate XML DTDs
- XML Schema Generator (also outputs to DTD, apparently)
Unfortunately JDeveloper doesn't do DTD's (since in the market we don't do DTD's for ages...).
Regards,
Martien -
2. Re: XML TO dtd
User508795-OC Mar 6, 2018 4:22 PM (in response to User508795-OC)Sorry I need to oracle B2B in sending the response. BPEL is generating the xml in the xsd format. I need to convert that into DTD before transmitting to the TP inside B2B.
-
3. Re: XML TO dtd
Martien van den Akker Mar 6, 2018 6:30 PM (in response to User508795-OC)Hi,
I think I understand. I found this document containing a DTD for the 3A4 Purchase Order Request: https://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwj3o-HtqNjZAhVBElAKHd50CaEQFggnMAA&url=https%3A…
Indeed DTD's doesn't support namespaces. XSD's do, one of their advantages.
But maybe your xsd's does have a target namespace, and your transformations too. Maybe you should look into that. You could provide them here.
Regards,
Martien
-
4. Re: XML TO dtd
Dheeraj Kumar M at Accenture Mar 9, 2018 4:03 PM (in response to Martien van den Akker)Hi,
Please have a look at this option present in Oracle B2B - https://docs.oracle.com/cd/E15586_01/integration.1111/e10229/b2b_documents.htm#BABDHJGC
DTD/XSD Namespace Conversion
A converted document can optionally replace the original RosettaNet document. Select Both to replace the RosettaNet document with the converted document for both the inbound and outbound messages. Select Inbound to replace the RosettaNet document with the converted document for the inbound message. Select Outbound to replace the RosettaNet document with the converted document for the outbound message. Select None for no replacement. None passes the DTD instance as-is. Inbound converts the instance DTD to XSD. Outbound converts the instance XSD to DTD. Both convert both inbound and outbound formats.
Regards,
Dheeraj
-
5. Re: XML TO dtd
User508795-OC Mar 13, 2018 1:00 AM (in response to User508795-OC)We resolved this using callout in B2B.
-
6. Re: XML TO dtd
vpulivarthi May 3, 2018 5:47 AM (in response to User508795-OC)Hi User508795-OC,
Can you please update us how you have configured the details and parameters in callout tab.
Regards,
Venkatesh.