I am trying to insert a contact in crmod

Crmod crmod = new Crmod();
     System.out.println("Loggin In");
     jsessionid_full = crmod.logon("https://secure-vmsomxmla.crmondemand.com/Services/Integration", "userid", "pass");
     jsessionid = getSessionId(jsessionid_full);
     System.out.println(jsessionid);
     endpoint ="https://secure-vmsomxmla.crmondemand.com/Services/Integration" + ";jsessionid=" + jsessionid;
     URL urlAddr = new java.net.URL(endpoint);
     crmondemand.Contact service = new crmondemand.ContactLocator();
     crmondemand.Default_Binding_Contact stub = service.getDefault(urlAddr);
     crmondemand.ContactWS_ContactInsert_Input contactlist = new crmondemand.ContactWS_ContactInsert_Input();
     crmondemand.ContactWS_ContactInsert_Output outlist = new crmondemand.ContactWS_ContactInsert_Output();
     crmod.Contact[] contacts = new crmod.Contact[1];
     crmod.Contact contact = new crmod.Contact();
     contact.setContactFirstName("Chakravarthi");
     contact.setContactLastName("Elchuri");
     contact.setExternalSystemId("1234");
     contact.setAccountName("Nebulogic");
     contact.setWorkPhone("9908066708");
     contact.setOwner("Chakravarthi Elchuri");
     contacts[0] = contact;
     contactlist.setListOfContact(contacts);
     contactlist.setEcho("off"); // Don’t forget this line, as the Web service call would fail!
     stub.contactInsert(contactlist);
     crmod.Contact[] results = new crmod.Contact[1];
     crmod.Contact result = new crmod.Contact();
     results = outlist.getListOfContact();
     result = results[0];
     System.out.println(result.getContactId());
     crmod.logoff("https://secure-vmsomxmla.crmondemand.com/Services/Integration", jsessionid_full);
     System.out.println("Loggin Out");
Error==============
Error while processing argument urn:/crmondemand/xml/contact:ListOfContact for operation ContactInsert(SBL-EAI-04316)
i am trying to insert a contact in crmod
i am using Eclips and crmod webservice 1.0 contact

Possible workaround: Take a picture of something black, insert it and set the delay time to what ever you need.
iMovie is very confined to what they will and will not allow you to do, however usually there is workaround, usually not pretty.

Similar Messages

  • Mail freezes when trying to insert large contact group

    I am trying to send an email blast to a large number of clients (roughly 1,200), but every time I try to input the name of the group Mail freezes and nothing happens. I have gotten so far as the name of the group appearing and being able to click send, but it always freezes and never send the mail. Is my contact group too large? That is the only thing I can think of, I am using the newest model 15 inch mbp with 16gb RAM so I have a hard time believing its the computer itself.

    Found the resolution to this, my gmail was limiting how many contacts I send an individual email out to... nothing to do with Mail really.

  • Tried to insert a small (3") CD in MacBook Pro. It wouldn't mount and can't eject it. Solutions?

    Tried to insert a small (3") CD in MacBook Pro. It wouldn't mount and can't eject it. Solutions?

    Might be good to shut down.
    Try shaking the devil out of it or  I would take it to an Apple Retail Store or an Apple Authorized Service Provider  (AASP) for evaluation, or call your nearest Apple Contact Center. Visit the Genius Bar at the Apple Retail Store,  make a reservation.
    https://discussions.apple.com/message/15199134#15199134

  • Trying To Insert XML String Greater Than 4000 Characters in PHP Fails

    Dear Sir,
    Subject:-Trying To Insert XML String Greater Than 4000 Characters in PHP Fails ORA-01704.
    In an attempt to design web app in PHP and inserting data into "CLOB" field of "articles" table associated with it, returning ORA-01704: string literal too long error.
    Platform: OEL5
    Database 11g(11.0.7.0)
    php : 5.2
    I refer to oracle document ID: [ID 336888.1] it is asking to contact support.
    Please help us in this regards.
    Many Thanks,
    mkyazdani

    Hi,
    I appreciate you, yes it is similar i have referred that manual and also inform to our php developer about the changes we need to make in our php script.
    Regards,
    mkyazdani

  • Am trying to insert new cartridge in Image Class D530. Toner cover will not close after insertion?.

    I am trying to insert new toner cartridge in Image Class D530 laser printer.  After insertion of cartridge, correctly I think, the toner cover will not close. What am I doing wrong?

    Hi Sparrow.
    What is the model number of the toner cartridge that you are experiencing issues with?  The imageCLASS D530 supports the Canon Cartridge 128.
    Please follow the instructions below to insert the toner cartridge.  Ensure that both sides are level as you are inserting the cartridge in the machine:
    1.  Verify that the orange tabs and sealing tape have been removed.
    2.  Insert the toner cartridge.
    Fit the protrusions (A) on each side of the toner cartridge into the guides located on each side of the machine. Slide the toner cartridge into the machine, until the toner cartridge meets the back of the machine.
    I hope this information is helpful to you.  Should you need further assistance, please contact us at 1-800-OK-CANON (1-800-652-2666).
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Trying to use the contact widget inside muse

    Hi,
    I am building a site and require a contact form for feedback etc and I am trying to use the contact form that comes with muse. All seems ok, ie the form appears correctly on my test website, the recapure text is there to copy, but when I try to submit an email from the form, nothing happens.. I have the BC CAPTURE toggle set true, on the widget, and enter the required text correctly,
    My question is, is it not working because I have a webbasics package given to me as a CC member and I have to upgrade to webbasics+ for this form to work as it needs email and that is only made available to webbasics+ members and above ??
    Thanks
    I had a further thought, just wondering if its because the site isn't yet live and needs to be live for the form to work.... I get "server encounterd an error" message when I press the "submit" button. ???
    More information
    Hmm, just tried with a live site and all I get is Red text saying required, the text is entered as shown, with and without spaces and still nothing happens...

    Hi
    Please provide the site url or page url where the form is inserted.
    Thanks,
    Sanjit

  • Mass insert to contact groups

    Hi All,
    I am trying to create a contact group for sending a mass text message.
    I would like to select mutiple contacts to insert into the group rather than inserting 200+ contacts one at a time, but this does not seem to be an option.
    I have tried to do this on the blackberry, or on Outlook with the idea of transferring the group to the Blackberry, but neither method seems to be viable.
    Any ideas?

    what didn't make sense?
    create a group or several groups or add to those groups in gmail contacts on your home computer & it will sync to the phone.
    have you even tried to add a group in gmail contacts, as described, to see if it really works?
    info is provided of how to do things, what you do/don't do with that info is up to you in terms of resolving problems or learning "how to".

  • I am trying to insert rows for alert_id 22 with diff abc_id and xyz_id

    I am trying to insert rows for alert_id 22 with diff abc_id and xyz_id
    these inserts will store in two tables that I have to join in the cursor.
    I have written cursor without passing cursor parameters. but here i need to pass acb_id and xyz_id along with alert_id.
    then if these are saticified with alert_id 22 then I want to stop the loop run, else i need to continue the loop. bcause the abc_id and xyz_id are diff for alert_id 22
    This is the issue I am facing!
    Please let me know if you have any idea. Let me know how to use cursor parameters here and in loop.
    Sample proc like this::
    Declare
    main_cursor
    another_cur
    alert_cur
    begin
    need to check first abc_id,xyz_id is already exist with alert_id 22
    if this set of records already exists then
    exit from the loop
    else
    continue with
    loop
    here coming the insert statements with different condition getting from first two cursors.(this part is ok for me)
    end loop
    end if
    Please write the logic if any idea on this.
    -LRK

    I want to stop if already alert_id is exist!

  • Fatal Internal Error: "image.cpp", line 13192 when trying to insert a cursor to graph

    NOTE:  This IS a duplicate post from the Breakpoint.  Text slightly changed.  The post in Breakpoint can be deleted.  All comments should be placed in this thread.
    I resolved the "Fatal Internal Error: "image.cpp", line 13192 when trying to insert a cursor to graph", but would like to share to find out if others have seen this and to determine whether this is a bug, or if it's time to redo my PC, or buy a new one..  
    I have an existing graphs (qt 6) which originally had 2 cursors.  This occurred while trying to add the third cursor. 
    Up until attempting to add the last cursor, the program worked great, and I had been running tests for a while.  However, I do recall seeing this problem when creating the original cursors, but not to this extent.  Plus I don't remember the original error message from that time.
    I needed to add one more cursor to the existing graphs.  As soon as I add a new cursor and set it's properties, I get a nasty error message and without warning LV8.2 simply closes itself (well, the only warning was the error message.  Tried it 3 times, same result.
    Here are the steps:
    Shut down the PC, went for a coffee, rebooted the PC.  Opened the LV project, opened the VI.  Immediately went to the graph properties to add the new cursor by doing the following steps: 
    Right click graph indicator icon on block diagram.
    Select Properties.
    Click on cursor tab.
    Click on Add
    Select Cursor 2 (3rd one, newly created)
    Change color
    Select cursor as a line
    Remove checkmark for "show cursor"
    Click OK
    I need to do this to 3 other graphs, same steps.  And as soon as I get to the step before clicking OK, I get the error message. 
    I managed to get an additional one done, by immediately saving after each step (yep going in & out of the properties).  But I've had this problem before when creating the first two cursors.
    Is it a bug?  Anyone else seen this?  Using LV8.2.  And the message is right about LOOSING ALL unsaved work!!!! 
    Here are more observations:
    Tried creating a new one on the second graph.  As soon as I clicked on the color, it crashed!
    See the error explanation below.  It is really clear, now anyone can solve it    LOL!!...  According to the error log, there's a bad image out there  
    .\manager\image.cpp(13192) : DAbort: bad image in ValidateImage
    $Id: //labview/branches/Europa/dev/source/manager/image.cpp#47 $
    0x007A81E8 - LabVIEW <unknown> + 0
    0x007A7BDB - LabVIEW <unknown> + 0
    0x00829D74 - LabVIEW <unknown> + 0
    0x008546CD - LabVIEW <unknown> + 0
    0x00C054E6 - LabVIEW <unknown> + 0
    0x0081B9C8 - LabVIEW <unknown> + 0
    0x0081EB9A - LabVIEW <unknown> + 0
    0x0084D9D4 - LabVIEW <unknown> + 0
    0x00854663 - LabVIEW <unknown> + 0
    0x00C054E6 - LabVIEW <unknown> + 0
    0x0085F7A1 - LabVIEW <unknown> + 0
    0x00BBACDD - LabVIEW <unknown> + 0
    0x00C06A2F - LabVIEW <unknown> + 0
    0x0085AA46 - LabVIEW <unknown> + 0
    0x00C06A2F - LabVIEW <unknown> + 0
    I observed the title bar after making changes to the properties.  I noticed that 3 out of 4 times, while changing the properties of the graphs to include the cursor, and saving after each & every step, that there were no stars appearing on the title bar to indicate "unsaved changes".  Saving was also much slower than usual.  I suspect, the program never got to placing the star before saving occurred.  However, I am noting everything.
    After creating the cursors, saving was and is normal, and the program runs well..   I have run tests without problems.
    Does anyone have a clue at what causes this?   Has anyone seen this before?
    Thanks,
    RayR

    Hi Donovan,
    I can't remember seeing this elsewhere.  When I get a chance, I'll create a new (blank) vi with new graphs and will repeat the steps. 
    I will let you know if I see this in the new vi.
    Thanks!
    RayR

  • Oracle error ORA-01461when trying to insert into an ORACLE BLOB field

    I am getting Oracle error ‘ORA-01461: can bind a LONG value only  for insert into a LONG column' when trying to insert into an ORACLE BLOB field. The error occurs when trying to insert a large BLOB (JPG), but does not occur when inserting a small (<1K) picture BLOB.(JPG). Any ideas?
    BTW, when using a SQL Server datasource using the same code.... everything works with no problems.
    ORACLE version is 11.2.0.1
    The ORACLE datasource is JDBC using Oracle's JDBC driver ojdbc6.jar v11.2.0.1 (I also have tried ojdbc5.jar v11.2.0.1; ojdbc5.jar v11.2.0.4; and ojdbc6.jar v11.2.0.4 with the same error result.)
    Here is my code:
    <cfset file_mime = Lcase(Right(postedXMLRoot.objname.XmlText, 3))>
    <cfif file_mime EQ 'jpg'><cfset file_mime = 'jpeg'></cfif>
    <cfset file_mime = 'data:image/' & file_mime & ';base64,'>
    <cfset image64 = ImageReadBase64("#file_mime##postedXMLRoot.objbase64.XmlText#")>
    <cfset ramfile = "ram://" & postedXMLRoot.objname.XmlText>
    <cfimage action="write" source="#image64#" destination="#ramfile#" overwrite="true">
    <cffile action="readbinary" file="#ramfile#" variable="image_bin">
    <cffile action="delete" file="#ramfile#">
    <cfquery name="InsertImage" datasource="#datasource#">
    INSERT INTO test_images
    image_blob
    SELECT
    <cfqueryparam value="#image_bin#" cfsqltype="CF_SQL_BLOB">
    FROM          dual
    </cfquery>

    Can't you use "alter index <shema.spatial_index_name> rebuild ONLINE" ? Thanks. I could switch to "rebuild ONLINE" and see if that helps. Are there any potential adverse effects going forward, e.g. significantly longer rebuild than not using the ONLINE keyword, etc? Also wondering if spatial index operations (index type = DOMAIN) obey all the typical things you'd expect with "regular" indexes, e.g. B-TREE, etc.

  • Error while trying to Insert a pdf file in database

    Hi All,
    I have sent this problem to Informix. By any chance if you had faced the same problem and found the solution, pls send mail to [email protected]
    Thanks
    Babu
    Hi there,
    I tried to insert a pdf file in to Informix database. I followed the guidelines
    given in the "InformixJDBC Driver
    Programmer's Guide". Actually my program works if i use
    PreparedStatement.setBytes method. But why
    PreparedStatement.setBinaryStream method is not working????.
    Here is the code snippet.....
    Connection conn = null;
    PreparedStatement ps = null;
    try
    File ff = new File("C:\\test.pdf");
    InputStream value = null;
    FileInputStream fileinp = new FileInputStream(ff);
    value = (InputStream) value;
    int len = (int) ff.length();
    System.out.println("len: " + len);
    conn = connect();
    String sql = "INSERT INTO dbep04m@inf10004:pg_wip_t (c_db,n_object,u_img) VALUES (\"2\",?,?)";
    if (conn != null)
    long stTime = System.currentTimeMillis();
    ps = conn.prepareStatement(sql);
    for (int ii=1;ii<=10000;ii++)
    ps.setInt(1,ii);
    ps.setBinaryStream(2,value,len);
    int rtVal = ps.executeUpdate();
    //System.out.println("return value" + rtVal);
    ps.close();
    conn.close();
    long endTime = System.currentTimeMillis();
    System.out.println("Total time taken for this run: " + (endTime-stTime)/(1000) + " seconds");
    catch (FileNotFoundException ex)
    ex.printStackTrace();
    catch (IOException ex)
    ex.printStackTrace();
    catch (SQLException ex)
    ex.printStackTrace();
    finally
    try
    if (ps != null)
    ps.close();
    if (conn != null)
    conn.close();
    catch (SQLException ex)
    ex.printStackTrace();
    I am getting the following error message.......
    java.sql.SQLException: Insufficient Blob data
    at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java)
    at com.informix.jdbc.IfxSqli.sendStreamBlob(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendBlob(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendBind(IfxSqli.java, Compiled Code)
    at com.informix.jdbc.IfxSqli.sendExecute(IfxSqli.java)
    at com.informix.jdbc.IfxSqli.sendCommand(IfxSqli.java)
    at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java)
    at com.informix.jdbc.IfxResultSet.executeUpdate(IfxResultSet.java)
    at com.informix.jdbc.IfxStatement.executeUpdateImpl(IfxStatement.java)
    at com.informix.jdbc.IfxPreparedStatement.executeUpdate(IfxPreparedStatement.java)
    at com.aexp.eaim.iu.isp.testcase.InsertBlob.insertUsingSql(InsertBlob.java, Compiled Code)
    at com.aexp.eaim.iu.isp.testcase.InsertBlob.main(InsertBlob.java:194)
    Here is the example given in the "Informix JDBC Driver Programmer's Guide". In the line maked bold, the blob size was hard coded as 10. Then
    why you are trying to find the file length???.
    try
    stmt = conn.createStatement();
    stmt.executeUpdate("create table tab1(col1 byte)");
    catch ( SQLException e)
    System.out.println("Failed to create table ..." + e.getMessage());
    System.out.println("Trying to insert data using Prepare Statement ...");
    try
    pstmt = conn.prepareStatement("insert into tab1 values (?)");
    catch (SQLException e)
    System.out.println("Failed to Insert into tab:" + e.toString());
    File file = new File("data.dat");
    int fileLength = (int) file.length();
    InputStream value = null;
    FileInputStream fileinp = null;
    int row = 0;
    String str = null;
    int rc = 0;
    ResultSet rs = null;
    System.out.println("Inserting data ...\n");
    try
    fileinp = new FileInputStream(file);
    value = (InputStream)fileinp;
    catch (Exception e) {}
    try
    pstmt.setBinaryStream(1,value,10); //set 1st column
    catch (SQLException e)
    System.out.println("Unable to set parameter");
    set_execute();
    public static void set_execute()
    try
    pstmt.executeUpdate();
    catch (SQLException e)
    System.out.println("Failed to Insert into tab:" + e.toString());
    e.printStackTrace();
    Best Regards
    Babu

    sorry!!!. There is an error in the code
    old code :
    value = (InputStream) value ;
    should be code :
    value = (InputStream) fileinp;

  • How can I turn off imessage for just one of my contacts? Me and my husband just upgraded (both had iphone 4), I got the iphone 5s and he got he note 3. All my text to him automatically send as a imessage. Ive tried to delete his contact and then went back

    How can I turn off imessage for just one of my contacts? Me and my husband just upgraded (both had iphone 4), I got the iphone 5s and he got he note 3. All my text to him automatically send as a imessage. Ive tried to delete his contact and then went back in and reentered it but that doesnt work.

    Have your husband text the word "stop" to 48369. This should take his number out of the iMessage system.
    Go into your settings under messaging and make sure the box to send as an SMS if iMessage is unavailable is checked.
    Hopefully this will get your messages sending/receiving to each other.

  • Can't find some albums when trying to insert photos into other programs

    I am having trouble finding albums (and thus pictures) when trying to insert photos into a Word document or upload to mySpace/ facebook etc.
    After choosing 'insert<picture<from file<pictures<iPhoto Library' , I have the option of looking into the year-month-date or by album. Since I have a better memory of the 50+ albums I have created rather than their dates, I choose "Albums". This list only contains about half of my albums (with folder icons) and it appears outdated...ie one of the albums no longer exists in iPhoto and has been changed to a folders with several albums in it.
    I'm wondering why this is happening or how i can update the album list. I realize i could use the year-month-day thing but that is too frustrating.
    Carey
    iBook G4   Mac OS X (10.4.3)  
    iBook G4   Mac OS X (10.4.3)  

    Hi chantreya,
    iPhoto 5 now stores the Album information in a data xml file. The Albums folder within the iPhoto Library folder is no longer used. At some point, usually after a rebuild, you will no longer have that folder in the Finder.
    If you need to access photos from an album it is very difficult for a third party application to navigate the iPhoto Library in order to find the photo you need. You will have to know the date of import in order to find the photo.
    There are some third party applications that can read the xml file and can navigate the iPhoto library and show you the Albums. Hopefully more applications will be revised to read this file.
    Until then you will have to Share/Export the photos to the desktop. You can then navigate to the desktop to use the photos (example: web uploading from online photo site)
    If your application supports drag and drop, you can drag the photo from an open iPhoto Library window into your application.
    For email you can also use the email icon within iPhoto to open a message with the highlighted photo attached.
    You can also use spotlight to find images in an Album...
    This is what I have done using Spotlight to find my images that are in iPhoto albums without opening iPhoto..
    In iPhoto, select the album, then select all, go to Photos/batch change.
    Change the comments to text. In the text field I put the name of the Album.
    Do this for each album.
    Close iPhoto.
    Open Spotlight and put in the name of the Album ( you have to remember the names of the albums or have then written down)
    In the spotlight search results. click on "show all"
    Under "Images" click on the "xx more" to show all the images in the album.
    Make sure you have it in icon view, the icon view box is the last one on the blue images line.
    Now you can control click on the image to "reveal in finder", open in iPhoto or Mail, etc.
    I am not sure if this is going to make you happy and it is a little more work, but you can find images in albums and even view them in a slideshow (by clicking the play arrow at the end of the Images highlighted blue line) using Spotlight, all without opening iPhoto.
    One important thing to know is you can set up a graphic program to be an external editor (when you double click an image in the library} such as PhotoShop or PS Elements. You set up that within iPhoto Preferences. Just make sure you save the image flattened and with the same name. The edits will then be relected in iPhoto when you hit "save".
    Two Apple kbs for you to read
    Don't tamper with files in the iPhoto library folder
    About the iPhoto Library folder
    Lori

  • My iPhone was stolen. I just got a new one and am trying to backup my contacts and data from iCloud. How do you do that?

    my iPhone was stolen. I just got a new one and am trying to backup my contacts and data from iCloud. How do you do that?

    If your backup is in iCloud, and your new iPhone is already set up, go to Settings>General>Reset, tap Erase All Content and Settings, then go throught the setup screens on the iPhone and when given the option, choose Restore from iCloud Backup and follow the prompts.  (If it isn't set up yet, just choose this option when setting it up.)
    Be sure your iPhone it connected to wifi and your charger while it is restoring the backup.

  • I was syncing everything to itunes and I tried to do my contacts, not knowing quite how. I ended up erasing all of them from my phone without any of them syncing to my computer or itunes. Is there any way I can get them back? I really need them all.

    I was syncing everything to itunes and I tried to do my contacts, not knowing quite how. I ended up erasing all of them from my phone without any of them syncing to my computer or itunes. Is there any way I can get them back? I really need them all.

    There are lots of ideas floating on the web for this particular issue - all of which I tried. I had the same problem and it turned out to be my USB cable. I thought the cable was fine as it would charge my phone and play but the data transfer pin was bent. I replaced the cable and it fixed the problem. Worth a shot as it is an easy fix!

Maybe you are looking for

  • Material Availability Check for material launched in the future

    This is the requirement; We are launching a product in the future. Lets use August 19th as our launch date This means that on August 19th our material can be goods issued. It cannot be shipped before then. There is no loading time etc. so our GI date

  • IPhoto Export error

    When trying to export files, which have been highlighted individually within an album (as I have done many times before) suddenly won't work. Half way through, as the process bar is ticking away, it comes up with message (above the process bar, and b

  • Dropping objects----Giving me Error.

    Hi All, I am trying to drop table but it gives me below error. SQL> drop TABLE WOTIF_COMMON.ISO_COUNTRY CASCADE CONSTRAINTS; drop TABLE WOTIF_COMMON.ISO_COUNTRY CASCADE CONSTRAINTS ERROR at line 1: ORA-00600: internal error code, arguments: [kqlidp0:

  • Inbound Allow ACL when http headers inspection is true.

    Hello, I have a request to make the following work on an asa 5515 deployment and I'm receiving a lot of conflicting information about how to implement the solution. I have an external provider that requires access to an internal non-ssl webpage. They

  • Safari 4.0.5. problems playing mp3 files.

    Hi, I'm having trouble playing mp3 files on my iWeb created website. When I use Safari (4.0.5) to browse, Safari does not display the player part of the mp3., and on my welcome page, it does not play the music that's set to autoplay. When I use Firef