Jonathan, No, you are not restricted to strings for return values. You *are* restricted to types that have associated serializers. You can:
1) Use the built-in (de)serializers (e.g. for strings, booleans, arrays, etc.) 2) Use the WSDL2Java tool to generate server/client side code 3) Write your own (de)serializer. See the axis docs for a description of configuring your own serializers via a .wsdd file (section "Deploying custom mappings"): http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user-guide.h tml and see the org.apache.axis.encoding api for how to create a custom serializer/deserializer: Good luck! alan -----Original Message----- From: Jonathan [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 6:05 PM To: [EMAIL PROTECTED] Subject: are all return values strings? Hello. Are return values from a service restricted to Strings, or just anything implementing the "Serializable" interface? At some point the return values have to be serialized into xml, or some String value. How should I do this?
