1 Reply Latest reply: Feb 22, 2012 4:59 PM by user8742475 RSS

    No user key can be used for the Integration Component instance 'Opportunity

    user8742475
      I have an Opportunity ID and I want to delete it. Pretty straight forward. I'm using JAX-RPC and my code as below

      opportunity = new OpportunityData();
      opportunity.setId("ADSA-EFSBP8");

      But I got the below error

      SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [No user key can be used for the Integration Component instance 'Opportunity'.(SBL-EAI-04397)] FaultActor [null] Detail [<detail><siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault"><siebelf:logfilename>siebel.log</siebelf:logfilename><siebelf:errorstack><siebelf:error><siebelf:errorcode>(SBL-EAI-04397)</siebelf:errorcode><siebelf:errorsymbol>IDS_ERR_EAI_SA_NO_USERKEY</siebelf:errorsymbol><siebelf:errormsg>No user key can be used for the Integration Component instance 'Opportunity'.(SBL-EAI-04397)</siebelf:errormsg></siebelf:error></siebelf:errorstack></siebelf:siebdetail></detail>]; nested exception is:
           weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: No user key can be used for the Integration Component instance 'Opportunity'.(SBL-EAI-04397)

      I tried using SoapUI and it worked. Below is the code

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:opp="urn:crmondemand/ws/ecbs/opportunity/" xmlns:data="urn:/crmondemand/xml/Opportunity/Data">
      <soapenv:Header/>
      <soapenv:Body>
      <opp:OpportunityDelete_Input>
      <data:ListOfOpportunity>
      <data:Opportunity>
      <data:Id>ADSA-EFSBP8</data:Id>
      </data:Opportunity>
      </data:ListOfOpportunity>
      </opp:OpportunityDelete_Input>
      </soapenv:Body>
      </soapenv:Envelope>

      Do you have any idea?