Hello everyone.
I don't have much experience with web applications.
I have to replicate a web service from another provider with dataflex and it must be identical to the attached WDSL.
I have created the web client without problems but I have difficulty in creating the web server with the same characteristics.
Therefore I ask for your help.
Thank you.
Best regards
Code:
<?xml version="1.0"?><wsdl:definitions targetNamespace="http://systinet.com/wsdl/com/teksmar/magic/Tessera2/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://systinet.com/wsdl/com/teksmar/magic/Tessera2/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://systinet.com/wsdl/com/teksmar/magic/Tessera2/">
<s:element name="WS_Tessera_XML_2">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="pPv" nillable="true" type="s:long"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="pTessera" nillable="true" type="s:string"></s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="WS_Tessera_XML_2Response">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="response" nillable="true" type="tns:Tessera_XML_2"></s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Tessera_XML_2">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="barcode" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="cap" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="cliente" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="cluster" nillable="true" type="tns:ArrayOfClus"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="cod" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="cogn" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="coupon" nillable="true" type="tns:ArrayOfCou"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="descrizione" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="dt_nasc" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="esiste" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="ind" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="iniziative" nillable="true" type="tns:ArrayOfCll"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="loc" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="nome" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="pin" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="prenotazioni" nillable="true" type="tns:ArrayOfPren"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="prov" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="pv" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="sex" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="stato" nillable="true" type="s:string"></s:element>
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfClus">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Clus" nillable="true" type="tns:Clus"></s:element>
</s:sequence>
</s:complexType>
<s:complexType name="Clus">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="begin" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="cod" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="end" nillable="true" type="s:string"></s:element>
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfCou">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Cou" nillable="true" type="tns:Cou"></s:element>
</s:sequence>
</s:complexType>
<s:complexType name="Cou">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="cod_cou" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="data_al" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="data_dal" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="tipo_cou" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="val" nillable="true" type="s:string"></s:element>
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfCll">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Cll" nillable="true" type="tns:Cll"></s:element>
</s:sequence>
</s:complexType>
<s:complexType name="Cll">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="begin" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="cod" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="dec" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="descrizione" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="end" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="mon" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="segno" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="stampa" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="tipo" nillable="true" type="s:string"></s:element>
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfPren">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Pren" nillable="true" type="tns:Pren"></s:element>
</s:sequence>
</s:complexType>
<s:complexType name="Pren">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="art" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="barcode" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="cll" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="cod" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="data" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="descrizione" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="id_pren" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="imp" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="mon" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="ora" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="qta" nillable="true" type="s:string"></s:element>
<s:element minOccurs="1" maxOccurs="1" name="var" nillable="true" type="s:string"></s:element>
</s:sequence>
</s:complexType>
</s:schema>
</wsdl:types>
<wsdl:message name="WS_Tessera_XML_2SoapIn">
<wsdl:part name="parameters" element="tns:WS_Tessera_XML_2"></wsdl:part>
</wsdl:message>
<wsdl:message name="WS_Tessera_XML_2SoapOut">
<wsdl:part name="parameters" element="tns:WS_Tessera_XML_2Response"></wsdl:part>
</wsdl:message>
<wsdl:portType name="Tessera2Impl">
<wsdl:operation name="WS_Tessera_XML_2">
<wsdl:input message="tns:WS_Tessera_XML_2SoapIn"></wsdl:input>
<wsdl:output message="tns:WS_Tessera_XML_2SoapOut"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="Tessera2Impl" type="tns:Tessera2Impl">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
<wsdl:operation name="WS_Tessera_XML_2">
<soap:operation soapAction="http://systinet.com/wsdl/com/teksmar/magic/Tessera2/Tessera2Impl#WS_Tessera_XML_2?KExqYXZhL2xhbmcvTG9uZztMamF2YS9sYW5nL1N0cmluZzspTGNvbS90ZWtzbWFyL21hZ2ljL1Rlc3NlcmEyL1Rlc3NlcmFfWE1MXzI7" style="document"></soap:operation>
<wsdl:input>
<soap:body use="literal"></soap:body>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"></soap:body>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="Tessera2Impl1" type="tns:Tessera2Impl">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"></soap12:binding>
<wsdl:operation name="WS_Tessera_XML_2">
<soap12:operation soapAction="http://systinet.com/wsdl/com/teksmar/magic/Tessera2/Tessera2Impl#WS_Tessera_XML_2?KExqYXZhL2xhbmcvTG9uZztMamF2YS9sYW5nL1N0cmluZzspTGNvbS90ZWtzbWFyL21hZ2ljL1Rlc3NlcmEyL1Rlc3NlcmFfWE1MXzI7" style="document"></soap12:operation>
<wsdl:input>
<soap12:body use="literal"></soap12:body>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"></soap12:body>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WSTessera2">
<wsdl:port name="Tessera2Impl" binding="tns:Tessera2Impl">
<soap:address location="http://webnet.multicedi.com/WNServices/WSTessera2.asmx"></soap:address>
</wsdl:port>
<wsdl:port name="Tessera2Impl1" binding="tns:Tessera2Impl1">
<soap12:address location="http://webnet.multicedi.com/WNServices/WSTessera2.asmx"></soap12:address>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>