Article ID: 9272, created on Nov 7, 2010, last review on May 9, 2014

  • Applies to:
  • Business Automation 5.5

Question

Starting from PBA-E 4.4.5 tag <string> appeared in XML API responses, like in the example below:

<array>
  <data>
    <value><i4>175</i4></value>
    <value><string>SO</string></value>
    <value><i4>1000217</i4></value>
  </data>
</array>

In previous versions the same response would look like this:

<array>
  <data>
    <value><i4>175</i4></value>
    <value>SO</value>
    <value><i4>1000217</i4></value>
  </data>
</array>

Is it possible to remove <string> tag from API responses?

Answer

In order to skip tag in XML API replies create the file /usr/local/bm/etc/ssm.conf.d/xmlrpcd.conf on PBA-E core server with the following content:

[environment]
SkipStringTag=1

If the file already exists just add above content to it.

Restart XML RPC server to apply the changes:

# /etc/init.d/pba restart xmlrpcd

Note! Due to bug PBA-55777 above functionality is not available in PBA 5.5.1 - 5.5.4 versions.

Search Words

SkipStringTag

remove

skip

api response

tag

string

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF