Hello everybody
I need to add a procedure to an old vb6 project.
This routine will send a xml file to a webservice and will receive a response from the webservice
I will use MS SOAP Toolkit3.0
Until now I found little practical information about this task
The next is the wsdl for that webservice
I hope someone may post an example about how to send and receive to this webservice using SOAP Toolkit3.0 or post practical links about the subject
I need to send Intproveedor and Strxml and receive Intrespuesta
Thanks in advance
JG
Code:<?xml version="1.0" encoding="UTF-8" ?> - <definitions name="PRVCargaCFD" targetNamespace="SiCFD" xmlns:tns="SiCFD" xmlns:wsdlns="SiCFD" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns1="SiCFD" xmlns:tns2="Genexus"> - <types> - <schema targetNamespace="SiCFD" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" elementFormDefault="qualified"> <import namespace="Genexus" /> - <element name="PRVCargaCFD.Execute"> - <complexType> - <sequence> <element minOccurs="1" maxOccurs="1" name="Intproveedor" type="xsd:int" /> <element minOccurs="1" maxOccurs="1" name="Strxml" type="xsd:string" /> </sequence> </complexType> </element> - <element name="PRVCargaCFD.ExecuteResponse"> - <complexType> - <sequence> <element minOccurs="1" maxOccurs="1" name="Intrespuesta" type="xsd:byte" /> </sequence> </complexType> </element> </schema> </types> - <message name="PRVCargaCFD.ExecuteSoapIn"> <part name="parameters" element="tns:PRVCargaCFD.Execute" /> </message> - <message name="PRVCargaCFD.ExecuteSoapOut"> <part name="parameters" element="tns:PRVCargaCFD.ExecuteResponse" /> </message> - <portType name="PRVCargaCFDSoapPort"> - <operation name="Execute"> <input message="wsdlns:PRVCargaCFD.ExecuteSoapIn" /> <output message="wsdlns:PRVCargaCFD.ExecuteSoapOut" /> </operation> </portType> - <binding name="PRVCargaCFDSoapBinding" type="wsdlns:PRVCargaCFDSoapPort"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> - <operation name="Execute"> <soap:operation soapAction="SiCFDaction/APRVCARGACFD.Execute" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> </binding> - <service name="PRVCargaCFD"> - <port name="PRVCargaCFDSoapPort" binding="wsdlns:PRVCargaCFDSoapBinding"> <soap:address location="http://www.diconsa.gob.mx/SiCFDQA/servlet/aprvcargacfd" /> </port> </service> </definitions>




Reply With Quote