Unfortunately, I don't think I made myself clear. I'm trying to invoke a webservice that is set up this way.
This is the latest approach I've tried (unsuccessfully):
<cfscript>
oRequest = structNew();
oRequest.oCredentials = structNew();
oRequest.oCredentials.sCompanyName = "ABC";
oRequest.oCredentials.sUserName = "jdoe";
oRequest.oCredentials.sPassword = "abc123";
oRequest.sCompanyName = "ABC";
oRequest.sLogin = "jsmith";
</cfscript>
<cfinvoke method="UserIDGet"
webservice="http://www.test.com/webservice.asmx?wsdl"
argumentCollection="#oRequest#"
returnVariable="test">
</cfinvoke>
<cfdump var="#test#">
-Nelson
----- Original Message -----
From: Matt Liotta
To: CF-Talk
Sent: Friday, November 07, 2003 5:23 PM
Subject: Re: Using complex data with web services
> <soap:Body>
> <oRequest>
> <oCredentials>
> <sCompanyName>ABC</sCompanyName>
> <sUserName>jdoe</sUserName>
> <sPassword>abc123</sPassword>
> </oCredentials>
> <sCompanyName>ABC</sCompanyName>
> <sLogin>jsmith</sLogin>
> </oRequest>
> </soap:Body>
>
You would create a CFC with three properties --sCompanyName, sUserName,
and sPassword-- specified using the cfproperty tag.
Matt Liotta
President & CEO
Montara Software, Inc.
http://www.MontaraSoftware.com
(888) 408-0900 x901
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

