[arin-tech-discuss] How to solve the exception with "Could not find JAXBContextFinder for media type: textml"

Zach Dillon zdillon at poly-packaging.com
Wed Mar 26 20:22:51 EDT 2014


Who the hell are you? Stop emailing me your retarded nonsence you dumb ass.
On Mar 26, 2014 12:53 PM, "Vicky Zheng" <vickyzheng at yahoo.com> wrote:

> Hello,
>     I created java function to call Arin service to add Poc payload.  The
> XML string come from Arin web sample.
>     I'm receiving the response from Arin service with
> "Could not find JAXBContextFinder for media type: textml.
> JBoss Web/7.0.10.Final
>
> The server encountered an internal error (Could not find JAXBContextFinder for media type: text
> ml) that prevented it from fulfilling this request.
> ".
>     Could any one please give me a hint what's the root cause?
>     Here is the java function
> public void addPoc()
> {
>         config = new DefaultClientConfig();
>         client = Client.create(config);
>         webResource = client.resource("
> https://reg.arin.net/rest/poc;makeLink=true"+"?apikey="+getAPIkey());
>         response =
> webResource.type(MediaType.APPLICATION_XML).post(ClientResponse.class,
> pocPayload);
>         String rePocPayLoad = response.getEntity(String.class);
>         return rePocPayLoad;
> }
>
>
> Thanks!
> Vicky
>
> _______________________________________________
> 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/20140326/3ac22099/attachment.html>


More information about the arin-tech-discuss mailing list