Amit,
In your config.xml files that you pass to wscompile you need to specify
an "additionalTypes" element to specify
types that are used by your SEI indirectly. Here is an example config.xml.
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="
http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="Interface_Service"
targetNamespace="
http://echoservice.org/wsdl"
typeNamespace="
http://echoservice.org/types"
packageName="stub_tie_generator_test">
<interface name="stub_tie_generator_test.Interface"
servantName="stub_tie_generator_test.InterfaceImpl"/>
<typeMappingRegistry>
<additionalTypes>
<class name="com.netcore.psmw.rss.Channel/>
</additionalTypes>
</typeMappingRegistry>
</service>
</configuration>
Amit Soni wrote:
> Hi all,
>
> Right now i am started using jax-rpc with jwsdp
>
> Right now i am using my interface and implementation and
>
> using wscompile and wsdeploy i am generating wsdl file and
>
> use that file to compile and run client program.
>
> On of my method contains return type as map.
>
> the name of that map is string and value is custom object.
>
> and because of that it gives me error like
> SEVERE: serialization error: no serializer is registered for (class
> com.netcore.psmw.rss.Channel, null)
>
> serialization error: no serializer is registered for (class
> com.netcore.psmw.rss.Channel, null)
>
> so can i need some configuration or other please help me out for this.
>
> Thanks,
>
> Amit Soni
>
>
> ----------------------------------------------------------
> Netcore Solutions Pvt. Ltd.
> Website: http://www.netcore.co.in
> Spamtraps: http://cleanmail.netcore.co.in/directory.html
>
> Support FAQ : http://support.netcore.co.in/
> ----------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
--
- Doug