I am using OKTechWebServices of Moodle over SOAP from iOS Client. I have used wsdl2objc from http://code.google.com/p/wsdl2objc/to obtain my client library for iOS.
After login request i am getting following in response:
"Incorrect access detected, this server may be accessed only through "http://20.0.0.6:81/moodle.195" address, sorry.<br />Please notify server administrator."
Following is the snapshot of code which access OKTechWebService over SOAP using iOS client.
MoodleWSBinding* moodleWSClientBinding = [MoodleWS MoodleWSBinding];
moodleWSClientBinding.logXMLInOut = YES;
moodleWSClientBinding.defaultTimeout = 60;
MoodleWSBindingResponse* moodleWSClientResponse = [moodleWSClientBinding loginUsingUsername:@"admin" password:@"password"];
Please help.