I got it working using SimpleSerializerFactory and SimpleDeserializerFactory for both java.util.LinkedList$ListItr and org.apache.axis.message.MimeHeaders
Thanks, Prasad. On 4/30/07, Prasad Viswatmula <[EMAIL PROTECTED]> wrote:
I am using the client-config.wsdd and I am able to fix the above error. Now, I am getting the error for MimeHeaders. What factories do I need to use to map this. Thanks, Prasad On 4/30/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > For Axis 1.x, you can define type mappings either in the code or in a > client-config file. > > Anne > > On 4/30/07, Prasad Viswatmula <[EMAIL PROTECTED]> wrote: > > Igor, > > > > My client is accessing a WS deployed in WebLogic. As such, I dont have a > > WSDD. Then, how do I do the following mapping. > > > > Regards, > > Prasad > > > > > > On 4/29/07, Igor Dayen <[EMAIL PROTECTED]> wrote: > > > > > > > > > I would suggest take a look at WSDL first and check for namespace and > > qname. Copy thereafter ns / qname into typemapping element of WSDD for Axis > > 1.x, see below. > > > > > > <typeMapping xmlns:ns="some-name-space" > > > qname="ns:Array_Of_any" > > > type="java:java.util.LinkedList > > > serializer=" > > org.apache.axis.encoding.ser.ArraySerializerFactory" > > > > > deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" > > > encodingStyle="" > > > /> > > > > > > > > > You may also try to employ VectorSerializerFactory / > > VectorDeserializerFactory > > > > > > Regards. > > > > > > > > > > > > > > > ----- Original Message ----- > > > From: Prasad Viswatmula > > > To: axis-user@ws.apache.org > > > Sent: Saturday, April 28, 2007 11:45 PM > > > Subject: Help - No serializer found for class java.util.LinkedList$ListItr > > > > > > > > > Hi, > > > > > > I am getting the following error while running my axis web service client. > > I am calling the service using static proxy approach. > > > > > > Thanks, > > > Prasad > > > > > > - Exception: > > > java.io.IOException: No serializer found for class > > java.util.LinkedList$ListItr in registry > > [EMAIL PROTECTED] > > > at > > org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1507) > > > at > > org.apache.axis.encoding.SerializationContext.serialize( > > SerializationContext.java:980) > > > at > > org.apache.axis.encoding.SerializationContext.serialize > > (SerializationContext.java :734) > > > at > > org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230) > > > at > > org.apache.axis.encoding.SerializationContext.serializeActual > > (SerializationContext.java :1504) > > > at > > org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980) > > > at > > org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java :801) > > > at org.apache.axis.message.RPCParam.serialize > > (RPCParam.java:208) > > > at > > org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433) > > > at > > org.apache.axis.message.MessageElement.output (MessageElement.java:1208) > > > at org.apache.axis.message.SOAPBody.outputImpl > > (SOAPBody.java:139) > > > at > > org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478) > > > at > > org.apache.axis.message.MessageElement.output(MessageElement.java:1208) > > > at org.apache.axis.SOAPPart.writeTo(SOAPPart.java :315) > > > at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269) > > > at > > org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530) > > > at > > org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount > > (AttachmentsImpl.java:554) > > > at > > org.apache.axis.Message.getContentType(Message.java:486) > > > at > > org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343) > > > at org.apache.axis.transport.http.HTTPSender.invoke > > (HTTPSender.java:138) > > > at > > org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) > > > at > > org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) > > > at org.apache.axis.SimpleChain.invoke(SimpleChain.java > > :83) > > > at > > org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) > > > at > > org.apache.axis.client.Call.invokeEngine (Call.java:2784) > > > at org.apache.axis.client.Call.invoke(Call.java:2767) > > > at org.apache.axis.client.Call.invoke (Call.java:2443) > > > at org.apache.axis.client.Call.invoke(Call.java:2366) > > > at org.apache.axis.client.Call.invoke(Call.java:1812) > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]