You need to sign in to do that
Don't have an account?
Dipti Ambavane
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected
I am getting the above exception (as in the subject line) for outbound message.
Please see the code block below
We are using Businessconnect WSDL , hosted in salesforce:
https://equifax-1498--full.cs17.cloudforce.com/soap/wfoutbound.jsp?aid=04kg00000004DHj&type=Partner
We are calling this notification service in WCF class library in .NET version 4.5
Here is our .Code
public notificationsResponse notifications (notifications notificationsRequest)
{
notificationsResponse response = new notificationsResponse();
response.Ack = true;
return response ;
}
Here is the response , which is returned by Web Method. We don’t want to get < notificationsResult > tag in response.
<notificationsResponse xmlns="http://tempuri.org/">
<notificationsResult>
<Ack xmlns="http://soap.sforce.com/2005/09/outbound">true</Ack>
</notificationsResult>
</notificationsResponse>
Appreciate your quick response.
I am getting the above exception (as in the subject line) for outbound message.
Please see the code block below
We are using Businessconnect WSDL , hosted in salesforce:
https://equifax-1498--full.cs17.cloudforce.com/soap/wfoutbound.jsp?aid=04kg00000004DHj&type=Partner
We are calling this notification service in WCF class library in .NET version 4.5
Here is our .Code
public notificationsResponse notifications (notifications notificationsRequest)
{
notificationsResponse response = new notificationsResponse();
response.Ack = true;
return response ;
}
Here is the response , which is returned by Web Method. We don’t want to get < notificationsResult > tag in response.
<notificationsResponse xmlns="http://tempuri.org/">
<notificationsResult>
<Ack xmlns="http://soap.sforce.com/2005/09/outbound">true</Ack>
</notificationsResult>
</notificationsResponse>
Appreciate your quick response.
TJ McDowell
What happens if you turn response.Ack = false?