You can wrap CF code with error handling to better control the flow of the
script.

Also, since you're creating a Axis Webservice Object, with a WSDL URL as
it's target. The object itself has more methods than just those of the
webservice and you can use them to see what's going on. Give this try:

<cftry>
<cfset f = CreateObject("webservice","http://path/file.php?wsdl";);
<cfdump var="#f#">
<cfset code = f.methodName('string')>
<cfcatch type="any">
  <p>#cfcatch.message#</p>
  <p>Caught an exception, type = #CFCATCH.TYPE# </p>
</cfcatch>
</cftry>

!k

-----Original Message-----
From: Ryan Mitchell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 12, 2006 2:19 PM
To: CF-Talk
Subject: Re: PHP webservice returns a Null pointer error

not sure what you mean.
i literally am just invoking a method on the webservice


>Do you have exception handling in place?
>
>!k
>
>-----Original Message-----
>From: Ryan Mitchell [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, September 12, 2006 1:50 PM
>To: CF-Talk
>Subject: Re: PHP webservice returns a Null pointer error
>
>yeah, the problem is i dont even get a variable - just an immediate null
>pointer error as soon as i make the call to the remote method.
>
>>I recall having some difficulties with CF reading a .NET recordset and had
>>to use a custom UDF to parse out the result proper because CF couldn't do
>it
>>on it's own.
>>
>>I'm almost positive that this is again the case. Have you tried using
>CFDump



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252899
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to