+ Start a Discussion

Invalid element in com.sforce.soap._2005. _09.outbound.AccountNotification

I created a Workflow Rule and associated a Outbound message to this Rule. This was done for the Account Object. Now when I update a Account, it generates an Outbound Message, but I see the following error next to the Message Id in the Outbound queue.
org.xml.sax.SAXException: Invalid element in com.sforce.soap._2005._09.outbound.AccountNotification - AccountNumber
What could I be doing wrong here? Any help in getting this resolved would be much appreciated.
Thanks in advance.

Message Edited by Kingsley on 02-26-2007 11:03 AM

That's an error your service is returning to us when we send the message. Likely you need to re-import the WSDL (did you add accountNumber to the OM definition after you imported the WSDL ?)

1. I generated the WSDL from the Outbould Message scree and did the following:

2. Ran WSDL2Java on the WSDL above generated WSDL.

3. i put in implementation in the NotificationBinding Impl file

4. Deployed the service using the generated WSDD file

I can see the service in Tomcat AXIS folder

However I have get the Invalid Element error when I update any account.

Am I supposed to use this WSDL or the Partner WSDL file. Please advise.


Thanks in advance for your help.

I am facing a similar issue. How did you resolve this issue?