cancel
Showing results for 
Search instead for 
Did you mean: 

DTD External definition

Former Member
0 Kudos

Hi Experts,

I am new to SAP PI and creating Proxy <-> Web Services Synchronous scenario.

I have few doubts , can you guys please help me.

I have got the web site details , i tried to  import the below DTD but got the below error:

2 questions:

1) Do I need to edit the DTD before importing to ESR?

2)if DTD starts with <!DOCTYPE html , can I do graphical mapping or this mapping can be only handled by XSLT or JAVA or ABAP?

Regards,

Sarvjeet

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sarvjeet,

why don't you try to convert your DTD into a xsd and then try to import it?

cheers,

Edu

Former Member
0 Kudos

Hi Edu,

Sorry , I thought we can import the dtd file directly as external definition in ESR.

How to convert DTD to XSD?

Do I need to search for any tool to do that?

Regards,

Sarvjeet

Former Member
0 Kudos

hi Sarvjeet,

search for DTD into XSD in google, and give it a try!

cheers,

Edu

Former Member
0 Kudos

HI Edu,

I tried converting dtd to xsd but getting errors.

Do I need to some changes to dtd before coverting in tool?

Regards,

Sarvjeet

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Sarvjeet,

Have you tried checking if the DTD is indeed well-formed? Can you attach it to this thread?

Regards,

Mark

azharshaikh
Active Contributor
0 Kudos

Hi Sarvjeet,

Please check the following for similar issue, if it helps:

Regards,
Azhar

Former Member
0 Kudos

Hi Azhar,

I have checked these threads but haven't got any concrete answer?

Can u please help me with below?

if DTD (!DOCTYPE) can mapping with handled with graphical mapping or do I need to go for other mapping techniques like XSLT , java...

Regards,,
Sarvjeet

Former Member
0 Kudos

Hi Sarvjeet

Why don't you ask for the wsdl of the web service and then import the same using external definition in PI.

Why you are using DTD?

Thanks

Indrajit

Former Member
0 Kudos

Hi Indrajit,

Web service team is not ready to give the wsdl files and asking to check the website directly.

So when I am going to website for e.g enrollment details page in Brower, view source and saving the file as enrollment.dtd.

As file looks like dtd file (screenshot for reference), I tried importing it in ESR as external definition in ESR and getting the error as Incorrect declaration?

Please let me know how should I proceed from here?

Regards,

Sarvjeet