Forum Discussion
liycheng_55020
Nimbostratus
Jun 10, 2012python codfe, always getting <Fault SOAP-ENV:Server: Could not find element by name: user_names>
Code as below:
!/usr/bin/env python
import sys
from SOAPpy import WSDL
wsdl = "/home/liycheng/F5/Management.UserManagement.wsdl.xml"
proxy = WSDL.P...
Todd_Cromwell_9
Nimbostratus
Jun 11, 2012I do not use SOAPpy and do not know too much about it, but I checked with a colleague and it appears to work like the python interface I use (except the interface I use doesn't absolutely require the parameter name specification, user_names=).
Put your own address, username, and password in.
>>> import SOAPpy
>>> url = "https://username:password@10.10.10.10/iControl/iControlPortal.cgi"
>>> proxy = SOAPpy.SOAPProxy(url, "urn:iControl:Management/UserManagement")
>>> proxy.get_fullname(user_names=['root'])
['root']
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects