Skip to Content
Oct 06, 2016 at 09:26 AM

DTD validation?



I'm trying to control communication channels with a web service.


When I do that without any operation mapping, I see response.

But, I want to control the input and make it generic.This means having an operation mapping in place with a request and response mapping.

When we test, we see response coming back in SAP PO and it looks like this

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE ChannelStatusResult SYSTEM "/AdapterFramework/channelAdmin/ChannelAdmin.dtd">

<ChannelStatusResult xsi:schemaLocation="http://host:port/AdapterFramework/channelAdmin/ChannelAdmin.xsd" xmlns:xsi=""><Channels>

When we test in soapUI, we see this error


<text> Error encountered while executing mapping: Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_CommunicationChannelCheckResponse_; Details:; Failed to load resource from the context classloader of the current thread! Loading from classloader was caused by: D:\AdapterFramework\channelAdmin\ChannelAdmin.dtd (The system cannot find the path specified)

Any ideas? We just use the XSD in the ESR.

Can we skip the DTD validation?

Thanks a lot