RE:Web Service que retorna varias variables
Hola,
Debo indicar que el Servicio lo consumo desde Visual Fox y no se en qué está desarrollado el servicio.
El Servicio lo publico un cliente que está en otro pais y cuando estuve en ese pais lo consumia de esta forma. Quiero desarrollar el equivalente en nuestras oficinas.
XService.obDts(lcTarjeta, @Cuenta, @Apellidos, @Nombres, @FechaN, @ErrorD )
Como vez al web service le paso 6 parametros pero solo el primero tiene un valor, luego de ejecutar el servicio este carga los 5 últimas variables.
El ?SWDL del XML del servicio es el siguiente (si puede servir en algo).
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:element name="obDts">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Tarjeta" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="Cuenta" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="Apellidos" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Nombres" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="FechaN" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ErrorD" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="obDtsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Cuenta" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="Apellidos" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Nombres" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="FechaN" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ErrorD" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="obDtsSoapIn">
<wsdl:part name="parameters" element="tns:obDts" />
</wsdl:message>
<wsdl:message name="obDtsSoapOut">
<wsdl:part name="parameters" element="tns:obDtsResponse" />
</wsdl:message>
<wsdl:portType name="wsFilaSoap">
<wsdl:operation name="obDts">
<wsdl:input message="tns:obDtsSoapIn" />
<wsdl:output message="tns:obDtsSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="wsFilaSoap" type="tns:wsFilaSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="obDts">
<soap:operation soapAction="http://tempuri.org/obDts" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="wsFilaSoap12" type="tns:wsFilaSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="obDts">
<soap12:operation soapAction="http://tempuri.org/obDts" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="wsFila">
<wsdl:port name="wsFilaSoap" binding="tns:wsFilaSoap">
<soap:address location="http://localhost/wsFila/wsFila.asmx" />
</wsdl:port>
<wsdl:port name="wsFilaSoap12" binding="tns:wsFilaSoap12">
<soap12:address location="http://localhost/wsFila/wsFila.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>