Getting error trying to insert a Lead... SBL-EAI-04316
Hi,
I've insert leads succesfully till now. I've been receiving this error:
Error al procesar el argumento urn:/crmondemand/xml/lead:ListOfLead para la operaci??n LeadInsert(SBL-EAI-04316)
Here's my code:
private Lead1 InsertLead(Session mySession, clientePotencial cpo)
try
// instanciamos el servicio proxy
SiebelOnDemand.LeadWS.Lead proxy = new SiebelOnDemand.LeadWS.Lead();
// obtenemos URL de acceso
proxy.Url = mySession.GetURL();
proxy.CookieContainer = mySession.GetCookieContainer();
LeadWS_LeadInsert_Input input = new LeadWS_LeadInsert_Input();
input.ListOfLead = new Lead1[1];
input.ListOfLead[0] = new Lead1();
input.ListOfLead[0].ExternalSystemId = cpo.cpo_autoID.ToString();
input.ListOfLead[0].LeadLastName = cpo.cpo_nif;
input.ListOfLead[0].LeadFirstName = cpo.LeadFirstName;
input.ListOfLead[0].StreetAddress = cpo.cpo_billing;
input.ListOfLead[0].Company = cpo.cpo_businessName;
input.ListOfLead[0].PrimaryPhone = cpo.cpo_primaryPhone.ToString();
input.ListOfLead[0].NumberEmployees = cpo.cpo_employeesNumber.ToString();
input.ListOfLead[0].cpo_regime = cpo.cpo_regime;
input.ListOfLead[0].cpo_cnae = cpo.cpo_cnae.ToString();
input.ListOfLead[0].cpo_cnaeDescription = cpo.cpo_cnaeDescription;
input.ListOfLead[0].cpo_atInstallments = cpo.cpo_atInstallments.ToString();
input.ListOfLead[0].cpo_atProfit_percent = cpo.cpo_atProfit_percent.ToString();
input.ListOfLead[0].cpo_atProfit = cpo.cpo_atProfit.ToString();
input.ListOfLead[0].cpo_management = cpo.cpo_management;
input.ListOfLead[0].cpo_source = cpo.cpo_source;
input.ListOfLead[0].Country = cpo.Country;
input.ListOfLead[0].City = cpo.cpo_municipality;
input.ListOfLead[0].ZipCode = cpo.cpo_zipCode;
input.ListOfLead[0].Province = cpo.cpo_province;
input.ListOfLead[0].Source = cpo.Source;
input.ListOfLead[0].LeadOwner = cpo.LeadOwner;
input.ListOfLead[0].ReassignLeadOwner = cpo.ReassignLeadOwner;
input.ListOfLead[0].cpo_lastComercialManager = cpo.cpo_lastComercialManager;
input.ListOfLead[0].cpo_added = "N";
//llamada al método de inserción de Leads del Web Service
LeadWS_LeadInsert_Output output = null;
output = proxy.LeadInsert(input); <- I get the error here...
return output.ListOfLead[0];
I don't know how can I resolve it!
Please some help would be apreciated!
Thanks in advance,
Noël
Look for error details in the exception, there should be more information there.
Similar Messages
-
Insert Opportunity - Product Revenue Child using WS2 - SBL-EAI-04316 error
Hello,
I´ve got the following error message trying to insert a product revenue child object to opportunity using WS2.
Fehler beim Übertragen der Daten ins CRM on Demand!
Tue Apr 26 08:06:21 CEST 2011 :: Fehler bei der Verarbeitung von Argument (Error while processing argument) urn:/crmondemand/xml/Opportunity/Data:ListOfOpportunity für Operation OpportunityInsert(SBL-EAI-04316) :: Error at thread 27334345
Using SOAPUI the insert are successful.
<soapenv:Body>
<ns:OpportunityInsert_Input>
<data:ListOfOpportunity lastpage="" recordcount="">
<data:Opportunity operation="">
<data:ExternalSystemId>0010110107664043232</data:ExternalSystemId>
<data:ListOfProductRevenue lastpage="" recordcount="">
<data:ProductRevenue operation="">
<data:Id></data:Id>
<data:CurrencyCode>EUR</data:CurrencyCode>
<data:StartCloseDate>00:00:00</data:StartCloseDate>
<data:OpportunityName>4043232</data:OpportunityName>
<data:AccountName></data:AccountName>
<data:stpvstums010>ÖLSERVICE ALL INKL. 5W-40</data:stpvstums010>
<data:PurchasePrice>4960</data:PurchasePrice>
<data:ProductName>Filter/Oel</data:ProductName>
<data:ProductPartNumber>09XXXX</data:ProductPartNumber>
<data:OpportunityExternalSystemId>0010110107664043232</data:OpportunityExternalSystemId>
<data:ipvzahlums002>100</data:ipvzahlums002>
<data:ipvzahlums001>1</data:ipvzahlums001>
<data:ExternalSystemId>0010110107664043232001</data:ExternalSystemId>
<data:cpvwhrums002>0</data:cpvwhrums002>
<data:cpvwhrums003>4960</data:cpvwhrums003>
</data:ProductRevenue>
</data:ListOfProductRevenue>
</data:Opportunity>
</data:ListOfOpportunity>
<ns:Echo></ns:Echo>
</ns:OpportunityInsert_Input>
</soapenv:Body>
</soapenv:Envelope>
Trying to insert the child via webservice 2.0 the request fails (see error message above)
I'm running out of ideas because I'm using the same values with the webservice request.
thx in advance
kind regards
KlausHello,
I've solved the problem. It seems to be that the axis framwork has some problems to handle the complex structure of the opportunity object respectively the containing array structures (Lists). We rebuild the webservice client after deleting the unnecessary elements from the opportunity wsdl file. Doing so the webservice client works as expected. Be careful to not delete required fields which are necessary for the response message, e.g.:
- ModifiedBy+
- ModifiedByID+
- ModifiedDate+
- CreatedBy+
- CreatedByID+
- CreatedDate+
- ModId+
- Id+
I`m sure that this cannot be the preferred way to solve the problem - but it works for me.
regards
Klaus -
having problems installing itunes on computer so I can sysc with iphone. had to download only then installed itunes. getting error trying to install AppleMobileDevice64.
(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
(2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any Apple Mobile Device Support entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
When I try to update my iPad 3 4g to iOS 5.1.1, i keep getting error trying to find software update, I've tried several things already, but nothing seems to work.
Perhaps, iTunes can't communicate with the Apple uodate servers. Temporarily disabling your firewall and antivirus software would help. Take a look at this.
Error 3194, Error 17, or "This device isn't eligible for the requested build" - Apple Support -
Get SBL-EAI-04316 error when query asset page
When using web serives to query asset object, get SBL-EAI-04316 error. Error while processing argument urn:/crmondemand/xml/asset:ListOfAsset for operation AssetQueryPage(SBL-EAI-04316).
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Error while processing argument urn:/crmondemand/xml/asset:ListOfAsset for operation AssetQueryPage(SBL-EAI-04316)
faultActor:
faultNode:
faultDetail:
{http://www.siebel.com/ws/fault}errorstack:<siebelf:error><siebelf:errorsymbol/><siebelf:errormsg>Error while processing argument urn:/crmondemand/xml/asset:ListOfAsset for operation AssetQueryPage(SBL-EAI-04316)</siebelf:errormsg></siebelf:error><siebelf:error><siebelf:errorsymbol>IDS_XMLCNV_ERR_CMPINSTTAG</siebelf:errorsymbol><siebelf:errormsg>Error in XML document: expecting component instance tag Asset, found AssetId(SBL-EAI-04423)</siebelf:errormsg></siebelf:error>
Error while processing argument urn:/crmondemand/xml/asset:ListOfAsset for operation AssetQueryPage(SBL-EAI-04316)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at crmondemand.Default_BindingStub.assetQueryPage(Default_BindingStub.java:445)
at crmondemand.AssetHelper.queryAssets(AssetHelper.java:62)
at crmondemand.AssetExport.main(AssetExport.java:77) -
Can anyone help me out with this error...
I want to get the data from Siebel and i am using ListOfContact ... Please let me know the Input Parameter tooo.
Thanks in advance..
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Error while processing argument urn:/crmondemand/xml/contact:ListOfContact for operation ContactQueryPage(SBL-EAI-04316)
faultActor:
faultNode:
faultDetail:
{http://www.siebel.com/ws/fault}errorstack:<siebelf:error><siebelf:errorsymbol/><siebelf:errormsg>Error while processing argument urn:/crmondemand/xml/contact:ListOfContact for operation ContactQueryPage(AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Error while processing argument urn:/crmondemand/xml/contact:ListOfContact for operation ContactQueryPage(SBL-EAI-04316)
faultActor:
faultNode:
faultDetail:
{http://www.siebel.com/ws/fault}errorstack:<siebelf:error><siebelf:errorsymbol/><siebelf:errormsg>Error while processing argument urn:/crmondemand/xml/contact:ListOfContact for operation ContactQueryPage(SBL-EAI-04316)</siebelf:errormsg></siebelf:error><siebelf:error><siebelf:errorsymbol>IDS_XMLCNV_ERR_CMPINSTTAG</siebelf:errorsymbol><siebelf:errormsg>Error in XML document: expecting component instance tag Contact, found AccountId(SBL-EAI-04423)</siebelf:errormsg></siebelf:error>
Error while processing argument urn:/crmondemand/xml/contact:ListOfContact for operation ContactQueryPage(SBL-EAI-04316)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:569)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:853)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:643)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:3003)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:931)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1147)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:988)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1448)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1158)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at crmondemand.Default_BindingStub.contactQueryPage(Default_BindingStub.java:811)
at WSClient.callWSDL2JavaService(WSClient.java:87)
at WSClient.main(WSClient.java:29)
Exception in thread "main" )</siebelf:errormsg></siebelf:error><siebelf:error><siebelf:errorsymbol>IDS_XMLCNV_ERR_CMPINSTTAG</siebelf:errorsymbol><siebelf:errormsg>Error in XML document: expecting component instance tag Contact, found AccountId(SBL-EAI-04423)</siebelf:errormsg></siebelf:error>
Error while processing argument urn:/crmondemand/xml/contact:ListOfContact for operation ContactQueryPage(SBL-EAI-04316)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:569)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:853)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:643)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:3003)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:931)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1147)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:988)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1448)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:525)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1158)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at crmondemand.Default_BindingStub.contactQueryPage(Default_BindingStub.java:811)
at WSClient.callWSDL2JavaService(WSClient.java:87)
at WSClient.main(WSClient.java:29)
Exception in thread "main"Hi Stephan,
thank you for your help. I have solved the problem to consume from JavaScript, but I am trying to do a simple update from JDeveloper 10g and I can't do it. The login and logoff works, but anymore operation.
My source code is the following:
public static void main(String[] args) {
try {
account_ws2realmenteesws1.proxy.DefaultClient myPort = new account_ws2realmenteesws1.proxy.DefaultClient();
System.out.println("calling " + myPort.getEndpoint());
// LOGIN
String idSesionFull=Conexion_WS.logon("https://secure-ausomxhka.crmondemand.com/Services/Integration","COMPANY/USERNAME","PASSWORD");
idSesion = Conexion_WS.getSessionId(idSesionFull);
// UPDATE
Account[] cuentas = new Account[1];
cuentas[0] = new Account();
cuentas[0].setAccountName("TEST FROM JDEVELOPER - WS");
cuentas[0].setAccountId("AHKA-23T7PS");
myPort.accountUpdate(cuentas, "Off");
// LOGOFF
System.out.println("desconexión...");
Conexion_WS.logoff("https://secure-ausomxhka.crmondemand.com/Services/Integration", idSesion);
} catch (Exception ex) {
// LOGOFF
System.out.println("desconexión...");
Conexion_WS.logoff("https://secure-ausomxhka.crmondemand.com/Services/Integration", idSesion);
ex.printStackTrace();
Thank you in advance and regards. -
Hi,
I have tried to consume CRM OD's WebServices from JavaScript, but I have the following problems/doubts:
*1) How can I obtain the entity’s (for example, Opportunity) ID from the URL?*
I have defined the following URL to access to the report:
https://secure-ausomxhka.crmondemand.com/OnDemand/user/ReportIFrameView?SAWDetailViewURL=saw.dll?Go%26Path%3D%252fshared%252fCompany_AHKA-JB4UI_Shared_Folder%252fIngresosProductoOportunidad&AnalyticReportName=IngresosProductoOportunidad&Action=Prompt&p0=1&p1=eq&p2=Opportunity.”Opportunity ID”&p3=%%%Id%%%
I would like to have the value of p3 parameter, so:
var opportunityID=$_GET("p3"); -->
function $_GET(name){
e = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null ){
return "";
}else{
return results[1];
But it doesn’t return the value, because with window.location.href I have seen:
https://secure-ausomxhka.crmondemand.com/OnDemand/user/ReportIFrameView?SAWDetailViewURL=saw.dll?Go%26Path%3D%252fshared%252fCompany_AHKA-JB4UI_Shared_Folder%252fIngresosProductoOportunidad&Options=rdf&Action=Prompt
Instead of my full URL…
*2) After login, I would like to do a QueryPage operation, but it returned SBL-EAI-04316:*
My request message:
var idOp = 'AHKA-180KYE';
var soap_xml='<?xml version="1.0" encoding="UTF-8" standalone="no" ?>'
+'<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"'
+' xmlns:ns="urn:crmondemand/ws/ecbs/opportunity/10/2004" '
+' xmlns:cam="urn:/crmondemand/xml/Opportunity/Data">'
+' <soapenv:Body>'
+' <ns:OpportunityQueryPage_Input>'
+' <cam:ListOfProductRevenue>'
+' <cam:ProductRevenue>'
+' <cam:OpportunityId>'+idOp+'<\/cam:OpportunityId>'
+' <\/cam:ProductRevenue>'
+' <\/cam:ListOfProductRevenue>'
+' <\/ns:OpportunityQueryPage_Input>'
+' <\/soapenv:Body>'
+'<\/soapenv:Envelope>'
And the response message is:
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Error al procesar el argumento urn:/crmondemand/xml/Opportunity/Data:ListOfOpportunity para la operación OpportunityQueryPage(SBL-EAI-04316)</faultstring><detail><siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault"><siebelf:logfilename>OnDemandServicesObjMgr_enu_210602.log</siebelf:logfilename><siebelf:errorstack><siebelf:error><siebelf:errorcode>(SBL-EAI-04316)</siebelf:errorcode><siebelf:errorsymbol></siebelf:errorsymbol><siebelf:errormsg>Error al procesar el argumento urn:/crmondemand/xml/Opportunity/Data:ListOfOpportunity para la operación OpportunityQueryPage(SBL-EAI-04316)</siebelf:errormsg></siebelf:error><siebelf:error><siebelf:errorcode>*(SBL-EAI-04127)*</siebelf:errorcode><siebelf:errorsymbol>IDS_EAI_ERR_INTOBJHIER_ELEM_UNKN</siebelf:errorsymbol><siebelf:errormsg>No se ha encontrado ningún elemento con código XML 'OpportunityId' en la definición del componente de integración EAI 'Opportunity'(SBL-EAI-04127)</siebelf:errormsg></siebelf:error></siebelf:errorstack></siebelf:siebdetail></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
What is wrong in request message¿?
Thanks in advance and regards.Hi Stephan,
thank you for your help. I have solved the problem to consume from JavaScript, but I am trying to do a simple update from JDeveloper 10g and I can't do it. The login and logoff works, but anymore operation.
My source code is the following:
public static void main(String[] args) {
try {
account_ws2realmenteesws1.proxy.DefaultClient myPort = new account_ws2realmenteesws1.proxy.DefaultClient();
System.out.println("calling " + myPort.getEndpoint());
// LOGIN
String idSesionFull=Conexion_WS.logon("https://secure-ausomxhka.crmondemand.com/Services/Integration","COMPANY/USERNAME","PASSWORD");
idSesion = Conexion_WS.getSessionId(idSesionFull);
// UPDATE
Account[] cuentas = new Account[1];
cuentas[0] = new Account();
cuentas[0].setAccountName("TEST FROM JDEVELOPER - WS");
cuentas[0].setAccountId("AHKA-23T7PS");
myPort.accountUpdate(cuentas, "Off");
// LOGOFF
System.out.println("desconexión...");
Conexion_WS.logoff("https://secure-ausomxhka.crmondemand.com/Services/Integration", idSesion);
} catch (Exception ex) {
// LOGOFF
System.out.println("desconexión...");
Conexion_WS.logoff("https://secure-ausomxhka.crmondemand.com/Services/Integration", idSesion);
ex.printStackTrace();
Thank you in advance and regards. -
Getting error ORA-01401: inserted value too large for column
Hello ,
I have Configured the scenario IDOC to JDBC .In the SXMB_MONI am getting the succes message .But in the Adapter Monitor am getting the error message as
ORA-01401: inserted value too large for column and the entries also not inserted in to the table.I hope this is because of the date format only.In Oracle table date field has defined in the format of '01-JAN-2005'.I am also passing the date field in the same format only for INVOICE_DATE and INVOICE_DUE_DATE.Please see the target structure .
<?xml version="1.0" encoding="UTF-8" ?>
- <ns:INVOICE_INFO_MT xmlns:ns="http://sap.com/xi/InvoiceIDoc_Test">
- <Statement>
- <INVOICE_INFO action="INSERT">
- <access>
<INVOICE_ID>0090000303</INVOICE_ID>
<INVOICE_DATE>01-Dec-2005</INVOICE_DATE>
<INVOICE_DUE_DATE>01-Jan-2005</INVOICE_DUE_DATE>
<ORDER_ID>0000000000011852</ORDER_ID>
<ORDER_LINE_NUM>000010</ORDER_LINE_NUM>
<INVOICE_TYPE>LR</INVOICE_TYPE>
<INVOICE_ORGINAL_AMT>10000</INVOICE_ORGINAL_AMT>
<INVOICE_OUTSTANDING_AMT>1000</INVOICE_OUTSTANDING_AMT>
<INTERNAL_USE_FLG>X</INTERNAL_USE_FLG>
<BILLTO>0004000012</BILLTO>
<SHIPTO>40000006</SHIPTO>
<STATUS_ID>O</STATUS_ID>
</access>
</INVOICE_INFO>
</Statement>
</ns:INVOICE_INFO_MT>
Please let me know what are all the possible solution to fix the error and to insert the entries in the table.
Thanks in Advance!Hi muthu,
// inserted value too large for column
When your oracle insertion throws this error, it implies that some value that you are trying to insert into the table is larger than the allocated size.
Just check the format of your table and the respective size of each field on your oracle cleint by using the command,
DESCRIBE <tablename> .
and then verify it with the input. I dont think the problem is with the DATE format because if it is not a valid date format, you would have got on error like
String Literal does not match type
Hope this helps,
Regards,
Bhavesh -
Getting error msg while inserting a record
HI
Am getting error msg while am inserting a new record. Am unable to view the data that i inserted in to database. If any one can help in sorting of the problem plz help. I used the following code in Application Module(AM) and Controller(CO)
processRequest()
-- am.invokeMethod("insertmethod");
processFormRequest()
-- if(pageContext.getParameter("Create")!=null)
-- am.invokeMethod("savemethod");
In AM Code
public void insertmethod()
EOVOImpl vo=getEOVO1();
if(!vo.isPreparedForExecution())
{ vo.executeQuery(); }
Row ro=vo.createRow();
vo.insertRow(ro);
ro.setNewRowState(Row.STATUS_INITIALIZED);
public void savemethod()
{ OADBTransaction oa=getOADBTransaction();
oa.commit(); }
Error
Attribute SummaryFlag in kiInsertAM.kiInsertEOVO1 is requiredHi,
Either on the form you don't have SummaryFlag field or you forgot to map VO attribute i.e. SummaryFlag to that field.
If you don't have SummaryFlag field on form then you need to set it programatically before committing record.
Please check and let us know.
Regards,
Mukesh Uchaniya -
Get error trying to install Unmult on AECC 13.2
When I try to copy or move the Unmult effect into either the AE effects folder or the Common/Plug-ins/7.0/MediaCore folder, I get error code 0x80004005.
I tried using both the 32-bit and 64-bit versions and both gave me the same error code. I have a 64-bit system FWIW.
Suggestions?This is the version I downloaded: Red Giant - Products - Knoll Unmult 1.0, 1.1
If that's not the current version, let me know where I can get the current version
Also, I got it installed just fine on my Mac at home. My issue is on my PC at work. -
RUNTIME ERROR - Trying to INSERT dbtab FROM dynamic itab
Hi guys,
I'm trying to do this
INSERT (l_nametab) FROM TABLE <dynamic_table>.
where:
DATA: l_nametab TYPE TABNAME VALUE 'PA0002'.
FIELD-SYMBOLS: <dynamic_table> TYPE STANDARD TABLE.
DATA: dy_table2 type ref to data.
CREATE DATA dy_table2 TYPE STANDARD TABLE OF (l_nametab).
ASSIGN dy_table2->* TO <dynamic_table>
... but I received this runtime error:
DBIF_RSQL_INTERNAL_ERROR
Internal error when accessing a table.
The current ABAP/4 program terminated due to
an internal error in the database interface.
An internal error in the database interface occurred during access to
the data of table "PA0002 ".
The situation points to an internal error in the SAP software
or to an incorrect status of the respective work process.
For further analysis the SAP system log should be examined
(transaction SM21).
For a precise analysis of the error, you should supply
documents with as many details as possible.
Does anybody know how can it be solved?
I'll really apreciate it.
Thanks and Regards.Hi Max,
How can I upload this data if I'm reading the info from an Input File.
The FM HR_INFOTYPE_OPERATION is useless because the UNAME fild doesn't remain into the record. They really need these field.
The main idea of these program is to read the Input File Line, wich can belong to any infotype.
I'm already reading the Infotype data from the input file and I need to transfer it to the PAXXXX table.
Next, a little explanation of it:
This program is to INSERT DATA INTO HR TABLES...
The FM HR_INFOTYPE_OPERATION is useless in this process...
Only with INSERT dbtab it has to be done!!!
1.- Read HR data from an input file. The data type of the file lines is PRELP.
2.- Get the input file data into an internal table (TYPE PRELP) using the ABAP Method CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD.
3.- Get the DDic. Table Name using CONCATENATE 'PA' wa_file-infty INTO l_nametab.
4.- Get the DDic.Struct.Name using CONCATENATE 'P' wa_file-infty INTO l_nametype.
5.- Assign values with the same code:
FIELD-SYMBOLS: <dyn_table> type standard table,
<dyn_wa>,
<dyn_field>.
FIELD-SYMBOLS: <dyn_table2> type standard table,
<dyn_wa2>,
<dyn_field2>.
DATA: dy_table2 type ref to data,
dy_line2 type ref to data.
DATA: dy_table type ref to data,
dy_line type ref to data,
CREATE DATA dy_table TYPE STANDARD TABLE OF (l_nametype).
ASSIGN dy_table->* TO <dyn_table>.
" Create dynamic work area and assign to FS
CREATE DATA dy_line LIKE LINE OF <dyn_table>.
ASSIGN dy_line->* TO <dyn_wa>.
CREATE DATA dy_table2 TYPE STANDARD TABLE OF (l_nametab).
ASSIGN dy_table2->* TO <dyn_table2>.
" Create dynamic work area and assign to FS
CREATE DATA dy_line2 LIKE LINE OF <dyn_table2>.
ASSIGN dy_line2->* TO <dyn_wa2>.
6.- Convert the Input File Line from PRELP type to PNNNN type with the ABAP method
CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN EXPORTING PRELP = wa_file
IMPORTING PNNNN = <dyn_wa>.
7.- As <dyn_wa2> and <dyn_table2> are of PANNNN Data Type, there is an structure with the MANDT field to be assigned to it:
" Type Definition
TYPES: BEGIN OF type_mandt,
mandt TYPE MANDT,
END OF type_mandt.
" Structure Definition
DATA: wa_mandt TYPE type_mandt.
" Structure value assignation
wa_mandt-mandt = sy-mandt.
8.- Assign corresponding values and INSERT INTO dbtab
MOVE-CORRESPONDING <dyn_wa> TO <dyn_wa2>. "XXXX
MOVE-CORRESPONDING wa_mandt TO <dyn_wa2>.
APPEND <dyn_wa2> TO <dyn_table2>.
INSERT (l_nametab) FROM TABLE <dyn_table2> ACCEPTING DUPLICATE KEYS.
9.- In these code line, the menctioned runtime error appears.
I hope it can be solved...
Thanks and regards... -
Getting error trying to log into iTunes account
When trying to sign in iTunes account on sons iMac I get an unknown error in "red" I now the password works as it is mine and works on all
my other devices. I am able to access the Mac app store with his logon and I am able to access iTunes with my logon on the iMac. The picure below is the message I get. Any help?
Thanks,
FelixError 13, 14, 35 and 50 (or -50)
These errors are typically resolved by performing one or more of the steps listed below:
Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
Put a USB 2.0 hub between the device and the computer.
Try a different Dock Connector or Lightning Connector to USB cable.
Eliminate third-party security software conflicts.
There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. An incorrectly set default packet size can cause this error. Contact the software manufacturer that installed the packet-size modification for assistance. Or, follow this article by Microsoft to reset the packet size back to the default for Windows:How to reset Internet Protocol (TCP/IP).
Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
Try to restore from another known-good computer and network.
iTunes: Specific update-and-restore error messages and advanced troubleshooting -
Getting errors trying to burn a CD Error 4280
Hi,
I hope someone can help me.
I have never had issues before but in the last few days it has been HORRIBLE.
I have brand new CDs to burn to and sometimes I get an error to insert a blank disc(how can it not be it is brand new)
Other times I try to burn a disc and get:
"the attempt to burn a disc failed an unknown error occured(4280)
I have deauthorized and reauthorized my PC. Some of the songs I am burning are ones I loaded from a CD that I had burned one before with NO problems.
I have wasted at least 10 CDs in the last few days trying to get this to work.
I have checked EVERYWHERE for a list of Error Code numbers but I can find it anywhere.
It will check playlist then start to "write" a song and it stops.
ANY help would be appreciated I am seriously losing my mind!!
I made sure I had the latest version of ITunes and upgraded last night.
I was able to burn one this AM and then the next one the errors happened again.
EmilyI have seen a lot of fixes that ask if my drive is
Sony CD-RW/DVD CRX830E model drive
It is not when I did the diagnostic to figure out my drive I get this(and I have tried burning as low as 4X
The last failed audio CD burn had error code 4280(0x000010b8). It happened on drive F: PHILIPS CDD4851 CD-R/RW on CDR media at speed 8X.
Is there ANYONE that can help or at least point me in the correct direction
Thank you -
Getting Error Trying to Use addField Method
I am trying to use automation to add a field to a document but get an error stating Invalid Argument Type..
Here is part of my code:
avDocMM =
CreateObject("AcroExch.PDDoc")
If File(whatDrawingNumber) = .T. Then
ispdffilee = avDocMM.Open(whatDrawingNumber)
If ispdffilee = .T.
jse3MM = avDocMM.GetJSObject
*dfrnopMM = jse3MM.numPages
STORE 50 TO array1(1)
STORE 20 TO array1(2)
STORE 450 TO array1(3)
STORE 0 TO array1(4)
jse4MM = jse3MM.addField("test","text",0,array1)
avDocMM.
Close()Hi Marco,
I guess I need to install XML functions in my DB. Do you think anything else might be the problem?
Here is the table description:
SQL> describe resultstable;
Name Null? Type
TAXON NUMBER(38)
GENOMEID VARCHAR2(30)
REFSEQNA VARCHAR2(40)
CONTIGNAME VARCHAR2(40)
LOCATIONID CHAR(3)
SEQUENCEVERSIONID NUMBER(38)
EXTFEATUREID VARCHAR2(11)
GENEID NUMBER(38)
LEFTEND FLOAT(126)
RIGHTEND FLOAT(126)
STRAND VARCHAR2(30) -
Getting error trying to query db through HS connection
I am trying to set up a new heterogenous services connection to mimic one on a 10gr2 server. I went through all the trouble of setting everything up, including listener and found out I had to use DG4ODBC instead on 11.2 as they had axed the 10.2 program. So here's my configuration:
Platform: Windows 2008 Server 64-bit hosting Oracle 11.2.0.1
Target: Windows 2008 Server hosting SQL Server 2008
ORACLE_HOME: E:\Oracle\product\11.2.0\dbhome_1
odbc set up as SYSTEM DSN, name SQLWEB
ran Dg4odbcConfig.jar file to obtain settings files:
[E:\Oracle\product\11.2.0\dbhome_1\hs\admin\initSQLWEB.ora]
HS_FDS_CONNECT_INFO = SQLWEB
HS_FDS_TRACE_LEVEL=OFF
#HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1[E:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora]
# tnsnames.ora Network Configuration File: E:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
TSA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = TSORACLE1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TSA)
SQLWEB=
(DESCRIPTION =
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.168.212)(port=1523))
(CONNECT_DATA =
(SID = SQLWEB)
(HS=OK)
)(note that 192.168.168.212 is IP for host TSORACLE1)
tnsping:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>tnsping SQLWEB
TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 26-JUL-2
012 12:43:42
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
E:\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.168.21
2)(port=1523)) (CONNECT_DATA = (SID = SQLWEB)) (HS=OK))
OK (0 msec)
C:\Users\Administrator>[E:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora]
# listener.ora Network Configuration File: E:\Oracle\product\11.2.0\grid\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = TSORACLE1)(PORT = 1521))
ADR_BASE_LISTENER = E:\Oracle
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
LISTENER_DYNAMICS =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=TSORACLE1)(PORT=1522))
SID_LIST_LISTENER_DYNAMICS=
(SID_LIST=
(SID_DESC=
(SID_NAME=DYNAMICS)
(ORACLE_HOME=E:\Oracle\product\11.2.0\grid)
(PROGRAM=dg4odbc)
LISTENER_SQLWEB =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=TSORACLE1)(PORT=1523))
SID_LIST_LISTENER_SQLWEB=
(SID_LIST=
(SID_DESC=
(SID_NAME=SQLWEB)
(ORACLE_HOME=E:\Oracle\product\11.2.0\grid)
(PROGRAM=dg4odbc)
LSNRCTL> status LISTENER_SQLWEB
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=TSORACLE1)(PORT=1523))
STATUS of the LISTENER
Alias LISTENER_SQLWEB
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 26-JUL-2012 12:15:26
Uptime 0 days 0 hr. 29 min. 10 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\Oracle\product\11.2.0\dbhome_1\network\admin\listen
er.ora
Listener Log File e:\oracle\diag\tnslsnr\TSORACLE1\listener_sqlweb\alert
\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=TSORACLE1)(PORT=1523)))
Services Summary...
Service "SQLWEB" has 1 instance(s).
Instance "SQLWEB", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfullyI am getting the following error when trying to query from the table:
C:\Users\Administrator>sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Thu Jul 26 12:46:04 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect apps
Enter password:
Connected.
SQL> select * from mancamp_location@sqlweb;
select * from mancamp_location@sqlweb
ERROR at line 1:
ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from SQLWEB
SQL>Any suggestions?So I saw the error just after I posted. My DB_HOME as listed in the Listener is wrong. It's pointing to my ASM home. Fixed that and now connection works! Hurray!
Maybe you are looking for
-
Obrigatoriedade de emissão do CT-e pelas transportadoras
Caros, em Dezembro último, foi publicado no Diário Oficial da União o Ajuste SINIEF 18/2011, que trata do cronograma de obrigatoriedade de emissão do Conhecimento de Transporte eletrônico pelas transportadoras e fornecedores de serviço de frete. http
-
How many users can be managed by 11g running on a MS-Windows?
Hello, we actually run our application (Oracle App server 10 g with forms and reports) in a HPUX-environment. Now we have to upgrade to 11g and to move to another server. The new operating-system will be Solaris or Windows. The Solaris-solution is ob
-
Making the whole po line item as a non editable one (Greyed out)
Hi all can any one please let me know is there is any way we can grey out the whole line item, i mean to say non editable mode. i am working on a user exit where based on certain field entries i have to make the whole line item as an non editable one
-
Regarding a WRT54G: Firmware and trouble with Vista
Hey all, First of all, this is my first post here on this board so please don't have me assassinated if I skipped some board rules/policy. I'm trying to find a solution to my problem a.s.a.p. My first question is: what's up with the firmware versions
-
Not able to assign vendor on SC
Hello Experts, (SRM 5.0; Extended Classic) I'm facing an issue with indicating vendor on shopping card. When I create a shopping card and open tab Sources of Supply / Service Agents, there is only "Preferred Vendor" field active. Above that there is