#!/usr/bin/env bash

curl -s -u "soapuser:soappass" \
  -H "Content-Type: text/xml" \
  -d '<?xml version="1.0" encoding="UTF-8"?>
  <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:MaNGOS">
    <SOAP-ENV:Body>
      <ns1:command>account create test2 testpass</ns1:command>
    </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>' \
  http://localhost:7878/
