thanks, but i still just get a null pointer error.
that returns "false" for me which is just graceful error catching...
did you get an array (or struct) returned?

>Got it. 
>
><cftry>
><cfset f =
>CreateObject("webservice","http://www.ryanmitchell.co.uk/rtCMS.php?wsdl";)>
><cfdump var="#f#">
><cfset code = f.listDirectory("d:\\wwwroot\\ryanmitchell.co.uk\\www\\")>
><cfdump var="#code#">
><cfcatch type="any">
>       <cfoutput><p>#cfcatch.message#</p>
>       <p>Caught an exception, type = #CFCATCH.TYPE# </p> <br />
>StackTrace: <br/>
>       <cfloop index = i from = 1 to = #ArrayLen(CFCATCH.TAGCONTEXT)#>
>               <cfset sCurrent = #CFCATCH.TAGCONTEXT[i]#>
>               <p>#sCurrent["ID"]# #cfcatch.Message#<br>
>               Error Detail: #cfcatch.Detail#<br>
>               Line: #sCurrent["LINE"]#<br>
>               Column: #sCurrent["COLUMN"]#<br>
>               Template: #sCurrent["TEMPLATE"]#</p>
>       </cfloop>
>       </cfoutput>
></cfcatch> 
></cftry>
>
>Notice the directory being passed needs double slashes to escape them.
>
>!k
>
>-----Original Message-----
>From: Kevin Aebig [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, September 12, 2006 4:01 PM
>To: CF-Talk
>Subject: RE: PHP webservice returns a Null pointer error
>
>I'm getting the object dump easily with this:
>
><cfset f =
>CreateObject("webservice","http://www.ryanmitchell.co.uk/rtCMS.php?wsdl";)>
><cfdump var="#f#">
>
>I'm taking a look at the service itself now...
>
>!k
>
>-----Original Message-----
>From: Ryan Mitchell [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, September 12, 2006 3:42 PM
>To: CF-Talk
>Subject: Re: PHP webservice returns a Null pointer error
>
>i couldnt get to the stage where i could use it
>
>thanks for the help, if its not asking too much, you can have a go yourself.
>
>webservice is at: http://www.ryanmitchell.co.uk/rtCMS.php?wsdl
>method: listDirectory
>parameters: dir -> "d:\wwwroot\ryanmitchell.co.uk\www\"
>
>i made a basic php test SOAP client, which gives:
>http://www.ryanmitchell.co.uk/phptest.php
>
>very frustrating!!
>Ryan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:252941
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to