Thursday, April 11, 2019

Django soap client

Hai All,

Im php programer and i want to migration from php to pyhton in specific i want to use django for my webapps;

i have question 

how to import zeep module to my djanggo apps?

can give me example for my php code to django

<? php
require_one ('nusoap/nusoap.php');
require_one ('nusoap/class.wdslchace.php');

$url = 'http://localhost:8082/ws/live.php?wdslchace';
$client = new nusoap_client($url, true);

$proxy = $client->getProxy();

$username = 'username';
$password = 'password';

$result = $proxy ->GetToken($username, $password);

$token = $result;

?>

thanx

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/69dc3b5c-ff62-473c-9143-ec65268431a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment