@GET
@Path("/base?{entity}Key={key}")
@Produces("application/xml")
@org.apache.cxf.jaxrs.model.wadl.Description("Returns the
selected UDDI entity as XML per section 6.5 of the UDDIv3
specification. Use businessKey, tmodelKey, bindingKey or serviceKey ")
public Object getEntityAsXML(@PathParam("entity") String
entity,@PathParam("key") String key) throws WebApplicationException {
}
basically i'm writing an adapter for juddi that implements this:
http://uddi.org/pubs/uddi-v3.0.2-20041019.htm#_Toc85908158
On Fri, Dec 6, 2013 at 7:26 AM, António Mota <[email protected]> wrote:
> What are you trying to do? Can you post some examples? And also what is the
> signature of the method you are annotating?
>
>
> * Melhores cumprimentos / Beir beannacht / Best regards *
> *______________________________________________________*
>
> *António Manuel dos Santos Mota <http://gplus.to/amsmota>*
> *http://www.linkedin.com/in/amsmota* <http://www.linkedin.com/in/amsmota>
> *______________________________________________________*
>
>
> On 6 December 2013 12:06, Alex O'Ree <[email protected]> wrote:
>
>> Can I setup a REST path something similar to this?
>>
>> @Path("/base?{entity}Key={key}")
>>
>> When attempting to execute that path, I get the following error
>>
>> WARNING: No operation matching request path
>> "/juddiv3/services/inquiryRest/base" is found, Relative Path: /base,
>> HTTP Me
>> thod: GET, ContentType: */*, Accept:
>>
>> text/html,application/xhtml+xml,image/webp,application/xml;q=0.9,*/*;q=0.8,.
>> Please
>> enable FINE/TRACE log level for more details.
>>
>> Here's what my pom has
>> <dependency>
>> <groupId>org.apache.cxf</groupId>
>> <artifactId>cxf-bundle-jaxrs</artifactId>
>> <version>2.7.5</version>
>> <scope>provided</scope>
>> </dependency>
>>