Can anyone help me understand why the following simple code is throwiing an
error. I get this error:
Detail The fault returned when invoking the web service operation
is:br pre'' java.lang.NullPointerException/pre
Message Cannot perform web service invocation authenticate.
when this routine routine:
cfset ws = CreateObject(webservice,
http://localhost/opensource/QBWC_Shell.cfc;) /
cfset ret = ws.clientVersion(strVersion=2.0.0.135) /
cfset soapresp = GetSOAPResponse(ws)
h2SOAP Response for clientVersion/h2
cfdump var=#soapresp#
cfset ret = ws.authenticate(strUserName=User, strPassword=PW) /
cfset soapresp = GetSOAPResponse(ws)
h2SOAP Response for authenticate/h2
cfdump var=#soapresp#
Calls this WebService:
CFCOMPONENT style=RPC namespace=http://developer.intuit.com/;
cffunction access=remote name=clientVersion returntype=String
cfargument name=strVersion type=string required=yes
cfreturn O:2.0.0.135
/cffunction
cffunction access=remote name=authenticate returntype=array
cfargument name=strUserName type=string required=yes
cfargument name=strPassword type=string required=yes
cfset var aryReturn = arrayNew(1) /
cfset arrayAppend(aryReturn, )
cfset arrayAppend(aryReturn, nvu)
cfreturn aryReturn
/cffunction
/CFCOMPONENT
Any help much appreciated.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319323
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4