| Author |
problem when invoking an operation using axis 1.4
|
Rafa Barcel� Bauz�
Greenhorn
Joined: Aug 09, 2006
Posts: 22
|
|
Hello folks: Can someone help me. I have this Exception when executing this piece of code: ***org.xml.sax.SAXException: No deserializer for {http://schemas.xmlsoap.org/soap/encoding/}string*** It's possible the problem is the java.util.Map (params) that is passed in the invoke method??? private void executeCalculoTasa(int codigoTramite) throws Exception { Map params = new HashMap(); params.put("DATAINICI", "2007-01-03"); params.put("DATAFINAL", "2007-12-31"); params.put("SUPERFICIE", "89"); Call call = (Call) new Service().createCall(); call.setTargetEndpointAddress(new URL("http://194.106.16.44:9090/calvixis/services")); call.setOperationName(new QName("DadesTramit", "calcTaxa")); BigDecimal response = (BigDecimal) call.invoke(new Object[]{new Integer(codigoTramite),params}); System.out.println("response=" + response); } ______________________________________________ This is the wsdl user for: <?xml version="1.0" encoding="UTF-8"?> <wsdl efinitions targetNamespace="http://tramit.admonline.model" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://tramit.admonline.model" xmlns:intf="http://tramit.admonline.model" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!--WSDL created by Apache Axis version: 1.2.1 Built on Jun 14, 2005 (09:15:57 EDT)--> <wsdl:types> <schema elementFormDefault="qualified" targetNamespace="http://tramit.admonline.model" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://xml.apache.org/xml-soap"/> <element name="calcTaxa"> <complexType> <sequence> <element name="kTramit" type="xsd:int"/> <element name="param" type="apachesoap:Map"/> </sequence> </complexType> </element> <element name="calcTaxaResponse"> <complexType> <sequence> <element name="calcTaxaReturn" type="xsd ecimal"/> </sequence> </complexType> </element> </schema> <schema elementFormDefault="qualified" targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema"> <complexType name="mapItem"> <sequence> <element name="key" nillable="true" type="xsd:anyType"/> <element name="value" nillable="true" type="xsd:anyType"/> </sequence> </complexType> <complexType name="Map"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/> </sequence> </complexType> </schema> </wsdl:types> <wsdl:message name="calcTaxaResponse"> <wsdl art element="impl:calcTaxaResponse" name="parameters"/> </wsdl:message> <wsdl:message name="calcTaxaRequest"> <wsdl art element="impl:calcTaxa" name="parameters"/> </wsdl:message> <wsdl ortType name="DadesTramit"> <wsdl peration name="calcTaxa"> <wsdl:input message="impl:calcTaxaRequest" name="calcTaxaRequest"/> <wsdl utput message="impl:calcTaxaResponse" name="calcTaxaResponse"/> </wsdl peration> </wsdl ortType> <wsdl:binding name="DadesTramitSoapBinding" type="impl adesTramit"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl peration name="calcTaxa"> <wsdlsoap peration soapAction=""/> <wsdl:input name="calcTaxaRequest"> <wsdlsoap:body use="literal"/> </wsdl:input> <wsdl utput name="calcTaxaResponse"> <wsdlsoap:body use="literal"/> </wsdl utput> </wsdl peration> </wsdl:binding> <wsdl:service name="DadesTramitService"> <wsdl ort binding="impl adesTramitSoapBinding" name="DadesTramit"> <wsdlsoap:address location="http://194.106.16.44:9090/calvixis/services/DadesTramit"/> </wsdl ort> </wsdl:service> </wsdl efinitions>
|
 |
 |
|
|
subject: problem when invoking an operation using axis 1.4
|
|
|