0

I am trying to point a php SoapClient at htp://.../api/?wdsl and when I call login, I get:

"PHP Fatal error: Uncaught SoapFault exception: [Sender] DTD are not supported by SOAP in ..."

I have tried adding options to the SoapClient constructor but nothing works. Any ideas?

3
  • Anther thing that might help is when I catch the error and see what the response is, I see the admin login page spit back as html
    – user2045
    Aug 16, 2013 at 22:51
  • I suspect that it expects XML but is getting HTML and thus throwing an exception. I have created a proper user and associated it with a proper role so it should be able to login without the admin login page.
    – user2045
    Aug 17, 2013 at 0:27
  • Can you post the code you use? Aug 17, 2013 at 13:29

0

Browse other questions tagged or ask your own question.