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

SBL-EAI-04471


This error code has no error symbol.

Generic Error Message

BookId '%1' is invalid or User has no required permission to access the specified Book (SBL-EAI-04471).

Causes and Solutions

The Web service user specified in the SOAP request is not associated with the Book specified in the BookName field of the QueryPage request.

Error Message

BookId '1QA2-1VXZNZ' is invalid or User has no required permission to access the specified Book(SBL-EAI-04471).

Incorrect SOAP Request

In the following incorrect SOAP request, the Book, called Book C, specified in the BookName argument is not accessible by the Web Service user that is performing the request:

<?xml version="1.0" encoding="utf-16"?>

<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/">

         <BookName>Book C</BookName>

         <ListOfContact>

            <Contact>

               <ContactFirstName />

               <ContactLastName />

               <ListOfNote>

                  <Note>

                     <Subject />

                  </Note>

               </ListOfNote>

            </Contact>

         </ListOfContact>

      </ContactQueryPage_Input>

   </soap:Body>

</soap:Envelope>

Resolving Error SBL-EAI-04471 Part 1

One possible solution is to check that the Web service user is added to the required book.

To add the user to the book

  1. Log in to Oracle CRM On Demand.
  2. In the upper-right corner of any page, click the Admin global link.
  3. In the User Management and Access Controls section, click the Book Management link.
  4. Click the required Book.
  5. In the Book Users tab, click Add Users to add the user to the Book.
Resolving Error SBL-EAI-04471 Part 2

A second possible solution is to modify the SOAP request to specify a book with which the user is associated.

To list the books assigned to the user and to modify the SOAP request

  1. Log in to Oracle CRM On Demand.
  2. In the upper-right corner of any page, click the Admin global link.
  3. In the User Management and Access Controls section, click the User Management and Access Controls link.
  4. In the User and Group Management section, click the User Management link.
  5. Click the Last Name link for the required user.

    The list of books assigned to the user is displayed in the Assigned Books related applet. For more information on assigning books to users, see Oracle CRM On Demand Online Help.

Correcting the SOAP Request

If you followed the procedure to list the assigned books for a user, then you must perform the correction to the SOAP request as shown in the following example. To correct the SOAP request, replace the book name, Book C, with a correct book name, for example, Book A:

<?xml version="1.0" encoding="utf-16"?>

<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/">

         <BookName>Book A</BookName>

         <ListOfContact>

            <Contact>

               <ContactFirstName />

               <ContactLastName />

               <ListOfNote>

                  <Note>

                     <Subject />

                  </Note>

               </ListOfNote>

            </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.