Axis Authentication Compared To Python

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top