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

Zhao, Sean Sean.Zhao at qwest.com
Tue Apr 12 19:12:07 EDT 2011

                My name is Sean Zhao from Qwest, one of your customer. I got a research assignment to see if we want to use Arin's RESTful Server or some other servers. Since I am the original Arin's email SWIP developer. I am doing the research of your RESTful Server first now. Now I got an issue here. On serviceClient.sendReceive, I keep on getting the error AxisFault message "charsetName". That's it! No more word.
Just one word of exception. I don't know what to do. I will appreciate if anyone can help me

And don't know where to go. I am scream for help.

I have java code looks like this, briefly

Options options = new Options();

      options.setTo(new EndpointReference("https://www.arin.net/rest/net/NET-216-206-0-0-1/reallocate?apikey=MyAPIKey"));
      options.setProperty(Constants.Configuration.ENABLE_REST, Constants.VALUE_TRUE);

      options.setProperty(Constants.Configuration.HTTP_METHOD, "PUT");

      System.setProperty("javax.net.ssl.trustStore", "ssl/arin.jks");
      System.setProperty("javax.net.ssl.trustStorePassword", "arinLims");
      System.setProperty("javax.net.ssl.keyStore", "ssl/arin.jks");
      System.setProperty("javax.net.ssl.keyStorePassword", "arinLims");

ServiceClient serviceClient = new ServiceClient();

OMElement omElementResult = serviceClient.sendReceive(omElementPayload);

The omElementPayload loosk like this

<net xmlns="http://www.arin.net/regrws/core/v1">
                <line number="1"></line>

And my key store file is generated by InstallCert, which I download from internet.
Am I doing anything wrong? What am I missing?

Appreciate any helps, hints or ideas.


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20110412/041f651f/attachment.html>

More information about the arin-tech-discuss mailing list