Soap webservice with soaplib & suds

64 views
Skip to first unread message

Meenakshi Ithape

unread,
Apr 26, 2012, 9:02:03 AM4/26/12
to django...@googlegroups.com
I use soap webservices with soaplib & create client from command prompt using suds,
This working properly.
Can anybody tell me how to create client through view instead of command prompt?
How to pass oject to @rpc() or @soap() method of soaplib?
How to display webservice response in template or browser?


Thanks in advance

Ovnicraft

unread,
Apr 26, 2012, 12:18:51 PM4/26/12
to django...@googlegroups.com
I suggest you put your code 'client' from command prompt in a view method so there you can call data and render it in templates.

If you put the logic in the right place then you can show data to users.

Regards, 



Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/obRNc13X5YgJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Cristian Salamea
@ovnicraft
Message has been deleted

Meenakshi Ithape

unread,
Apr 27, 2012, 3:01:50 AM4/27/12
to django...@googlegroups.com
Thanks for the reply, i already done this, & my problem is solved.
But now i have another issue,
how to send the object to the web_service method or how to check the methods parameters type using suds?

On Thursday, 26 April 2012 21:48:51 UTC+5:30, ovnicraft wrote:


On Thu, Apr 26, 2012 at 8:02 AM, Meenakshi Ithape wrote:
I use soap webservices with soaplib & create client from command prompt using suds,
This working properly.
Can anybody tell me how to create client through view instead of command prompt?
How to pass oject to @rpc() or @soap() method of soaplib?
How to display webservice response in template or browser?


I suggest you put your code 'client' from command prompt in a view method so there you can call data and render it in templates.

If you put the logic in the right place then you can show data to users.

Regards, 



Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/obRNc13X5YgJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Cristian Salamea
@ovnicraft

On Thursday, 26 April 2012 21:48:51 UTC+5:30, ovnicraft wrote:


On Thu, Apr 26, 2012 at 8:02 AM, Meenakshi Ithape wrote:
I use soap webservices with soaplib & create client from command prompt using suds,
This working properly.
Can anybody tell me how to create client through view instead of command prompt?
How to pass oject to @rpc() or @soap() method of soaplib?
How to display webservice response in template or browser?


I suggest you put your code 'client' from command prompt in a view method so there you can call data and render it in templates.

If you put the logic in the right place then you can show data to users.

Regards, 



Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/obRNc13X5YgJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Cristian Salamea
@ovnicraft

Meenakshi Ithape

unread,
Apr 27, 2012, 6:14:14 AM4/27/12
to django...@googlegroups.com
I done this, thanks for the reply
Reply all
Reply to author
Forward
0 new messages