Jump to content
TrinityCore

lalalastab

Plebs
  • Posts

    1
  • Joined

  • Last visited

Posts posted by lalalastab

  1. I've been trying to implement my own simple cms solution without php, but can't figure out the formatting of the SOAP requests. I was wondering if anyone was able to explain where I can find the wsdl schema? Googling only really gives results for php...

    edit2 solved after 2 days. feel free to close. code was updated with correct structure. make sure to set basic authentication headers in your request.

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://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:TC">
        <SOAP-ENV:Header>
        </SOAP-ENV:Header>
        <SOAP-ENV:Body>
             <ns1:executeCommand>
                 <command>server info</command>
             </ns1:executeCommand>
        </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    The code is enough to get to the authorization stage but I'm not sure how to log in.

    Thanks!

×
×
  • Create New...