This content has been marked as final. Show 10 replies
Can you show the code actually generated with that wizard?
Here is the code you asked for...
<cfinvokeargument name="userName" value="Yada"/>
<cfinvokeargument name="password" value="Yada"/>
<cfinvokeargument name="sharingType" value="0"/>
Survey List - <cfoutput>#a_GetSurveyListResponse_GetSurveyListResult#</cfoutput>
> Here is the code you asked for...
Does the link help? Or do you have questions on it?
Not really because I am using the CFMX proxy and not the Apache one.
> Not really because I am using the CFMX proxy and not the Apache one.
No you are using the Apache one, because that is what ColdFusion uses.
That is why I asked for the code, because I'm not used to calling these
'proxies'. But you are just invoking a web service.
Your code used <cfinovke...>
The example code uses createObject().
Other then that, you are doing the same thing.
It sounds like you are using a Dreamweaver wizard and that is masking
what goes on in the actual code. This can not be done with the proxy
wizard. You will need to extend that code to accommodate this requirement.
The first question to absolutely answer, is are you passing an HTTP
cookie, not SOAP header. Looking at the example code I would say yes,
but it is important to be sure.
ok...thanks for the tip...other than the link you su[plied earlier...do you have any other areas where perhaps I could read up and learn more?
> ok...thanks for the tip...other than the link you su[plied earlier...do you have any other areas where perhaps I could read up and learn more?
Nothing off the top of my head. I'm not a web service expert. But I
have always, eventually, sometimes with much hair pulling, gotten
ColdFusion to work with any web service I have needed to use.
I just found that link by searching Google for "coldfusion consume web
service cookies". You may want to check other links this search returns.
Ian Skinner wrote:
> You may want to check other links this search returns.
Having said that, I looked at the results again and found this
ColdFusion live docs link.
It is for version 6, but I am sure it all still applies, and that there
is a 7 and 8 equivalent livedocs pages. But it gives a good comparison
between the <cfinvoke...> and createObject() syntax that may help you
translate the two forms.
I have not quite figured out how to do this. Anyone have any other thoughts/ideas?