What is the correct ISPConfig3 remote SOAP URL that I need to use

Discussion in 'General' started by zaggs, Aug 20, 2012.

  1. zaggs

    zaggs New Member

    Hi Guys!

    I'm trying to connect to ISPConfig3 on my server using SOAP scripts in the remote_client directory. However, I always seem to get the following error:

    SOAP Error: looks like we got no XML document

    I am using the following config in soap_config.php but it doesn't seem right. Does anyone have any suggestions?

    $soap_location = 'http://xxx.xxx.xxx.xxx:8080/remote/index.php';
    $soap_uri = 'http://xxx.xxx.xxx.xxx:8080/remote/';

    Thanks in advance.
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Most likely you have ssl enabled for the ispconfig interface, so you have to use https instead of http for the soap url as well.
     
  3. zaggs

    zaggs New Member

    Hi - I just changed the code to https and i'm getting a different error now.

    SOAP Error: Could not connect to host
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Ok, so you most likely use http and not https. Which URL do you use to connect to ispconfig interface when you login with your browser? The URL of the soap api is the same, you just add "/remote/index.php".
     
  5. zaggs

    zaggs New Member

    Ah thanks! I was using the wrong URL - works now. :)
     

Share This Page