Jump to content
  • 0

[Zero] SOAP Issues.



Hi all,

First time Mangos user here, built the server etc fine. However trying to intergrate a website with the server to do online status and sending items via the website and I'm getting issues with SOAP, when I type in the URL for my SOAP address, it just brings up:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:ns1="urn:MaNGOS">
<faultstring>HTTP GET method not implemented</faultstring>

I checked using phpinfo(); and it says SOAP is enabled and server is running, not sure what's going wrong :x Any ideas?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

I should also point out I'm using the soap.php example giving in the mangoszero code, the above error is when I try to visit the SOAP url directly from the url bar: http://wowascension.servegame.com:8080/

The error I get trying to access my example soap.php is:

Command failed! Reason:

Could not connect to host

$username = 'myusername'; 
$password = 'mypassword';

$host = "wowascension.servegame.com";
$soapport = 8080;
$command = "server info";

$client = new SoapClient(NULL,
   "location" => "http://$host:$soapport/",
   "uri" => "urn:MaNGOS",
   "style" => SOAP_RPC,
   'login' => $username,
   'password' => $password

I can't really see what I've done wrong. This is one of my last major problems to get fixed before server release as well for voting points and I've been stuck on it for days :(

Do the password/username need to be uppercase?

And does URI represent realm name? as I renamed mine.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use