users@jax-rpc.java.net

xrpcc does not pick up my serializer

From: Hrishikesh Bhagwat <Hrishikesh.Bhagwat_at_XORIANT.COM>
Date: Mon, 08 Apr 2002 16:05:46 +0530

> hi,
>
> On my client side, i have the following config.xml file. I have indicated
> type mapping in it however this doesn't seem to affect the working of
> xrpcc tool any bit. It still makes its own Address_SOAPSerializer class.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <configuration
> xmlns="http://java.sun.com/jax-rpc-ri/xrpcc-config">
> <wsdl name="InfoRMI" location="./build/InfoRMI.wsdl"
> packageName="edu.ws">
> <typeMappingRegistry>
> <typeMapping
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
> <entry schemaType="ns1:Address"
> javaType="edu.ws.AddressOnClientSide"
> serializerFactory="com.edu.AddressSerializer"
> deserializerFactory="com.edu.AddressSerializer"
> xmlns:ns1="http://xoriant.com/types"/>
> </typeMapping>
> </typeMappingRegistry>
> </wsdl>
> </configuration>
>
> I have also attached is the WSDL file. Could you please tell me what i
> should do so that
> the framework starts using my Serializer.
>
> Hrishikesh Bhagwat
>
> <<InfoRMI.wsdl>>
>
> Victory, at all costs;
> Victory, in the spirit of all fears;
> Victory, however hard and long the road may be
> because without Victory,
> there is NO SURVIVAL
>