import error

2010-10-07 Thread sami nathan
Occured error while using url http://localhost/fllyp/ MOD_PYTHON ERROR ProcessId: 844 Interpreter:'192.168.1.116' ServerName: '192.168.1.116' DocumentRoot: 'C:/Program Files/Apache

Re: question about django url

2010-10-09 Thread sami nathan
http://local host/wap/di/sub?word=check&type=00&submit=Submit i want to print word "check" and any word given in url pls give sugesstion pls -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@go

Re:

2010-10-11 Thread sami nathan
HI THIS IS MY REQUIRED URL http://localhost/flip/wap/di/sub?word=check&type=00&submit=Submit here check should be displayed in my page we are using this for dictionary but my task is to just display that word check in my page , moreover its user defined my urls.py is looking like this urlpat

[no subject]

2010-10-11 Thread sami nathan
my re reuested url is http://localhost/wap/di/sub?word=check&type=00&submit=Submit I want to print the word "CHECK" which will be given by user my urls.py looks like this from django.conf.urls.defau

Re:

2010-10-11 Thread sami nathan
HI Jirka Vejrazka sorry ya i am very new to this group and i am going through the python But it would be helpful to me if u convey me which part of python should i go throgh for time beingthank u -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re:

2010-10-11 Thread sami nathan
Sir, i got two way of suggestion s now i am bitter confused waht should i use now,now i will clearly tell my requirement http://m.broov.com/wap/di/sub?word=check&type=00&submit=Submit pls visit this site and replace the word check with any word u like it will display some rsults below now i don't

Re:

2010-10-11 Thread sami nathan
THANK U GUYS AT LAST I GOT WHAT I NEED AND ITS WORKING THANK U FOR U R RESPONSE GREAT YA THANKS!!! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@

Re:

2010-10-11 Thread sami nathan
ISORRY YA AGAIN i got problem of SyntaxError: 'return' outside function now my view code from django.http import HttpResponse def current_datetime(request): word = request.GET['word'] return HttpResponse(word) now my url code from django.conf.urls.defaults import * from flip.view impor

Re:

2010-10-11 Thread sami nathan
just before getting u r message i tried that it worked!! whats the best editor for django -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, sen

WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL

2010-10-12 Thread sami nathan
i want to send my req from my url that is"http://localhost/flip/wap/di/sub?word=formula&type=00&submit=Submit"; that i want to send only the word "formula" to the url "http://m.broov.com/wap/di/sub?word=fomula&type=00&submit=Submit"and i want to get response from the same url and display in my pag

Fwd: WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL

2010-10-12 Thread sami nathan
-- Forwarded message -- From: sami nathan Date: Tue, Oct 12, 2010 at 3:37 PM Subject: WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL To: django-users@googlegroups.com  i want to send my req from my url that is"http://localhost/flip/wap/di/sub?word=formula&type=

Re: WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL

2010-10-12 Thread sami nathan
Hello sir, I need to display the reult of "http://m.broov.com/wap/di/sub?word=dog&type=00&submit=Submit"; in my url which is http://localhost/flip/wap/di/sub?word=dog&type=00&submit=Submit My view looks like this from django.http import * from django.template import loader, Context from

Re: WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL

2010-10-12 Thread sami nathan
Hello sir, I need to display the reult of "http://m.broov.com/wap/di/sub?word=dog&type=00&submit=Submit"; in my url which is http://localhost/flip/wap/di/sub?word=dog&type=00&submit=Submit My view looks like this from django.http import * from django.template import loader, Context from d

how can i wsdl file in my django

2010-10-23 Thread sami nathan
After completing my project i need to use wsdl file for web service how could i use it any sugesstions -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this g

Re: how can i wsdl file in my django

2010-10-25 Thread sami nathan
Can i use RESTfull insted of SOAP service -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.co

Re: how can i wsdl file in my django

2010-10-25 Thread sami nathan
I think following is opt ans for my question Mr Brian Bouterse No matter the tools you have, it's hard to make a WSDL for a RESTful service. WSDL 1.1, after all, was specifically designed to describe services built using SOAP. In response, the Web Application Development Language (WADL) was cre

interface django and rest

2010-10-27 Thread sami nathan
Please Suggest me an tutorial for interfacing django and restfuli thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-u

Re: interface django and rest

2010-10-27 Thread sami nathan
But is telling about piston is i am very beginner of django i want to inerface django and RESTFULL service and i am also blinking with what to do with my wsdl file Please help by THANKS -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

django erest interfac

2010-10-27 Thread sami nathan
hi for django restfull interface i am using the link given below is it correct i am experiencing error in that steps http://code.google.com/p/django-restful-model-views/ please visit this and tell me -- You received this message because you are subscribed to the Google Groups "Django users" grou

ATTRIBUTE ERROR

2010-10-28 Thread sami nathan
My occured Error is Exception Value: 'str' object has no attribute 'resolve' Exception Location: C:\Python25\Lib\site-packages\django\core\urlresolvers.py in resolve, line 217

'str' object has no attribute 'resolve' Exception Location: C:\Python25\Lib\site-packages\django\core\urlresolvers.py in resolve,

2010-10-28 Thread sami nathan
-- Forwarded message -- From: sami nathan Date: Thu, Oct 28, 2010 at 3:41 PM Subject: ATTRIBUTE ERROR To: django-users@googlegroups.com My occured Error is Exception Value: 'str' object has no attribute 'resolve' Exception Location:        C:\Python25\Lib\

can't open file 'django-admin.py': [Errno 2] No such file or directory'.

2010-10-29 Thread sami nathan
Whenever I try to execute a python script that is located in the /usr/local/bin, python gives me the error 'python: can't open file 'django-admin.py': [Errno 2] No such file or directory'. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

cannot setup database

2010-10-31 Thread sami nathan
When i run the command python manage.py syncdb i got the follwing error self.connection = Database.connect(**kwargs) sqlite3.OperationalError: unable to open database file Exception exceptions.AttributeError: '_shutdown' in ignoredDATABASES = { 'default': { 'ENGINE': 'django.d

Re: cannot setup database

2010-11-01 Thread sami nathan
My setting file looks like this # Django settings for flyp project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_em...@domain.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postg

ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread sami nathan
MY system path is D:\Python25\Lib\site-packages\django\bin\admin.py;D:\Python25;D:\Program Files\Subversion\bin:D:\Python25\Lib\site-packages\django;D:\Python25\Lib\site-packages\django\bin\flyp;D:\Python25\Tools;D:\Python25\Lib\site-packages\django\bin\flyp\settings; my LOCATION looks like this

Fwd: ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread sami nathan
-- Forwarded message -- From: sami nathan Date: Mon, Nov 1, 2010 at 6:42 PM Subject: ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings To: django-users@googlegroups.com MY system

ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread sami nathan
MY system path is D:\Python25\Lib\site-packages\django\bin\admin.py;D:\Python25;D:\Program Files\Subversion\bin:D:\Python25\Lib\site-packages\django;D:\Python25\Lib\site-packages\django\bin\flyp;D:\Python25\Tools;D:\Python25\Lib\site-packages\django\bin\flyp\settings; my LOCATION looks like this

ATTRIBUTE ERROR

2010-11-02 Thread sami nathan
If i am doing anything wrong forgive me i am newbe MY error is Exception Type: AttributeError Exception Value: 'str' object has no attribute 'resolve' Exception Location: D:\Python25\lib\site-packages\django\core\urlresolvers.py in resolve, line 25 My url.py look like

Attributr error

2010-11-02 Thread sami nathan
THIS IS HOW MY URL.PY LOOKS LIKE from django.conf.urls.defaults import * from it.view import current_datetime # Uncomment the next two lines to enable the admin: #from django.contrib import admin #admin.autodiscover() urlpatterns = patterns('', # Example: (r"^wap/di/sub/$",current_da

Re: Attributr error

2010-11-02 Thread sami nathan
I want my final result in xml format and how can i do that? thanks for notification -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: Attributr error

2010-11-03 Thread sami nathan
Where should i use this please tell!! should i use in urls.py -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubsc

Re: Attributr error

2010-11-03 Thread sami nathan
HOW TO GET XML RESPONSE in following THIS IS HOW MY URL.PY LOOKS LIKE from django.conf.urls.defaults import * from it.view import current_datetime # Uncomment the next two lines to enable the admin: #from django.contrib import admin #admin.autodiscover() urlpatterns = patterns('', # Exampl

Re: Attributr error

2010-11-03 Thread sami nathan
i Think serialisation would be helpful for this some one help me how to use it -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to dja

SERIALIZING

2010-11-03 Thread sami nathan
HOW TO GET XML RESPONSE in following THIS IS HOW MY URL.PY LOOKS LIKE from django.conf.urls.defaults import * from it.view import current_datetime # Uncomment the next two lines to enable the admin: #from django.contrib import admin #admin.autodiscover() urlpatterns = patterns('', # Example

WEB SERVICE IN DJANGO USING SOAP

2010-11-26 Thread sami nathan
Thanks for notification I am trying to develop web service using django with soap interface i checked my code in python to open wsdl file but its showing error i am sure that wsdl file dosent have any errors this is my code>>> from SOAPpy import WSDL >> server=WSDL.Proxy('D/soap/FlyppSms.wsdl') Tra

Re: WEB SERVICE IN DJANGO USING SOAP

2010-11-26 Thread sami nathan
encoding="UTF-8"?> should i remove this from wsdl file...? and more over i am trying to use my system as server i am refering dive into python chapter 12 introspecting wsdl and searching google i cant find weather its an client side code or server side code but i am in need of server side code do

Re: WEB SERVICE IN DJANGO USING SOAP

2010-11-27 Thread sami nathan
After opening and closing also showing me the same result i cant say not to output the BOM to generator b coz its an another person who generated and gave to me and asking me to create web service using just wsdl file and given me open choice of use rather SOAP or REST i also decided to use REST no

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-27 Thread sami nathan
for creating server.py from wsdl file i am using this following code i dont na weather its right but its not creating any file but its throwing error >>> wsdl2py --extended --file=D;\soap\FlyppSms.wsdl File "", line 1 wsdl2py --extended --file=D;\soap\FlyppSms.wsdl

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-27 Thread sami nathan
But i am not havin python intreptor i use my command prompt this way Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\ezhil>python Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on wi 32 Type "help", "copyright

WEB SERVICE IN DJANGO USING ZSI

2010-11-28 Thread sami nathan
To genrate sevice file from my wsdl i used following command but it shows the same D:\Python25\Scripts>wsdl2py --complexType --file=ZonedLocation.wsdl 'wsdl2py' is not recognized as an internal or external command, operable program or batch file. but my wsdl2py is in the scripts oly -- You rec

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-29 Thread sami nathan
To create server file i used this command but showing following error D:\Python25\Scripts>python wsdl2py --complexType localhost 8080 d:/soap/zz/FlypS ms.wsdl Expecting a file/url as argument (WSDL). Traceback (most recent call last): File "wsdl2py", line 9, in wsdl2py() File "D:\Python25\

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-29 Thread sami nathan
ANY one knows how to generate server.py flie from wsdl2py in ZSI -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsu

WEB service using Restify

2010-12-07 Thread sami nathan
THANKS FOR NOTIFICATION I am trying to do webservice with RESTfull web service but i dint create models my view file looks like this from django.http import * import urllib def current_datetime(request): word = request.GET['word'] message=urllib.urlopen('http://m.broov.com/wap/di/sub?wo

urllib .urlopen problem

2010-12-14 Thread sami nathan
my django site was running successfully but now it s giving me the following error IO ERROR [Errno socket error] (11004, 'getaddrinfo failed' my view looks like this and i am running in proxy settings but i included that in my code proxie = {'http': 'http://192.168.1.100:8080'} word = requ

get request from an java API to DJango

2010-12-17 Thread sami nathan
THANKS FOR NOTIFICATION Hi i am newbie to django i am having task that want to get request from an java API and give Response to the same API (To act as an server ) So i am having WSDL file for the JAVA API I decided to do that in ZSI WEB SERVICE and i generated server file using wsdl2

ZSI WEB SERVICE

2010-12-18 Thread sami nathan
__init__() must be called with TypeCode instance as first argument (got String instance instead) what this error says when i overriden the ZSI server file i got this error is there any one to say what this error says -- You received this message because you are subscribed to the Google Groups "D

Re: get request from an java API to DJango

2010-12-18 Thread sami nathan
thanks for notification.Please guide me through a source to get a grasp of suds and continue working.Suggest me a point to startwith.To be honest i am completely new to this. Regards, Sami -- You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: get request from an java API to DJango

2010-12-18 Thread sami nathan
But i should act as an server will suds allow that? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googl

Re: ZSI WEB SERVICE

2010-12-18 Thread sami nathan
"""__init__() must be called with TypeCode instance as first argument (got String instance instead) """what this error says when i overriden the ZSI server file (generated using wsdl2py in ZSI) i got this error is there any one to say what this error says I am trying to act as server --

Re: ZSI WEB SERVICE

2011-01-06 Thread sami nathan
Ya me too in the same problem if any one find the solution please post here -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django

WEB SERVICE

2011-01-23 Thread sami nathan
Hi i want to do web service in using django My client is sending SOAP request and should send response as SOAP response i am now sucessful in this process using ZSI but i want to run the process in django server So i refered http://djangosnippets.org/snippets/979/ now it would be helpfull fo

Re: WEB SERVICE

2011-01-25 Thread sami nathan
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 urlli

parsing SOAP request

2011-01-26 Thread sami nathan
Hi i am working web service i am getting SOAP(POST) request from client now i am trying to parse the request xml and sending the response my soap request is http://schemas.xmlsoap.org/soap/envelope/ ">http://flypp.infy.com/sms/v2010r1_0 ">12345343661t1p1p2DICT test']}> response now i want send

Re: parsing SOAP request

2011-01-26 Thread sami nathan
Hi Now i tried to parse the incoming request and send my response i tried in the following way by just sending what request came as it as response (ECHO server).and i am very newbie i dont know how to parse the request. I used ZSI sucessfully but in that requset was handled by itself but ZSI a

QUERYDICT immutable

2011-01-28 Thread sami nathan
HI I am NEWBIE i am trying to run an server and my POST request is from java api(client) and i cant able to see exact error in java api its just showing HTML request is not accepting in java b coz django giving me error iin html format but by some how i manage to print request.POST from my req

XML parsing

2011-01-31 Thread sami nathan
HI I am trying to parse my response by the following method elif request.method == 'POST': reqp=request.raw_post_data response = HttpResponse(mimetype='text/xml') response.write(reqp) print response xmldoc = minidom.parse('binary.xml') reflist = xmldo