You need to sign in to do that
Don't have an account?

405 GET not supported, this is a SOAP service, please use POST
I have created simple webservice . once i generated the WSDL file , i got like this URL like this
<soap:address location="https://ap1-api.salesforce.com/services/Soap/class/HelloWorldWebService"/>
While i m trying to hit that URL from browser i got error like this
405 GET not supported, this is a SOAP service, please use POST
Can anyone please let me know the ans ?
Thanks in advance .....
You would have to make a soap request to the URL, checkout the SOAP UI tool if you just want to try it in an interactive fashon.
All Answers
As the error message mentions SOAP APIs only use the HTTP POST verb, not GET (which is what your browser used), what are you expecting to see when you put the URL in your browser ?
Hi ,
I just wanna see my output from my webservice method. thats it my anticipated ... It would be great can u please let me know the solution.
FYI
I have using below code :
global class HelloWorldWebService {
webservice static string sayHello(String h) {
h = 'Hello World!';
return h;
}
}
Where would i see my output message "Hello World!"; ???
Thanks,
Vinoth
You would have to make a soap request to the URL, checkout the SOAP UI tool if you just want to try it in an interactive fashon.
Hey Simon,
I got it , Sorry for asking simple questions ;)
Thank u :)
Please provide the solution
global PageReference sample() {
PageReference pgref = new PageReference('http://www.google.com');
pgref.setRedirect(false);
return pgref;
}
Please help