954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

org.xml.sax.SAXException:SimpleDeserializer encountered a child element,which is Not

Hi All,

We are working on ‘Siebel on Demand’ (software as a service) CRM. We are using web service to communicate. We have WSDL files and we generated the code using Axis framework that comes along with Eclipse.
We are able to login and logoff to the CRM through web service. Now we are trying to insert new object data into existing objects. We are currently trying with Lead object, but when we are trying to insert a record through web service the record gets inserted but the API throws following exception at the end:-

SEVERE: Exception:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

Since this is generated code by Axis, I think we need to do some fine tuning in it to handle this exception. If you are a webservice expert or has worked on webservice client code, your help is really appreciated. How could we handle this exception at our end?

If you have any alternative way, please feel free to suggest me. Your inputs would certainly be of great value to us!

yashbhalekar
Newbie Poster
1 post since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You