Bookshelf Home | Contents | Index | PDF |
Oracle Web Services On Demand Troubleshooting Guide > Error Codes: Causes and Solutions > SBL-EAI-04423This error code has the error symbol: IDS_XMLCNV_ERR_CMPINSTTAG Generic Error MessageError in XML document: expecting component instance tag ObjectName1, found ObjectName2 (SBL-EAI-04423). Causes and SolutionsThe Web service request contains an element with an invalid subelement. For example, the <ListOfAccount> element expects the subelement <Account>. However, the request specifies <Contact>. Error MessageError in XML document: expecting component instance tag Contact, found Account (SBL-EAI-04423). Incorrect SOAP RequestIn the following incorrect SOAP request, the <Account> element is not a child element of <ListOfContact>: <?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"> <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> <ContactQueryPage_Input xmlns="urn:crmondemand/ws/ecbs/contact/"> <ListOfContact pagesize="5" startrownum="0" recordcountneeded="true"> Resolving Error SBL-EAI-04423You must check all the input elements and subelements are correct. To resolve error SBL-EAI-04423
Correcting the SOAP RequestTo correct the SOAP request, in the element <ListOfContact>, replace <Account> with the correct child element <Contact>: <?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"> <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> <ContactQueryPage_Input xmlns="urn:crmondemand/ws/ecbs/contact/"> <ListOfContact pagesize="5" startrownum="0" recordcountneeded="true"> |
Oracle Web Services On Demand Troubleshooting Guide | Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |