HI Now i am getting some way but i still cant parse the incoming request my view looks like this at present i am trying to send the request i am getting
from xml.dom import minidom import urllib import socket from django.http import HttpResponse from django.core import serializers import urllib import socket def recive_ShortMessage(request): if request.method == 'GET': ref= "Process in progress" return HttpResponse(ref) elif request.method == 'POST': print request socket.setdefaulttimeout(20) sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) request.message=['brave'] print request.message XMLSerializer = serializers.get_serializer("xml") xml_serializer = XMLSerializer() xml_serializer.serialize(request) data = xml_serializer.getvalue() print data return HttpResponse(request) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.