Question

Where to change definition of quote marks in IFS XML title?

  • 16 July 2021
  • 0 replies
  • 144 views

Badge +1

Hello,

one of our customer is about to start the EDI (IFS10) and based on first tests we have troubles with IFS XML data. We’ve identified, that different types of quote marks in XML message title is used, when sending the message with or without the SOAP envelope.

See example of DESADV XML message using SOAP, only the double quote marks are used:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body><ORDER_DISPATCH_ADVICE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ifsworld-com:schemas:outbound_distribution_transactions_send_despatch_advise_request">
 <CONTRACT>SPOKA</CONTRACT>

But when we send the DESADV XML message without SOAP Envelope, both types are used and the provider has troubles with such message:
<?xml version='1.0' encoding='UTF-8'?>
<ORDER_DISPATCH_ADVICE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ifsworld-com:schemas:outbound_distribution_transactions_send_despatch_advise_request">

The provider asked us to use just the double ones and not the combination.
The same behaviour was​ identified also in INVOC message, so it should be some common definition somewhere in the IFS code probably.
Could anyone advice, whether exist some way how to set using of just “double quote marks” in all cases?
We prefer to avoid setting the Transformer for substituting the signs in output file or need to send all messages in SOAP if possible.

Many thanks for any idea.
BR Petra ​​​​​​


This topic has been closed for comments