Skip to Content
author's profile photo Former Member
Former Member

SFDC Adapter error - Invalid XML structure : too many elements or no elements present

Hi ,

I am sending IDOC to sales force system using SFDC adapter (Reciever) and getting below error in RWB

"Message processing failed. Cause: javax.resource.ResourceException: com.advantco.sfdc.core.conn.SalesForceAdapterException: Invalid XML structure : too many elements or no elements present(Software version: 1.0.8) "


Could you please help me ?


Br

Mohana

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Apr 20, 2015 at 06:23 AM

    Hi Mohana,

    This error is because of wrong XML structure. Please check your sender IDOC XML structure properly.

    This error seems to be because of some XML node which has starting tag but no end tag or vice-versa.

    Thanks,

    Apu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Mohan/Das/Aashish,

      we are planning to get SFDC adapter through Advantco, can oyu give some brief on SFDC Adapter.

      Currently we r using SOAP Adapter for SFDC

      1) Can u explain SFDC Adapter is best for Salesforce Integration?

      2) we can get session ID with out any java code through SFDC Adapter

      3) for this (salesforce) REST adapter we can use instead of SOAP Adapter.

      what is the benefits will get in SFDC Adapter.

      Regards

      Pradeep A

  • Posted on Apr 20, 2015 at 06:34 AM

    Mohan,

    Error is pretty straightforward. Check for below things -

    1. Special Character in IDOC fields

    2. Check if mapping is working correctly, if any and all fields are mapped to corresponding fields.

    Test with IDOC XML putting directly in test tab of message mapping source, and test if mapping is working or not.

    Regards

    Aashish Sinha

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.