Got to create a domain through the sidn.nl API, before that broke through the oak technical support - HELLO, LOGIN and DOMAIN CHECK are already working, so I have a session and everything is correct there.
Returns the Command syntax error to this XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <command><create> <domain:create xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> <domain:name>5gmobiel.nl</domain:name><domain:period unit="y">1</domain:period><domain:ns> <domain:hostObj>ns1.sidn.nl</domain:hostObj></domain:ns> <domain:ns><domain:hostObj>ns2.sidn.nl</domain:hostObj></domain:ns> <domain:registrant>FLO015428-AFGLI</domain:registrant> <domain:contact type="admin">FLO015428-AFGLI</domain:contact> <domain:contact type="tech">FLO015428-AFGLI</domain:contact> <domain:authInfo><domain:pw></domain:pw></domain:authInfo> </domain:create></create> <extension> <secDNS:create xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1"></secDNS:create></extension> <clTRID>AFREG-12345</clTRID> </command></epp> Here is the result:
<response><result code="2001"><msg>Command syntax error</msg></result><trID><clTRID>AFREG-12345</clTRID><svTRID>SIDN</svTRID></trID></response> XML checked https://validator.w3.org/check
<domain:ns>block within which there are N hostObj records, and you have each host inside a separate NS block. I don’t know if this is critical, but this is the only difference from RFC - Mike