Hi Afroze,
1. My LAMS setup for integrations is identical (besides the server and moodle2 part) to the link you have in the dem0 -
http://fatiedu.sma:8080/moodle/mod/lamslesson/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%
Hmmm... so you are running your moodle server on port 8080?
2. I am required to put moodle and lams on seperate server virtual/ip for keeping the server, database etc. isolated.
No, your are not. You can keep them in separate boxes, IPs and even countries if you like. The only thing, of course, is that both servers should be able to make ports (in and out) on their respective ports.
So if you are running moodle on port 80, then your LAMS server should be allowed to make outgoing calls on port 80. And if LAMS runs on port 8080, then your Moodle server should be allowed to call out on that port.
3. I have made sure to remove .htaccess from moodle web/date folders, ports 8080 are open on both servers and there is no firewall on this 192.168.0/ network
I don't think this is a network issue as you are getting a response... either a 404 or a 400, but a response.
192.168.0.26 - - [06/May/2011:13:47:56 +0400] "GET /moodle/mod/lamslesson/userinfo.php?ts=1304675276943&un=fatiedu&hs=ceb3a00f660d23572d179243b0754089c520062b HTTP/1.1" 404 1055
Ok, so this call is made from LAMS to Moodle to retrieve the user's information. Moodle is returning a 404? So maybe this page does not exist? Can you confirm that the path for your moodle server is correct?
Interestingly the first 'GET' log has valid URL, and I get valid data back appending it to moodle
Are you saying that Moodle is indeed returning the user info?
however when I do the same for second 'GET' to LMS it resluts in the following error -- (how did you attach the graphics, well, here is the text)
HTTP Status 400 - can not retreive user information
type Status report
message can not retreive user information
description The request sent by the client was syntactically incorrect (can not retreive user information).
Apache Tomcat/5.5.9
RIght, so it's when Moodle is requesting data from LAMS that you are getting the error.
/lams//services/xml/LearningDesignRepository?serverId=moodle&datetime=May+06%2C2011+1%3A47+pm&hashValue=efe9794c684ff696037558b2854d305de058d864&username=fatiedu&courseId=7&courseName=Unit-5+Atomic+Physics+12%2F2010&mode=2&country=AE
I think there are parameter missing. Let me double check with the integration specs to see why this is happening. I'll get back to you shortly.
Thanks,
Ernie
Posted by Ernie Ghiglione