ansharma Posted June 13, 2011 Share Posted June 13, 2011 hi all, i am new to codeigniter, i want to connect to a model by using a webservice but when i call model's method to insert data it give me error Did not receive a '200 OK' response from remote server. (HTTP/1.0 500 Internal Server Error) what should i do?? thanks Link to comment https://forums.phpfreaks.com/topic/239206-calling-a-model-in-a-webservice-in-codeigniter/ Share on other sites More sharing options...
ignace Posted June 13, 2011 Share Posted June 13, 2011 Check your error logs Link to comment https://forums.phpfreaks.com/topic/239206-calling-a-model-in-a-webservice-in-codeigniter/#findComment-1228953 Share on other sites More sharing options...
monkeytooth Posted June 13, 2011 Share Posted June 13, 2011 You can't call a model directly. You would have to make a controller or a function within one of your existing controllers to load that module in and then work the function there to do as you are trying to do by calling the module it self. Link to comment https://forums.phpfreaks.com/topic/239206-calling-a-model-in-a-webservice-in-codeigniter/#findComment-1228962 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.