[jbosstools-issues] [JBoss JIRA] (JBIDE-10609) Hook up WS Tester to the JAX-RS tooling
Xavier Coulon (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Jan 10 04:24:09 EST 2012
[ https://issues.jboss.org/browse/JBIDE-10609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654824#comment-12654824 ]
Xavier Coulon commented on JBIDE-10609:
---------------------------------------
Hi Brian,
If you want to get information about the JAX-RS Metamodel, here are some inputs to help you:
Using the org.jbosstools.ws.jaxrs.core plugin, you can access the Metamodel associated with a given Project (or JavaProject) by doing:
{code}
org.jboss.tools.ws.jaxrs.core.metamodel.JaxrsMetamodelLocator.get(IJavaProject)
{code}
This method will return you with an instance of IJaxrsMetamodel from which you can retrieve the JaxrsEndpoints:
{code}
org.jboss.tools.ws.jaxrs.core.metamodel.domain.IJaxrsMetamodel.getAllEndpoints()
{code}
In the JAX-RS plugin, Endpoints are composed of :
- an HttpMethod from which you can get the 'http verb' (GET, POST, PUT, etc.)
- an UriPathTemplate (eg /rest/customers/{id})
- Consumed and provided media-types (or '*/*' if nothing was specified)
> Hook up WS Tester to the JAX-RS tooling
> ---------------------------------------
>
> Key: JBIDE-10609
> URL: https://issues.jboss.org/browse/JBIDE-10609
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: Webservices
> Affects Versions: 3.3.0.M5
> Reporter: Brian Fitzpatrick
> Assignee: Xavier Coulon
> Fix For: 3.3.0.Beta1
>
>
> Two different presentations today proved that there need to be more integration points to simplify access to the JBoss WS Tester.
> Currently in Eclipse with WTP installed, if you right-click on a WSDL file, you see "web services->test with web services explorer"
> We need to do the same thing for the JBT WS tester.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list