Hi
On 28/05/14 03:35, Rahul Panjrath wrote:
Hi Sergey,
I was going through the documentation for JAX-RS testing using local
transport in CXF.
https://cwiki.apache.org/confluence/display/CXF20DOC/JAXRS+Testing#JAXRSTesting-LocalTransport
I had few questions:
1. Is it required to add certain dependency in my pom to include local
transport?
http://mvnrepository.com/artifact/org.apache.cxf/cxf-rt-transports-local
Yes, I've updated the wiki with the dependency details
2. I am getting certain errors when I tried to test using exactly the
same way as described in documentation example but I am getting errors.
What exactly does not work ?
Also, it would be great if the documentation can be updated with more
details. For e.g. What exactly is the MyResource class in your class. Is
it equivalent to the class where we define all the @Paths?
MyResource.class is a test root resource, I did not type the code for it
as I thought it was not important in scope of this wiki page to detail
how MyResource.class may be implemented, but may be I should...
Cheers, Sergey
Best Regards,
Rahul Panjrath