Hello,

I am trying to figure out how to write a JUnit test case that can test my
service endpoint outside of the servlet container. My axis service endpoint
extends springs ServletEndpointSupport but I cannot seem to find any mock
objects that will help me initialize this object correctly.

To initialize the servlet, I need to call the init method from the
ServiceLifecycle Interface:

init(Object context)

Trouble is, the context here is of the type
javax.xml.rpc.server.ServletEndpointContext. As I mentioned earlier, I have
been unable to find any Mock objects for this class. Can someone point me to
an example?

Regards,

Josh

Reply via email to