Oracle Web Services On Demand Troubleshooting Guide > Error Codes: Causes and Solutions >

SBL-EAI-04121


This error code has the error symbol: IDS_EAI_ERR_INTOBJHIER_ATTR_UNKN. For more information on error symbols, see Table 4 and SOAP Fault Response Containing the <siebelf:siebdetail> Element.

Generic Error Message

Field with XML tag 'tag' and XML Style of 'Attribute' is not found in the definition of EAI Integration Component 'Element' (SBL-EAI-04121).

Causes and Solutions

An attribute is specified for an element in the Web service request. However, the attribute is not defined in the WSDL for that element.

Error Message

Field with XML tag 'recordcountneeded' and XML Style of 'Attribute' is not found in the definition of EAI Integration Component 'Contact' (SBL-EAI-04121).

Incorrect SOAP Request

In the following incorrect SOAP request, the <Contact> element does not have the attribute, recordcountneeded, defined in the WSDL:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

   <soap:Header>

      <wsse:Security>

         <wsse:UsernameToken>

            <wsse:Username>%%%USERNAME%%%</wsse:Username>

            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">%%%PASSWORD%%%</wsse:Password>

         </wsse:UsernameToken>

      </wsse:Security>

   </soap:Header>

   <soap:Body>

      <ContactQueryPage_Input xmlns="urn:crmondemand/ws/ecbs/contact/">

         <ListOfContact pagesize="5" startrownum="0">

            <Contact recordcountneeded="true">

               <ContactFirstName />

               <ContactType />

            </Contact>

         </ListOfContact>

      </ContactQueryPage_Input>

   </soap:Body>

</soap:Envelope>

Resolving Error SBL-EAI-04121

To resolve this error, you must check that all the attributes are located in the correct element.

To resolve error SBL-EAI-04121

  1. Log in to Oracle CRM On Demand and download a relevant WSDL.
  2. Compare your Web service request with the WSDL to ensure that all the attributes are placed in the correct element as shown in the WSDL.
  3. Remove any attributes that are not defined in the WSDL for each element.
Correcting the SOAP Request

To correct the SOAP request, move the recordcountneeded attribute to the appropriate location (<ListOfContact> element):

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

   <soap:Header>

      <wsse:Security>

         <wsse:UsernameToken>

            <wsse:Username>%%%USERNAME%%%</wsse:Username>

            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">%%%PASSWORD%%%</wsse:Password>

         </wsse:UsernameToken>

      </wsse:Security>

   </soap:Header>

   <soap:Body>

      <ContactQueryPage_Input xmlns="urn:crmondemand/ws/ecbs/contact/">

         <ListOfContact pagesize="5" startrownum="0" recordcountneeded="true">

            <Contact>

               <ContactFirstName />

               <ContactType />

            </Contact>

         </ListOfContact>

      </ContactQueryPage_Input>

   </soap:Body>

</soap:Envelope>

Oracle Web Services On Demand Troubleshooting Guide Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.