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.