hello list...
im having web service issues....please help if you can thanks!
Error Occurred While Processing Request
Could not perform web service invocation "ScoreWizardCFCWebService"
because AxisFault faultCode: ns1:Server.userException faultString:
coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.UndefinedVariableException : Variable ROOTPATH is
undefined.] faultActor: null faultDetail: stackTrace:
coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.UndefinedVariableException : Variable ROOTPATH is
undefined.] at
coldfusion.xml.rpc.CFComponentSkeleton.__createCFCInvocationException(Un
known Source) at
clients.cx_WebserviceApp.ScoreWizard.webService.ScoreWizard.ScoreWizardC
FCWebService(ScoreWizard.java:16) at
java.lang.reflect.Method.invoke(Native Method) at
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java
:347) at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.ja
va:225) at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:263
) at coldfusion.xml.rpc.CFCProcessor.invokeImpl(Unknown Source) at
coldfusion.xml.rpc.CFCProcessor.invoke(Unknown Source) at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121) at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:288) at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:543)
at coldfusion.xml.rpc.CFCServlet.doAxisPost(Unknown Source) at
coldfusion.filter.AxisFilter.invoke(Unknown Source) at
coldfusion.filter.ApplicationFilter.invoke(Unknown Source) at
coldfusion.filter.PathFilter.invoke(Unknown Source) at
coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source) at
coldfusion.filter.GlobalsFilter.invoke(Unknown Source) at
coldfusion.filter.DatasourceFilter.invoke(Unknown Source) at
coldfusion.xml.rpc.CFCServlet.invoke(Unknown Source) at
coldfusion.xml.rpc.CFCServlet.doPost(Unknown Source) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241
) at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527
) at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:
198) at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.j
ava:348) at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java
:451) at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav
a:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) null
The Error Occurred in
D:\www\clients\cx_WebServiceApp\ScoreWizard\webService\invoke.cfm: line
23
21 : <!-- We close the cfinvoke tag.-->
22 :
23 : </cfinvoke>
is the error i am getting when attempting to invoke my webservice....
<cfinvoke
method="ScoreWizardCFCWebService"
webservice="http://localhost/clients/cx_WebserviceApp/ScoreWizard/webSer
vice/ScoreWizard.cfc?wsdl"
returnVariable="SWCFCXML"
>
<!-- We will define what argument needs to be invoked from the Web
service. In this case it is called cfcName, which is the field name of
the
search field. This is the argument name that is being returned from the
Web
service as we will see in the next step.-->
<cfinvokeargument name="username"
value="tweeg"/>
<cfinvokeargument name="password"
value="webmaster1">
<cfinvokeargument name="cracode" value=""/>
<cfinvokeargument name="reportid"
value="645724"/>
<cfinvokeargument name="experianData"
value="<EQUIFAX><![CDATA[FULL 801ZB00982008FI02
1071519980921200209292002SPROWIS JAYME L
15172365410221979
001010100020001000000000000000000000000000000200000000809000000000000000
00000000000000000000000000
this has been cut so as not to show too much on here...
here is the cfc code...
<cfcomponent displayName="ScoreWizardCFC" hint="Generate a ScoreWizard
XML Report">
<cffunction name="ScoreWizardCFCWebService" access="remote"
output="0" returntype="struct">
<cfargument name="username" type="string"
required="true"/>
<cfargument name="password" type="string"
required="true"/>
<cfargument name="cracode" type="string"
required="true"/>
<cfargument name="reportid" type="numeric"
required="true"/>
<cfargument name="experianData" type="string"
required="false"/>
<cfargument name="transunionData" type="string"
required="false"/>
<cfargument name="equifaxData" type="string"
required="false"/>
<!-------------Other Stuff here-------->
Some CF Code that works.
<!-------------End Other Stuff here-------->
<cflock scope="SESSION" timeout="10"
type="EXCLUSIVE">
<cfreturn session.ScoreWizardXML>
</cflock>
</cffunction>
</cfcomponent>
any ideas?
thanks!!!
...tony
tony weeg
[EMAIL PROTECTED]
www.revolutionwebdesign.com
rEvOlUtIoN wEb DeSiGn
410.334.6331
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com