I created with swdl2ruby a defaultDriver that is working it posts to the soap server and gets a response:
However it says the authInfo object is not valid probably missing xsi:type. Also the namespaces are different.... How to fix this properly ???
using ruby 1.8.5 and soap4r 1.5.8 (in core not as gem)
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tms="[#####]" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<env:Body>
<getBouncesByMailing>
<authInfo>
<organization>[#####]</organization>
<password>[#####]</password>
<username>[#####]</username>
</authInfo>
<mailing>[#####]</mailing>
<from>[#####]</from>
<to>[#####]</to>
</getBouncesByMailing>
</env:Body>
</env:Envelope>
This is what does work (created with perl)
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tms="[#####]" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<tms:getBouncesByMailing>
<authInfo xsi:type="impl:AuthInfo">
<organization xsi:type="xsd:string">[#####]</organization>
<password xsi:type="xsd:string">[#####]</password>
<username xsi:type="xsd:string">[#####]</username>
</authInfo>
<mailing xsi:type="xsd:string">[#####]</mailing>
<from xsi:type="xsd:dateTime">[#####]</from>
<to xsi:type="xsd:dateTime">[#####]</to>
</tms:getBouncesByMailing>
</soap:Body>
</soap:Envelope>