Register • FAQ • Memberlist • Usergroups • Tutorials Point • Log in

| Page 1 of 1

XML SOAP request by Ruby?
Author | Message
--- | ---
martinnitram Joined: 03 May 2011 Posts: 1 | XML SOAP request by Ruby? Dears, I need to send a XML SOAP request to a WS (by Ruby). The same is as follows:

###### Code:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:StreetWSDL" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:Put>
<authKey xsi:type="xsd:string">mySecretKey</authKey>
<ArrayOfInterfaceObjInput SOAP-ENC:arrayType="ns1:InterfaceObjInput[1]" xsi:type="ns1:ArrayOfInterfaceObjInput">
<item xsi:type="ns1:InterfaceObjInput">
<idEntradaCaller xsi:type="xsd:string"/>
<idInterface xsi:type="xsd:string"/>
<idEstado xsi:type="xsd:string"/>
<asyncronic xsi:type="xsd:string"/>
<fechaDiferido xsi:type="xsd:string"/>
<idCliente xsi:type="xsd:string"/>
<idEmpresa xsi:type="xsd:string"/>
<idVenta xsi:type="xsd:string"/>
<idVentaPadre xsi:type="xsd:string"/>
<idServicio xsi:type="xsd:string"/>
<idProducto xsi:type="xsd:string"/>
<idServicioPadre xsi:type="xsd:string"/>
<idProductoPadre xsi:type="xsd:string"/>
<idPromotor xsi:type="xsd:string"/>
<xmlEncoding xsi:type="xsd:string"/>
</item>
</ArrayOfInterfaceObjInput>
<doAtomic xsi:type="xsd:string">0</doAtomic>
</ns1:Put>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The questions are:
Is there any way to make a request by Ruby?
What are the gems that would be needed?
I appreciate any format or example code.
Thank you very much for the help.
Sincerely,
Tue May 03, 2011 3:10 am |

Display posts from previous: |

| Page 1 of 1

You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum

Powered by phpBB © phpBB Group Design by Vjacheslav Trushkin for phpBBStyles.com