I'm trying to use a .Net based web service.  I was able to get the following simple web service working.

<cfinvoke method="getWords"
    webservice="http://www28.brinkster.com/hegdes/NumberToWords.asmx?WSDL"
    returnVariable="Test">
    <cfinvokeargument name="myNumber" value="5892.25">
</cfinvoke>

However, the web service I'm actually trying to use specifies that I need to pass the following:

<soap:Body>
    <oRequest>
        <oCredentials>
            <sCompanyName>ABC</sCompanyName>
            <sUserName>jdoe</sUserName>
            <sPassword>abc123</sPassword>
        </oCredentials>
        <sCompanyName>ABC</sCompanyName>
        <sLogin>jsmith</sLogin>
    </oRequest>
</soap:Body>

My question is how do I pass complex data like this?  I've been trying to use the argumentCollection parameter but have been unsuccessful.

Thanks,

-Nelson


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to