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

Sending an empty idoc to IDOC adapter without an error

$
0
0

Hi,

 

I have an interface which I query a SOAP web service for new orders and then map the SOAP response to IDocs. The query job will be scheduled so sometimes the SOAP response will have an empty order list. As a result, the IDoc message will be empty too. The XML will look like this:

 

<_-AFS_-ORDERS05></_-AFS_-ORDERS05>

 

This will cause an error in the integration engine:

 

Error: Tag found instead of tag IDOC BEGIN=

 

which is a false alarm. Is there any way for PI not to trigger an error when the IDoc XML is empty?

 

Thanks in advance,

 

Kenny

 



Viewing all articles
Browse latest Browse all 7030

Trending Articles



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