Hi,

This is a long pending issue which I'm hoping to fix in 2.2.2-SNAPSHOT
We need to think how to represent the metadata for (restful) services in
a number of ways.
WADL would likely be an obvious answer but I'd like to think what is
that that we can do differently in this regard...

For ex, what would you expect to see when clicking on such (yet
nonexistent) links ? WADL ? What about WSDL 2.0 ? Many users do combine
JAXRS & JAXWS so perhaps in such cases we can offer an option of showing
the metadata using WSDL 2.0 (in addition to WADL for JAXRS services). We
have few other ideas on how to present the metadata but for we need to
find some good time for this task to be done...

Cheers, Sergey 



-----Original Message-----
From: Stopp, Bryan [mailto:[email protected]] 
Sent: 01 May 2009 20:01
To: [email protected]
Subject: List Restful WebServices

After some struggling i was finally able a JAX-RS webservice (using
annotations) up and running. The problem is i can't seem to located the
webservice!
 
My CXF Servlet is set up to respond on URL
 
/monitor/
 
And my webService is coded-up ala:
 
 
@Path("/monitor/")
public class MonitorTest {

 
    @GET
    public Response runTest() {
        System.out.println("Hit the test!!!");
        return Response.ok().build();
    }
 
}
 
 
When i start my tomcat i see this in the logs:
 
INFO: Setting the server's publish address to be /monitor/

 

And when hit the url: http://localhost:8080/jaxrs-tests/monitor/
<http://localhost:8080/jaxrs-tests/monitor/>   I see "Available
Services:" but nothing else listed. I also tried
http://localhost:8080/jaxrs-tests/monitor/services/
<http://localhost:8080/jaxrs-tests/monitor/services/>  but got the same
result.

Can anyone tell me how to find out what my webservice's URL is?

 

-B 

 

PRIVILEGED AND CONFIDENTIAL
This email transmission contains privileged and confidential information
intended only for the use of the individual or entity named above.  If
the reader of the email is not the intended recipient or the employee or
agent responsible for delivering it to the intended recipient, you are
hereby notified that any use, dissemination or copying of this email
transmission is strictly prohibited by the sender.  If you have received
this transmission in error, please delete the email and immediately
notify the sender via the email return address or
mailto:[email protected].  Thank you.



Reply via email to