Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

SOAP => PI => Proxy synchronous scenario with DTD: Disable DTD check?

$
0
0

Hi all,

 

I'm on PI 7.4 AEX and I have a synchronous scenario Sender (SOAP) => PI => ERP (Proxy) where the sender sends an XML containing a DTD like so

<?xml version="1.0" encoding="ISO-8859-1" ?><!DOCTYPE PreisBestandsanfrage SYSTEM "http://www.shkbranchenportal.de/shop/dtd/PreisBestandsanfrage.dtd"><PreisBestandsanfrage>    <Message id="123" sender="123456" receiver="123" passwd="12345" />    <Artikeldaten>        <kndnr>12345</kndnr>        <artnr>2008066</artnr>        <menge>70</menge>        <mengeneinheit>PCE</mengeneinheit>    </Artikeldaten>    <Artikeldaten>        <kndnr>12345</kndnr>        <artnr>2008055</artnr>        <menge>10</menge>        <mengeneinheit>PCE</mengeneinheit>    </Artikeldaten></PreisBestandsanfrage>

I could successully remove the doctype either via Java or via XSL mapping (currently using XSL) but getting the following error in communication channel monitoring when testing the scenario

SOAP: Call failed: com.sap.aii.adapter.xi.routing.RoutingException: Cannot parse message payload to determine operation for receiver determinationjava.net.UnknownHostException: www.shkbranchenportal.de

I suppose PI is trying to get to shkbranchenportal.de in order to verify the incoming XML angainst the purported DTD.

Now I got this resolved by specifying a DNS server at UNIX (OS) level but then SAP PI wants to directly call shkbranchenportal.de host, bypassing the proxy. This is not wanted. We need to have PI use our proxy server for all outgoing traffic. We cannot force the sender to not send the DTD within the XML.

 

My questions about this situation:

  1. Is there any way to tell PI to use our proxy server for accessing the internet on that operation.
    Please be aware that this is a sender SOAP channel and I cannot specify a proxy there (at least not without any module parameters I do not know about).
  2. If we cannot force PI to use our proxy server for that, is there a way to disable the DTD check (for this scenario or globally)

 

Many thanks

Cheers

Jens


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>