E
Eddy C
Hi,
We can't appear to get AXIS to work in the same way as Python, when it
comes to authentication. The AXIS based program complains about not
having an Auth Token, even though we supply a username and password.
Below is the Python code, my question is -
"Is this token based approach not supported in Axis 1.x, do we have to
use AXIS 2.0, or is this something really simple and we've just miss
understood the python code".
proxy = SOAPpy.SOAPProxy(LOGIN_SERVICE_PATH)
ticket = proxy.login(username="x", password="y",
service="MyExampleService",
group=["eng"])
headers = SOAPpy.Types.headerType()
headers.authToken = ticket
proxyDw = SOAPpy.SOAPProxy(SERVICE_PATH, header = headers)
We can't appear to get AXIS to work in the same way as Python, when it
comes to authentication. The AXIS based program complains about not
having an Auth Token, even though we supply a username and password.
Below is the Python code, my question is -
"Is this token based approach not supported in Axis 1.x, do we have to
use AXIS 2.0, or is this something really simple and we've just miss
understood the python code".
proxy = SOAPpy.SOAPProxy(LOGIN_SERVICE_PATH)
ticket = proxy.login(username="x", password="y",
service="MyExampleService",
group=["eng"])
headers = SOAPpy.Types.headerType()
headers.authToken = ticket
proxyDw = SOAPpy.SOAPProxy(SERVICE_PATH, header = headers)