There is something wrong with this it is missing the xsi:type.....
And I have no clue how to get it in...
Below is what my code is trying to communicate to an axis soap server
but it fails because the authInfo object is not correct

-----------------------
<?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 and is expected(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>
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to