Doug Kohlert wrote:
> 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
>>
>>
>
Hi Doug Kohlert,
Thanks for the reply. Using this configuration it is sucessfull on
server side but now client side it gives the same error
here my *server config.xml* is like::
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="
http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="PSMWService"
targetNamespace="
http://psmw.org/wsdl"
typeNamespace="
http://psmw.org/types"
packageName="com.netcore.psmw.soap">
<interface
name="com.netcore.psmw.soap.PSMWInterface"
servantName="com.netcore.psmw.core.PSMWImpl">
</interface>
<typeMappingRegistry>
<additionalTypes>
<class name="com.netcore.psmw.rss.Class"/>
</additionalTypes>
</typeMappingRegistry>
</service>
</configuration>
*client config.xml* is::
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
-->
<configuration xmlns="
http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl
location="
http://localhost:8080/psmw/psmw?WSDL"
packageName="com.netcore.psmw.soap">
<typeMappingRegistry>
<additionalTypes>
<class name="com.netcore.psmw.rss.Channel"/>
</additionalTypes>
</typeMappingRegistry>
</wsdl>
</configuration>
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/
----------------------------------------------------------