Results 1 to 2 of 2

Thread: Could not find deserializer

  1. #1
    Join Date
    Nov 2006
    Posts
    3

    Default Could not find deserializer

    Hi all,
    I can't resolve the "could not find deserializer" exception. I use document/literal encoding and my configuration is the next one :

    <bean id="storeServiceSoap" class="***.StoreSoapProxyFactoryBean">
    <property name="serviceFactoryClass">
    <value>org.apache.axis.client.ServiceFactory</value>
    </property>
    <property name="wsdlDocumentUrl">
    <value>http://localhost:8080/Store_v13.wsdl</value>
    </property>
    <property name="namespaceUri">
    <value>http://com.***.enabler.sei/StoreEnabler/v13/StoreSEI</value>
    </property>
    <property name="serviceName">
    <value>Store</value>
    </property>
    <property name="portName">
    <value>StoreServiceSoap</value>
    </property>
    <property name="portInterface">
    <value>***.StoreServiceSoap</value>
    </property>
    <property name="serviceInterface">
    <value>***.StoreSoapService</value>
    </property>
    </bean>

    And my factory bean :
    ***
    protected void postProcessJaxRpcService(Service service) {
    TypeMappingRegistry registry = service.getTypeMappingRegistry();
    TypeMapping mapping = registry.createTypeMapping();
    registerBeanMapping(mapping, GetServerVersionSoapIn.class, "GetServerVersionSoapIn");
    registerBeanMapping(mapping, GetServerVersionSoapOut.class, "GetServerVersionSoapOut");
    registry.register("", mapping);
    }

    protected void registerBeanMapping(TypeMapping mapping, Class type, String name) {
    QName qName = new QName("http://***.params/StoreEnabler/v13/StoreSEI", name);
    mapping.register(type, qName,
    new BeanSerializerFactory(type, qName),
    new BeanDeserializerFactory(type, qName));
    }

    The exception :
    org.xml.sax.SAXException: Deserializing parameter 'GetServerVersionSoapOut': could not find deserializer for type {http://***.params/StoreEnabler/v13/StoreSEI}>GetServerVersionSoapOut

    Any help would be very useful because I read some threads reporting the same error on this forum and tried some solutions but I can't solve my problem anyway.

    Many thanks
    och

  2. #2

    Default Is it resolved?

    I having the same problem.

    Please let me know how to fix this?

    Thanks,
    Laks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •