[arin-tech-discuss] Question about your RESTful Server, method PUT

Tim Christensen timc at arin.net
Fri Apr 15 13:31:55 EDT 2011


Sean,
You’re almost there...... You are missing just a couple of things.


  1.  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.
  2.  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.
  3.  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.

Best regards,
Tim Christensen
ARIN Engineering

On 4/15/11 11:51 AM, "Zhao, Sean" <Sean.Zhao at qwest.com> said:

Tim
                Thank you so much for your reply!! I really do because I was in a dark room and hitting walls.
                I did exactly as you suggested. The payload looks like this,
<net xmlns="http://www.arin.net/regrws/core/v1">
<version>4</version>
<orgHandle>BNO</orgHandle>
<netBlocks>
<netBlock>
<type>A</type>
<startAddress>216.207.149.16</startAddress>
<cidrLength>29</cidrLength>
</netBlock>
</netBlocks>
<customerHandle>BCNO1-ARIN</customerHandle>
<netName>Q0415-216-207-149-16</netName>
<originASes><originAS>209</originAS></originASes>
</net>

I removed all the blank tag. I still get same error “charsetName”. Maybe I over removed it?

Thanks,

Sean Zhao

________________________________
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.

________________________________
_______________________________________________
arin-tech-discuss mailing list
arin-tech-discuss at arin.net
http://lists.arin.net/mailman/listinfo/arin-tech-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20110415/3bf68b89/attachment.html>


More information about the arin-tech-discuss mailing list