I have a web application running on JBoss 5 that is tying to make a 
resteasy client call to another REST web application. The resteasy API 
is defined as follows:

package com.orci.vicads.PsiaAPI.services;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

  * Copyright (c) 2012, Open Roads Consulting, Inc.
public interface PSIA {

      * PSIA command.
      * @return the response
     String getSystemDeviceInformation();

I make the call as follows:

   PSIA proxy = ProxyFactory.create(PSIA.class, "";);
   String result = proxy.getSystemDeviceInformation();

However, I get the error:

Error scanning: java.lang.RuntimeException: You must use at least one, 
but no more than one http method annotation on: public abstract 

Any idea what I may be doing wrong? Could it be some kind of class 
loader issue with JBoss?
Thanks, David


David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: drrobi...@openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526

This email communication (including any attachments) may contain confidential 
and/or privileged material intended solely for the individual or entity to 
which it is addressed.
If you are not the intended recipient, please delete this email immediately.

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Resteasy-users mailing list

Reply via email to