You don't have a method which takes the enum as parameter. You should use
ImageBytes getImage(String barCode, COMMAND command) ...
Not sure if the enum has to be in its own compilation unit. If it still
doesn't work you may want to try that next.
Werner
On 20.08.2007 15:03, Matthew Kerle wrote:
hmm, ok, I added an enum to the interface and still no go, I must be
doing something simple wrong. please see below my interface and the
generated WSDL (packages & comments deleted).
How can I get xFire to publish the enum to my WSDL?
/*******************************************************************************************/
//The service definition in Java, complex data types not included
@WebService
public interface ImageService {
enum COMMAND {IMAGE, THUMBNAIL};
@WebMethod
public String echo(String name);
@WebMethod
public boolean testLogin()throws Exception;
@WebMethod
public String testDataSource();
@WebMethod
public LookupValue[] enumerateLOV(String type) throws Exception;
@WebMethod
public ISearchResult[] doSearch(ISearchQuery queryObject)throws
Exception;
@WebMethod
public ImageDetail getImageDetail(String barCode)throws Exception;
@WebMethod
public ImageBytes getImage(String barCode, String command)throws
Exception;
@WebMethod
public CreatorDetails getCreatorDetail(String creatorName)throws
Exception;
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email