Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to call this webservice

New Here ,
Mar 19, 2009 Mar 19, 2009
How do I call this webservice?
I am trying to call using this code but it displays an error:?
Please help me.....


TOPICS
Getting started
563
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 28, 2009 Mar 28, 2009
For a start, add attribute type="Struct" to the cfargument tag.



Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 01, 2009 Apr 01, 2009
LATEST
Argument is a structure containing all the parameters. Easiest thing to change is

<cfinvoke webservice=" http://localhost:8500/library/BaseConsole.cfc?wsdl"
method="getWebProfileHTML"
returnvariable="profilehtml">
<cfinvokeargument name='passedStruct' value="#passedStruct#">
</cfinvoke>

Alternately, you could do the cfinvoke as is, and change the function with cfarguments of username, applicationToLogin, and submit.


<cffunction name="getWebProfileHTML" access="remote" output="false" returntype="string" displayname="getWebProfileHTML">
<cfargument name="username" required="false">
<cfargument name="submit" required="false">
.. but you'd have to edit the rest of the function.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources