yup, now it works:
<xsd:simpleType name="COMMAND">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="IMAGE"/>
<xsd:enumeration value="THUMBNAIL"/>
</xsd:restriction>
</xsd:simpleType>
<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="tns:COMMAND"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

thanks Werner!

Werner Lehmann wrote:
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


--
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