Hi, I am novice for Axis and I have implemented with success a simple sample using Bean Serializer for complex type parameters and another sample using Holder classes for basic types output parameters ( such as String ). Now I want to use complex types as output parameters. So I think I have "mix" my 2 samples: the Bean Serializer with Holder classes. But I have not had success. I want return an OrderInfo object then I create the OrderInfoHolder class. My questions are:
1-) Could the file below to be a correct wsdd file for a OrderInfo( a bean like ) class returned as an OUT parameter ?? <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <service name="MMSPriceLookup" provider="java:RPC"> <parameter name="className" value="mms.MMS_Server"/> <parameter name="allowedMethods" value="*"/> <operation name="getPrice"> <parameter name="arg1" mode="IN"/> <parameter name="arg2" mode="OUT"/> <beanMapping qname="myNS:OrderInfo" xmlns:myNS="urn:BeanService" languageSpecificType="ja va:OrderInfo"/> </operation> </service> </deployment> 2-) In call.registerTypeMapping() call in client should I keep the same call ( as below ), or do I have replace the OrderInfo with the OrderInfoHolder class: call.registerTypeMapping(OrderInfo.class, qn, new org.apache.axis.encoding.ser.BeanSerializerFactory(OrderInfo.class, qn), new org.apache.axis.encoding.ser.BeanDeserializerFactory(OrderInfo.class, qn)); Regards, Frederico Faria _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
