<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<title>Re: [arin-tech-discuss] Question about your RESTful Server, method PUT</title>
</head>
<body>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Sean,<br>
You’re almost there...... You are missing just a couple of things.<br>
<br>
</span></font>
<ol>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">In any reallocation, you are subdelegating a network to another Org, not a “customer”. (The term “customer” in the ARIN context represents a simple-reassignment recipient, not
a reallocation recipient. So, you need to remove the <customerHandle> attribute. The Org_Handle of the recipient (to whom you’re subdelegating the allocation) is what you put into the <orgHandle> attribute.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">In a reallocation, you must provide the <parentNetHandle> attribute. The content of the attribute must exactly match the Parent Net Handle expressed in the URL.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Please ensure that you’re using US-ASCII or UTF-8 character set, and content type application/xml. I suspect that Axis’ default character set is ISO-8859-1, which may be a source
of the error you are seeing.<br>
</span></font></li></ol>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
Best regards,<br>
Tim Christensen<br>
ARIN Engineering<br>
<br>
On 4/15/11 11:51 AM, "Zhao, Sean" <<a href="Sean.Zhao@qwest.com">Sean.Zhao@qwest.com</a>> said:<br>
<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Tim<br>
Thank you so much for your reply!! I really do because I was in a dark room and hitting walls.<br>
I did exactly as you suggested. The payload looks like this,<br>
<net xmlns="<a href="http://www.arin.net/regrws/core/v1"">http://www.arin.net/regrws/core/v1"</a>><br>
<version>4</version><br>
<orgHandle>BNO</orgHandle><br>
<netBlocks><br>
<netBlock><br>
<type>A</type><br>
<startAddress>216.207.149.16</startAddress><br>
<cidrLength>29</cidrLength><br>
</netBlock><br>
</netBlocks><br>
<customerHandle>BCNO1-ARIN</customerHandle><br>
<netName>Q0415-216-207-149-16</netName><br>
<originASes><originAS>209</originAS></originASes><br>
</net><br>
<br>
I removed all the blank tag. I still get same error “charsetName”. Maybe I over removed it?<br>
<br>
</span><span style="font-size:12pt"><b>Thanks,<br>
</b><br>
<b>Sean Zhao<br>
</b></span><span style="font-size:11pt"><br>
<hr align="CENTER" size="3" width="100%">
</span></font><font color="#808080"><font size="2"><font face="Arial"><span style="font-size:10pt">This communication is the property of Qwest and may contain confidential or<br>
privileged information. Unauthorized use of this communication is strictly<br>
prohibited and may be unlawful. If you have received this communication<br>
in error, please immediately notify the sender by reply e-mail and destroy<br>
all copies of the communication and any attachments.<br>
</span></font></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
<hr align="CENTER" size="3" width="95%">
</span></font><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_______________________________________________<br>
arin-tech-discuss mailing list<br>
<a href="arin-tech-discuss@arin.net">arin-tech-discuss@arin.net</a><br>
<a href="http://lists.arin.net/mailman/listinfo/arin-tech-discuss">http://lists.arin.net/mailman/listinfo/arin-tech-discuss</a><br>
</span></font></font></blockquote>
</body>
</html>