<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I'm trying to perform a Create Recipient Customer request on the
rest service, and getting an error response indicating that "The XML
payload did not validate against the defined schema"..<br>
<br>
While my final implementation will be in PHP using CURL, I have been
using curl directly as: <br>
<br>
<br>
curl -v -H "Content-Type: application/xml" -X POST --data
"<customer xmlns="<customer
xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.arin.net/regrws/core/v1">"http://www.arin.net/regrws/core/v1"</a>
><customerName>TESTME</customerName><iso3166-1><name>UNITED
STATES</name><code2>US</code2><code3>USA</code3><e164>1</e164></iso3166-1>
<handle></handle><streetAddress><line number =
"1">Line
1</line></streetAddress><city>Chantilly</city><iso3166-2>VA</iso3166-2><postalCode>20151</postalCode><comment><line
number = "1">Line
1</line></comment><parentOrgHandle>NNNN</parentOrgHandle><registrationDate></registrationDate>
<privateCustomer>true</privateCustomer></customer>"
<a class="moz-txt-link-freetext" href="https://rest-beta.arin.net/rest/net/NET-NN-NN-128-0-1/customer?apikey=API-NNNN-NNNN-NNNN-NNNN">https://rest-beta.arin.net/rest/net/NET-NN-NN-128-0-1/customer?apikey=API-NNNN-NNNN-NNNN-NNNN</a><br>
<br>
The customer payload is copied directly from the documentation,
substituting our parentOrgHandle and
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<span style="color: rgb(0, 0, 0); font-family: arial, helvetica,
sans-serif; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16px; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(237, 237,
237); display: inline !important; float: none;">PARENTNETHANDLE</span>
and API key values.<br>
<br>
The only response is:<br>
<br>
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?><error
xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.arin.net/regrws/core/v1">"http://www.arin.net/regrws/core/v1"</a>><additionalInfo/><code>E_SCHEMA_VALIDATION</code><components/><message>The
XML payload did not validate against the defined schema. Please see
the documentation for details.</message></error><br>
</body>
</html>