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;

}
/*******************************************************************************************/
// the generated wsdl...
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://webservice.service.myapp" xmlns:ns2="http://model.service.myapp" xmlns:ns1="http://vo.service.myapp" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://webservice.service.myapp" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://webservice.service.myapp">
<xsd:element name="testLogin">
<xsd:complexType/>
</xsd:element>
<xsd:element name="testLoginResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getImageDetail">
<xsd:complexType>

<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getImageDetailResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:ImageDetail"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getCreatorDetail">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string"/>
</xsd:sequence>

</xsd:complexType>
</xsd:element>
<xsd:element name="getCreatorDetailResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:CreatorDetails"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="enumerateLOV">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="enumerateLOVResponse">

<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:ArrayOfLookupValue"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="testDataSource">
<xsd:complexType/>
</xsd:element>
<xsd:element name="testDataSourceResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ArrayOfInt">

<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="int" nillable="true" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="doSearch">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="ns2:ISearchQuery"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="doSearchResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns2:ArrayOfISearchResult"/>
</xsd:sequence>
</xsd:complexType>

</xsd:element>
<xsd:element name="getImage">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="getImageResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:ImageBytes"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="echo">

<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="echoResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://vo.service.myapp">
<xsd:complexType name="ImageDetail">
<xsd:sequence>

<xsd:element minOccurs="0" name="barcodeNumber" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="cdNumber" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="cdVersions" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="collection" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="comments" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="commonName" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="condition" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="copyrightComments" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="creator" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="geoRegion" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="ibraRegion" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageDate" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageDesc" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageFilename" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageFormat" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imagePeople" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imagePlace" nillable="true" type="xsd:string"/>

<xsd:element minOccurs="0" name="imageTitle" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageVisibility" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imcraRegion" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="keywords" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="licenseExpiryDate" type="xsd:dateTime"/>
<xsd:element minOccurs="0" name="owner" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="parkName" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="placeId" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="privacyConsent" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="privacyDetails" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="publicFlag" type="xsd:string"/>
<xsd:element minOccurs="0" name="recCreateDate" type="xsd:dateTime"/>
<xsd:element minOccurs="0" name="recCreatedBy" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="recUpdateDate" type="xsd:dateTime"/>
<xsd:element minOccurs="0" name="speciesName" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="storageLocation" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="terms" nillable="true" type="xsd:string"/>

<xsd:element minOccurs="0" name="trimFileNo" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="usedIn" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CreatorDetails">
<xsd:sequence>
<xsd:element minOccurs="0" name="address" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="comments" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="email" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="fax" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="name" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="phone" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="postalAddress" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="roles" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="url" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="ArrayOfLookupValue">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="LookupValue" nillable="true" type="ns1:LookupValue"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LookupValue">
<xsd:sequence>
<xsd:element minOccurs="0" name="concatId" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="id" nillable="true" type="xsd:int"/>
<xsd:element minOccurs="0" name="type" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="value" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ImageBytes">
<xsd:sequence>
<xsd:element minOccurs="0" name="barCode" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="command" nillable="true" type="xsd:string"/>

<xsd:element minOccurs="0" name="image" nillable="true" type="xsd:base64Binary"/>
<xsd:element minOccurs="0" name="imageFormat" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://model.service.myapp">
<xsd:complexType name="ISearchQuery">
<xsd:sequence>
<xsd:element minOccurs="0" name="collectionId" nillable="true" type="tns:ArrayOfInt"/>
<xsd:element minOccurs="0" name="copyrightOwnerId" nillable="true" type="tns:ArrayOfInt"/>
<xsd:element minOccurs="0" name="geoRegionId" nillable="true" type="tns:ArrayOfInt"/>
<xsd:element minOccurs="0" name="imageCreatorId" nillable="true" type="tns:ArrayOfInt"/>
<xsd:element minOccurs="0" name="imageVisibility" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="keyword" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="keywordId" nillable="true" type="tns:ArrayOfInt"/>
<xsd:element minOccurs="0" name="orderBy" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="parkId" nillable="true" type="tns:ArrayOfInt"/>

<xsd:element minOccurs="0" name="placeId" nillable="true" type="xsd:int"/>
<xsd:element minOccurs="0" name="publicFlag" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="term" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="termId" nillable="true" type="tns:ArrayOfInt"/>
<xsd:element minOccurs="0" name="barcode" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="collection" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="copyrightComments" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="copyrightCondition" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="copyrightOwner" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="geoRegion" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageCreator" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageDescription" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageLocation" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageTitle" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="parkName" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="ArrayOfISearchResult">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="ISearchResult" nillable="true" type="ns2:ISearchResult"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ISearchResult">
<xsd:sequence>
<xsd:element minOccurs="0" name="barcode" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="collection" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="copyrightComments" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="copyrightCondition" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="copyrightOwner" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="geoRegion" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageCreator" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageDescription" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageLocation" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="imageTitle" nillable="true" type="xsd:string"/>

<xsd:element minOccurs="0" name="imageVisibility" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="parkName" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="publicFlag" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
  </wsdl:types>
  <wsdl:message name="getImageDetailRequest">
    <wsdl:part name="parameters" element="tns:getImageDetail">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getImageResponse">

    <wsdl:part name="parameters" element="tns:getImageResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getImageDetailResponse">
    <wsdl:part name="parameters" element="tns:getImageDetailResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="echoRequest">
    <wsdl:part name="parameters" element="tns:echo">

    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="enumerateLOVResponse">
    <wsdl:part name="parameters" element="tns:enumerateLOVResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getImageRequest">
    <wsdl:part name="parameters" element="tns:getImage">
    </wsdl:part>

  </wsdl:message>
  <wsdl:message name="doSearchRequest">
    <wsdl:part name="parameters" element="tns:doSearch">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="echoResponse">
    <wsdl:part name="parameters" element="tns:echoResponse">
    </wsdl:part>
  </wsdl:message>

  <wsdl:message name="testDataSourceRequest">
    <wsdl:part name="parameters" element="tns:testDataSource">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="doSearchResponse">
    <wsdl:part name="parameters" element="tns:doSearchResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="getCreatorDetailResponse">

    <wsdl:part name="parameters" element="tns:getCreatorDetailResponse">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="testLoginRequest">
    <wsdl:part name="parameters" element="tns:testLogin">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="testDataSourceResponse">
    <wsdl:part name="parameters" element="tns:testDataSourceResponse">

    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="enumerateLOVRequest">
    <wsdl:part name="parameters" element="tns:enumerateLOV">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="testLoginResponse">
    <wsdl:part name="parameters" element="tns:testLoginResponse">
    </wsdl:part>

  </wsdl:message>
  <wsdl:message name="getCreatorDetailRequest">
    <wsdl:part name="parameters" element="tns:getCreatorDetail">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="ImageServicePortType">
    <wsdl:operation name="testLogin">
      <wsdl:input name="testLoginRequest" message="tns:testLoginRequest">
    </wsdl:input>

      <wsdl:output name="testLoginResponse" message="tns:testLoginResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getImageDetail">
      <wsdl:input name="getImageDetailRequest" message="tns:getImageDetailRequest">
    </wsdl:input>
      <wsdl:output name="getImageDetailResponse" message="tns:getImageDetailResponse">
    </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="getCreatorDetail">
      <wsdl:input name="getCreatorDetailRequest" message="tns:getCreatorDetailRequest">
    </wsdl:input>
      <wsdl:output name="getCreatorDetailResponse" message="tns:getCreatorDetailResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="enumerateLOV">
      <wsdl:input name="enumerateLOVRequest" message="tns:enumerateLOVRequest">
    </wsdl:input>

      <wsdl:output name="enumerateLOVResponse" message="tns:enumerateLOVResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="testDataSource">
      <wsdl:input name="testDataSourceRequest" message="tns:testDataSourceRequest">
    </wsdl:input>
      <wsdl:output name="testDataSourceResponse" message="tns:testDataSourceResponse">
    </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="doSearch">
      <wsdl:input name="doSearchRequest" message="tns:doSearchRequest">
    </wsdl:input>
      <wsdl:output name="doSearchResponse" message="tns:doSearchResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getImage">
      <wsdl:input name="getImageRequest" message="tns:getImageRequest">
    </wsdl:input>

      <wsdl:output name="getImageResponse" message="tns:getImageResponse">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="echo">
      <wsdl:input name="echoRequest" message="tns:echoRequest">
    </wsdl:input>
      <wsdl:output name="echoResponse" message="tns:echoResponse">
    </wsdl:output>
    </wsdl:operation>

  </wsdl:portType>
  <wsdl:binding name="ImageServiceHttpBinding" type="tns:ImageServicePortType">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="testLogin">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="testLoginRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="testLoginResponse">

        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getImageDetail">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getImageDetailRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="getImageDetailResponse">

        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getCreatorDetail">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getCreatorDetailRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="getCreatorDetailResponse">

        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="enumerateLOV">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="enumerateLOVRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="enumerateLOVResponse">

        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="testDataSource">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="testDataSourceRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="testDataSourceResponse">

        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="doSearch">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="doSearchRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="doSearchResponse">

        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getImage">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="getImageRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="getImageResponse">

        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="echo">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="echoRequest">
        <wsdlsoap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="echoResponse">

        <wsdlsoap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="ImageService">
    <wsdl:port name="ImageServiceHttpPort" binding="tns:ImageServiceHttpBinding">
      <wsdlsoap:address location="http://localhost:8080/imgws/services/ImageService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
/*******************************************************************************************/


Werner Lehmann wrote:
The magic string argument is either "IMAGE" or "THUMBNAIL"? Then use an enum, e.g.

enum ImageSize { IMAGE, THUMBNAIL }

instead of the string. Enums are supported in the WSDL.

Werner

On 20.08.2007 06:02, Matthew Kerle wrote:
Hi all,

xfire: 1.2.6 (using JSR181 annotation factory)
java: 1.6.0_01
tomcat: 5.5.23

bit of a funny question, one of the methods exposed by my web service requires the client to pass in a "magic string" so that the service can route the request properly. the method asks for the bytes of an image by it's id, and returns either the full image, or a thumbnail version of the image depending on whether the client passed in the String "IMAGE" or "THUMBNAIL".

Now, I don't want to write two methods to encapsulate this, I like the current method, the only thing is that I want to expose the magic strings to the client via the WSDL so that they don't need to magically 'know' the correct argument, they can just get it from their generated stubs.

Does anyone know how to do this? I've tried just adding the fields to the interface, but they aren't picked up by the WSDL (I restarted tomcat after the edit, no change). Is there something else I should do? I'm using jsr181 so maybe I'm missing an annotation?


@WebService
public interface ImageService {
    public static final String THUMBNAIL = "THUMBNAIL";
    public static final String IMAGE = "IMAGE";
    //web service methods...
}

thanks!
-- 
* Matthew Kerle
* * IT Consultant *
* Canberra, Australia *


--
Matthew Kerle
IT Consultant
Canberra, Australia

Mobile: +61404 096 863
Email:    
[EMAIL PROTECTED]
Web:     
Matthew Kerle
--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

Reply via email to