I also see following code in the AddressSoapBindingStub.java
I need urgent help since I am preparing for demo.  Thank you.


           java.lang.Class beansf =
org.apache.axis.encoding.ser.BeanSerializerFactory.class;
            java.lang.Class beandf =
org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
            qName = new
javax.xml.namespace.QName("http://address.jaxrpc.samples";,
"AddressBean");
            cachedSerQNames.add(qName);
            cls = samples.jaxrpc.address.AddressBean.class;
            cachedSerClasses.add(cls);
            cachedSerFactories.add(beansf);
            cachedDeserFactories.add(beandf);


--- Vipul Sagare <[EMAIL PROTECTED]> wrote:

> BTW:  deploy.wsdd has
>       <typeMapping
>         xmlns:ns="http://address.jaxrpc.samples";
>         qname="ns:AddressBean"
>         type="java:samples.jaxrpc.address.AddressBean"
>        
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        
> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>         encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>       />
> 
> 
> 
> --- Vipul Sagare <[EMAIL PROTECTED]> wrote:
> 
> > 
> > I have samples.jaxrpc.address service running in one container. 
> When
> > I
> > tried to access the service through another web container, I get
> "No
> > serializer found" error.  axis.jar is in the classpath.  When I
> > access
> > the service through standalone client, no client errors and works
> > fine.
> > 
> > Any ideas? Do I need custom serializer(I should not. right?)  
> > 
> > Thank you.
> > 
> > AxisFault
> >  faultCode:
> > {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >  faultSubcode:
> >  faultString: java.io.IOException: No serializer found for class
> > samples.jaxrpc.
> > address.AddressBean in registry
> > [EMAIL PROTECTED]
> > 0e3b
> >  faultActor:
> >  faultNode:
> >  faultDetail:
> >        
> {http://xml.apache.org/axis/}stackTrace:java.io.IOException:
> > No
> > serializ
> > er found for class samples.jaxrpc.address.AddressBean in registry
> > org.apache.axi
> > [EMAIL PROTECTED]
> >         at
> >
> org.apache.axis.encoding.SerializationContext.serializeActual(Seriali
> > zationContext.java:1429)
> >         at
> >
> org.apache.axis.encoding.SerializationContext.serialize(Serialization
> > Context.java:914)
> > 
> > 
> > 
> > 

Reply via email to