dotnet web services:
Hello there,
A java programmer sent me a wsdl file, which I have to use to consume his
web methods. When I run the wsld.exe tool to generate the class' code, I get
the following message:
CODEGEN: The operation binding 'getAvaluos' from namespace
'urn:m15.AvaluosPortType' was ignored. The combination of style=rpc with
use=literal is not supported.
Is it something wrong with the wsdl file which I can correct by making some
modifications? Any help would be so much appreciated it.
I've included de wsdl file ...
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:m15.AvaluosPortType"
xmlns:impl="urn:m15.AvaluosPortType" xmlns:intf="urn:m15.AvaluosPortType"
xmlns:apachesoap="
http://xml.apache.org/xml-soap" xmlns:wsdlsoap="
http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/" xmlns="
http://schemas.xmlsoap.org/wsdl/"> <wsdl:types>
<schema xmlns="
http://www.w3.org/2001/XMLSchema" targetNamespace="urn:m15.AvaluosPortType">
<import namespace="
http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="AvaluosCancel">
<sequence>
<element name="cve_UV" nillable="false" type="xsd:string"/>
<element name="user" nillable="false" type="xsd:string"/>
<element name="paswd" nillable="false" type="xsd:string"/>
<element name="clave_Avaluo" nillable="false" type="xsd:string"
maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="Avaluo">
<sequence>
<element name="claveAvaluo" nillable="false" type="xsd:string"/>
<element name="fechaAvaluo" nillable="false" type="xsd:string"/>
<element name="noRegInfonavit" nillable="true" type="xsd:string"/>
<element name="controlador" nillable="false" type="xsd:string"/>
<element name="valuadorProfesional" nillable="false" type="xsd:string"/>
<element name="entidadOtorgaCredito" nillable="false" type="xsd:string"/>
<element name="nombreConstructor" nillable="true" type="xsd:string"/>
<element name="proposito" nillable="false" type="xsd:short"/>
<element name="tipologia" nillable="false" type="xsd:short"/>
<element name="calleNumero" nillable="false" type="xsd:string"/>
<element name="nombreConjunto" nillable="true" type="xsd:string"/>
<element name="colonia" nillable="false" type="xsd:string"/>
<element name="CP" nillable="false" type="xsd:string"/>
<element name="delegacion" nillable="false" type="xsd:string"/>
<element name="entidad" nillable="false" type="xsd:string"/>
<element name="predial" nillable="true" type="xsd:string"/>
<element name="proximidadUrbana" nillable="false" type="xsd:short"/>
<element name="infraestructura" nillable="false" type="xsd:short"/>
<element name="claseInmueble" nillable="false" type="xsd:short"/>
<element name="vidaUtil" nillable="false" type="xsd:short"/>
<element name="anioTerm" nillable="false" type="xsd:short"/>
<element name="uniRentGrales" nillable="false" type="xsd:short"/>
<element name="uniRent" nillable="false" type="xsd:short"/>
<element name="superTerreno" nillable="false" type="xsd:decimal"/>
<element name="superConstruido" nillable="false" type="xsd:decimal"/>
<element name="superAccesoria" nillable="true" type="xsd:decimal"/>
<element name="superVendible" nillable="false" type="xsd:decimal"/>
<element name="valCompa" nillable="false" type="xsd:decimal"/>
<element name="valTerreno" nillable="false" type="xsd:decimal"/>
<element name="valConst" nillable="false" type="xsd:decimal"/>
<element name="valInst" nillable="true" type="xsd:decimal"/>
<element name="valConcluido" nillable="false" type="xsd:decimal"/>
<element name="noRecamaras" nillable="false" type="xsd:short"/>
<element name="noBanos" nillable="false" type="xsd:short"/>
<element name="noMediosBanos" nillable="false" type="xsd:short"/>
<element name="noNiveles" nillable="false" type="xsd:short"/>
<element name="noEstacionamiento" nillable="false" type="xsd:short"/>
<element name="acometida" nillable="false" type="xsd:short"/>
<element name="nivelEquipamientoUrbano" nillable="false"
type="xsd:short"/>
<element name="elevador" nillable="false" type="xsd:short"/>
<element name="longitud" nillable="false" type="xsd:float"/>
<element name="latitud" nillable="false" type="xsd:float"/>
<element name="altitud" nillable="false" type="xsd:float"/>
<element name="costoAvaluo" nillable="false" type="xsd:decimal"/>
<element name="extemporaneo" nillable="true" type="xsd:short"/>
</sequence>
</complexType>
<complexType name="Cambios">
<sequence>
<element name="claveAvaluo" nillable="false" type="xsd:string"/>
<element name="accion" nillable="false" type="xsd:string"/>
<element name="avaluo" nillable="false" type="impl:Avaluo"/>
</sequence>
</complexType>
<complexType name="AvaluosCambios">
<sequence>
<element name="user" nillable="false" type="xsd:string"/>
<element name="paswd" nillable="false" type="xsd:string"/>
<element name="cve_UV" nillable="false" type="xsd:string"/>
<element name="avaluos" nillable="false" type="impl:Cambios"
maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="AvaluosDoc">
<sequence>
<element name="cve_UV" nillable="false" type="xsd:string"/>
<element name="user" nillable="false" type="xsd:string"/>
<element name="paswd" nillable="false" type="xsd:string"/>
<element name="avaluos" nillable="true" type="impl:Avaluo"
maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="MesSinAvaluos">
<sequence>
<element name="cve_UV" nillable="false" type="xsd:string"/>
<element name="user" nillable="false" type="xsd:string"/>
<element name="paswd" nillable="false" type="xsd:string"/>
<element name="mes" nillable="false" type="xsd:short"/>
<element name="anio" nillable="false" type="xsd:short"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="getCambiosRequest">
<wsdl:part name="inCambios" type="impl:AvaluosCambios"/>
</wsdl:message>
<wsdl:message name="getAvaluosRequest">
<wsdl:part name="inAltas" type="impl:AvaluosDoc"/>
</wsdl:message>
<wsdl:message name="getCanceladosRequest">
<wsdl:part name="inCancel" type="impl:AvaluosCancel"/>
</wsdl:message>
<wsdl:message name="getMesRequest">
<wsdl:part name="inMes" type="impl:MesSinAvaluos"/>
</wsdl:message>
<wsdl:message name="getCanceladosResponse">
<wsdl:part name="getCancelReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="getAvaluosResponse">