You need to sign in to do that
Don't have an account?
mba75
Ajax Proxy
I try to connect a webservice to my salesforces apps With an S-control
The following line return the alert box :Undefined
sforce.connection.remoteFunction({
url : "http://abr.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx/ABRSearchByABN?includeHistoricalDetails=N&authenticationGuid=AAAA-xxxxxxxxxxxxxxx&searchString=9999999999",
onSuccess : function(response) {
alert("result" );
}
});
If paste my url into a ie browser I get my XML doc .
Any Idea ?:smileysad:
The following line return the alert box :Undefined
sforce.connection.remoteFunction({
url : "http://abr.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx/ABRSearchByABN?includeHistoricalDetails=N&authenticationGuid=AAAA-xxxxxxxxxxxxxxx&searchString=9999999999",
onSuccess : function(response) {
alert("result" );
}
});
If paste my url into a ie browser I get my XML doc .
Any Idea ?:smileysad:
sforce.connection.remoteFunction({
url : "http://abr.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx/ABRSearchByABN?includeHistoricalDetails=N&authenticationGuid=AAAA-xxxxxxxxxxxxxxx&searchString=9999999999",
onSuccess : function(response) {
alert("result" );
},
onFailure: function(error) {
alert("Got error " + error);
}
});
I just get an alert box : undefined.
How do you include the connection.js ?
Do you have to create a snippets and include the snippet in your code?
Thank you Cheenath
Apparently I go thropught Th remote connection fuction now .
I have another error behind
Last question :
Can I upload my own javascript file ?