Article ID: 117793, created on Oct 8, 2013, last review on Oct 8, 2013

  • Applies to:
  • Business Automation 5.5

Symptoms

PlanResourceListGet_API method with empty StatusList finishes with an error:

<methodResponse><fault><value><struct><member><name>faultCode</name><value><i4>-32600</i4></value></member><member><name>faultString</name><value><string>Server error. XML-RPC violation: /methodCall/params/param/value/struct/member/value/array/data/value[1]/i4</string></value></member></struct></value></fault></methodResponse>

Cause

The value type <i4></i4> is set to an empty StatusList parameter.

Resolution

Remove <i4></i4> from the StatusList:

<?xml version="1.0" encoding="UTF-8" ?>
<methodCall>
 <methodName>Execute</methodName>
 <params>
  <param>
   <value>
    <struct>
     <member>
      <name>Server</name>
      <value>BM</value>
     </member>
     <member>
      <name>Method</name>
      <value>PlanResourceListGet_API</value>
     </member>
     <member>
      <name>Params</name>
      <value>
       <array>
        <data>
         <value><i4>3</i4></value>
         <value><i4>1</i4></value>
         <value></value>    <---------------
         <value><i4>1</i4></value>
        </data>
       </array>
      </value>
     </member>
    </struct>
   </value>
  </param>
 </params>
</methodCall>

The documentation will be updated with one of the upcoming PBA-E 5.5 updates.

Search Words

PlanResourceListGet_API

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 801221f8cd76fba7300d1e6817c8e08b 92711db0799e8aefe8e51f12dace0496 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF