Hi, i am testing a simple example but it throws an error and i dont know
the reason.
The example simply is a web service in the server that was deployed using this DepoymentDescriptor: <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" id="urn:perro"> <isd:provider type="java" scope="Application" methods="writePerro"> <isd:java class="mati.FirstServiceWithPerro" static="false" /> </isd:provider> <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener> <isd:mappings> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding" xmlns:x="urn:matiasNameSpace" qname="x:perro" javaType="mati.Perro" java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer" /> </isd:mappings> </isd:service> The client create a SoapMappingRegistry: BeanSerializer _BenSerializer=new BeanSerializer(); SOAPMappingRegistry _SOAPMappingRegistry = new SOAPMappingRegistry(); QName aQName = new QName("urn:matiasNameSpace", "perro"); _SOAPMappingRegistry.mapTypes(Constants.NS_URI_SOAP_ENC, aQName, mati.Perro.class, _BenSerializer, _BenSerializer); and then it is set to the call: call.setSOAPMappingRegistry(_SOAPMappingRegistry); But when i execute the client there was an error like this: No Serializer found to serialize a 'org.apache.soap.rpc.Parameter' using encoding style 'null'. Thanks in advance, Matias. |