Sergey,
  Sample resource class meaning? Are you referring to the web service
implementation class (with the annotations)?


Sergey Beryozkin-2 wrote:
> 
> Unfortunately JAX-RS implementation is broken in that it can't handle
> encoded URIs. Can you please also post a sample resource class ?
> 
> Cheers, Sergey
> 
> -----Original Message-----
> From: kpalania [mailto:[EMAIL PROTECTED] 
> Sent: 14 October 2008 23:21
> To: [email protected]
> Subject: Passing XML String to a REST API
> 
> 
> I have a REST implementation using jaxrs that accepts a String. I am
> able to
> do a post to that API so long as the string does not contain an XML. I
> tried
> encoding it using the URLEncoder but I get this exception:
> 
> 18:17:31,613 ERROR [JAXRSInInterceptor] .No root resource matching
> request
> path
> http://localhost:8080/myAPI_that_accepts_xml/<message+xmlns="http:/compa
> ny.com/services">
> 
> Any thoughts?
> -- 
> View this message in context:
> http://www.nabble.com/Passing-XML-String-to-a-REST-API-tp19983363p199833
> 63.html
> Sent from the cxf-user mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Passing-XML-String-to-a-REST-API-tp19983363p19993130.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to