Anyways, I believe you've got me going the right direction now, however I'm still not having any luck. I've tried a ton of different variations and am having no success. Do I need to create an oRequest CFC which oCredentials (also a CFC? or a struct?) is part of?
Here's the request format that I was given:
<soap:Body>
<UserIDGet>
<oRequest>
<sCompanyName>string</sCompanyName>
<sLogin>string</sLogin>
</oRequest>
</UserIDGet>
</soap:Body>
Thanks,
-Nelson
----- Original Message -----
From: Matt Liotta
To: CF-Talk
Sent: Friday, November 07, 2003 6:37 PM
Subject: Re: Using complex data with web services
> Unfortunately, I don't think I made myself clear. I'm trying to
> invoke a webservice that is set up this way.
>
Actually, I think I was one that wasn't clear. I really need to write
an article on this since I seem to be answering this question all the
time.
Anyway, create a CFC as I described in the my last email. Then do the
following:
<cfscript>
credentials = CreateObject("component", "yournewcfchere");
credentials.sCompanyName = "ABC";
credentials.sUserName = "jdoe";
credentials.sPassword = "abc123";
</cfscript>
<cfinvoke webservice="urltowsdlhere" method="UserIDGet"
oCredentials="#credentials#" sCompanyName="ABC" sLogin="jsmith"
returnvariable="test">
Matt Liotta
President & CEO
Montara Software, Inc.
http://www.MontaraSoftware.com
(888) 408-0900 x901
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

