You need to sign in to do that
Don't have an account?
freeman
SOAPAction HTTP header missing
Sorry, the previous two messages were sent out by accidental key stokes. Here is the question again:
I recently migrated my Ajax scontrol to the new Winter '07 release and started to get the following error message when making queries to my company data in SFDC:
{faultcode:'soapenv:Client', faultstring:'SOAPAction HTTP header missing',}
The query was simple as "select ... from ... where...".
I never saw this before even in the prerelease. I don't think we need to set the SOAP header everytime we call the sforce.connection.query(...). But why I am getting this error. If anyone has similar experience and know how to get rid of this error, please respond.
Best Regards,
Do you run the request via a proxy, and the proxy is stripping this HTTP header?
I cant think of any other reason for not including soapAction header in the request.
I'm still getting the SOAPAction HTTP Header error. I'm getting this error on different computers too. Some of them are company machines behind firewall and some of them are just out there on the internet. I posted a simplified version of my code before, but here is the complete version without modifying a single character:
Code:
I'm looking forward to getting some advice on this. This error is annoying. The frequency of this error message is on the average of 1 out 10. If I kept submitting the same request, I will get the error eventually.
Thanks,
Anyway, here are couple of things to try out:
1. turn on the debug for Ajax Toolkit before making the api request:
sforce.debug.trace = true;
2. Get the ethereal trace of the requests. You can download ethereal here:
http://www.ethereal.com/
Make sure you are doing http request while getting ethereal trace.
This may give some hints on what is going wrong.
Is there a known cause for this issue? I am having the same error message in an s-control.
Here's the code:
Code:
This call is generating the error :
var result = sforce.connection.query("Select Id,Name from Account WHERE isDeleted=false", {
onSuccess : success, onFailure : failure});
The error only occurs after a large amount of accounts have been processed allready.
I am experiencing the same issue.
I am polling the API from a page to monitor for data changes. Typically users do not stay on a oage for too long and this error does not occur. Occasionally, if a page remains open for a longer period of time, after a number of query call I get this error. It seems to be relatively consistent - about the same number of queries are successful every time before the error happens.
Thank you.
Hello there,
I've got the same problem.
I want to access saleforce through soap request.
My first test was by using SOAP UI and everything works fine.
Now, I want to use my "real" platform, which is based on jboss.
I can only use XML Requests and a webservice adapter, which I can configure only with the ws.adress (https://login.salesforce.com:443/services/Soap/c/22.0) and, if i want the soap action.
This is my request:
And this is my result:
So what is wrong with my request. I copied it directly from SOAP UI.
Greetings lstrike