Moin,
ich schicke dieses XML Konstrukt an https://www.servercontrolpanel.de/WSEndUser?xsd=1:
Code
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:ns1='http://enduser.service.web.vcp.netcup.de/'><SOAP-ENV:Body><ns1:changeIPRouting><loginName>$SCP_USER</loginName><password>$SCP_PASS</password><routedIP>$IP</routedIP><routedMask>$CIDR</routedMask><destinationVserverName>$SCP_SERVER</destinationVserverName><destinationInterfaceMAC>$MAC</destinationInterfaceMAC></ns1:changeIPRouting></SOAP-ENV:Body></SOAP-ENV:Envelope>
Variablen sind wie folgt gefüllt:
Code
SCP_SERVER="v220211121868169439"
MAC="2a:b0:98:1b:db:01"
IP="81.16.19.62"
CIDR="32"
SCP_USER = meine Kundennummer, welche ich zur Anmeldung im SCP nutze
SCP_PASS = API Passwort aus den SCP Einstellungen
SCP_SERVER ist der Root Server, auf welchen ich die Failover Adresse ($IP/$CIDR) neu zuweisen möchte, MAC ist die MAC Adresse des ersten Interfaces (welches standardmäßig vorhanden ist bzw. auf welchem die öffentliche IP Adresse läuft), siehe Screenshot:
Retour kommt aber immer folgendes:
XML
<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode>S:Server</faultcode><faultstring>validation error - could not find mac on new vserver</faultstring></S:Fault></S:Body></S:Envelope>
Habe es auch einmal mit Bindestrichen und einmal ohne Trennzeichen in der MAC Adresse versucht.
Hat jemand eine Idee, was ich falsch mache?
Danke!