Skip to content

Invalid XML error #20

Description

@aliirz

I keep getting this error when I try to call any of the methods on the client:

  File "app.py", line 6, in <module>
    print client.supervisor.getUserLimits()
  File "/Users/araza/pyfive9/env/lib/python2.7/site-packages/five9/five9.py", line 58, in supervisor
    supervisor,
  File "/Users/araza/pyfive9/env/lib/python2.7/site-packages/five9/five9.py", line 221, in __create_supervisor_session
    supervisor.setSessionParameters(session_params)
  File "/Users/araza/pyfive9/env/lib/python2.7/site-packages/zeep/proxy.py", line 42, in __call__
    self._op_name, args, kwargs)
  File "/Users/araza/pyfive9/env/lib/python2.7/site-packages/zeep/wsdl/bindings/soap.py", line 126, in send
    return self.process_reply(client, operation_obj, response)
  File "/Users/araza/pyfive9/env/lib/python2.7/site-packages/zeep/wsdl/bindings/soap.py", line 170, in process_reply
    content=response.content)
zeep.exceptions.TransportError: Server returned response (401) with invalid XML: Invalid XML content received (Opening and ending tag mismatch: HR line 1 and body, line 1, column 1038).
Content: '<html><head><title>JBoss Web/7.5.3.Final - JBWEB000064: Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>JBWEB000065: HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>JBWEB000309: type</b> JBWEB000067: Status report</p><p><b>JBWEB000068: message</b> <u></u></p><p><b>JBWEB000069: description</b> <u>JBWEB000121: This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/7.5.3.Final</h3></body></html>'

Any one had any luck using this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions