Ask a Question related to Coldfusion Component Development, Design and Development.
-
Tom Jordahl #1
Re: LDAP webservice
Minty,
Good question. It should be a query type, in fact the code says it is...
Can you post the exact stack trace the comes with the "not a query" error?
--
Tom Jordahl
Macromedia
Tom Jordahl Guest
-
retrieve LDAP info within webservice
Hi, Using wse2.0 a user logs on to my application. The webservice runs within the domain, the user does not (not allways). So I use the... -
Webservice IsInRole and LDAP to AD
Can someone explain to me why IsInRole will work, but using DirectorySearcher will not? The code is running in a business object behind a... -
Webservice calling a webservice.....Error
Hi Ihave a strange problem .....or?? On one machine 1 i have a webservice A calling an other webservice B on a other machine 2 . the B service are... -
SSH and LDAP
Has anyone implemented SSH and LDAP together? -
LDAP on AIX 5.2
theycallmetim wrote: you might have a look at www.redbooks.ibm.com for "LDAP Implementation Coockbook SG24-5110-00" or "Understanding LDAP... -
MintyDynk #2
Re: LDAP webservice
Tom, Sure, error message with trace is below: Could not perform web service
invocation 'qryWS'. Here is the fault returned when invoking the web service
operation: AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode:
faultString: coldfusion.xml.rpc.CFCInvocationException:
[coldfusion.runtime.UDFMethod$InvalidReturnTypeExce ption : The value returned
from function qryWS() is not of type query.] faultActor: faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:coldfusion.xml.rpc.CFCInvocationExcept i
on: [coldfusion.runtime.UDFMethod$InvalidReturnTypeExce ption : The value
returned from function qryWS() is not of type query.] at
coldfusion.xml.rpc.CFComponentSkeleton.__createCFC InvocationException(CFComponen
tSkeleton.java:608) at
coldfusion.xml.rpc.CFComponentSkeleton.__invoke(CF ComponentSkeleton.java:554)
at cfmx.wsAD.Wtest.qryWS(D:\Projects\PortalApplicatio n\cfmx\wsAD\Wtest.cfc)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source) at
java.lang.reflect.Met...
MintyDynk Guest
-
Tom Jordahl #3
Re: LDAP webservice
Not the trace I was looking for...
Can you use QueryNew and copy the LDAP query info it to that a return it?
That is lame but it appears that the UDF mechansim doesn't think the query
from cfldap is really a query.
How about if you write this UDF without the web service stuff and try to
invoke it as just a function - does that work?
--
Tom Jordahl
Tom Jordahl Guest
-
MintyDynk #4
Re: LDAP webservice
Yes, I promise to actually _read_ everything before responding from now on,
sorry about that. Stack trace follows. I haven't tried it as a UDF, but I'll
try that and the queryNew() approach today and tomorrow between meetings.
coldfusion.xml.rpc.ServiceProxy$ServiceInvocationE xception: Could not perform
web service invocation 'qryWS'. at
coldfusion.xml.rpc.ServiceProxy.invokeImpl(Service Proxy.java:230) at
coldfusion.xml.rpc.ServiceProxy.invoke(ServiceProx y.java:143) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.jav a:1587) at
coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTa g.java:388) at
cfadConsume2ecfm1871531004.runPage(D:\Projects\Por talApplication\cfmx\wsAD\adCon
sume.cfm:13) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :152) at
coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:343) at
coldfusion.filter.CfincludeFilter.invoke(Cfinclude Filter.java:65) at
coldfusion.filter.ApplicationFilter.invoke(Applica tionFilter.java:210) at
coldfusion.filter.PathFilter.invoke(PathFilter.jav a:86) at
coldfusion.filter.LicenseFilter.invoke(LicenseFilt er.java:27) at
coldfusion.filter.ExceptionFilter.invoke(Exception Filter.java:50) at
coldfusion.filter.BrowserDebugFilter.invoke(Browse rDebugFilter.java:52) at
coldfusion.filter.ClientScopePersistenceFilter.inv oke(ClientScopePersistenceFilt
er.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilt er.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilt er.java:38) at
coldfusion.filter.DatasourceFilter.invoke(Datasour ceFilter.java:22) at
coldfusion.CfmServlet.service(CfmServlet.java:105) at
coldfusion.bootstrap.BootstrapServlet.service(Boot strapServlet.java:78) at
jrun.servlet.ServletInvoker.invoke(ServletInvoker. java:91) at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvok erChain.java:42) at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequ estDispatcher.java:257) at
jrun.servlet.ServletEngineService.dispatch(Servlet EngineService.java:527) at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable( JRunProxyService.java:204)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable(ThreadPool.java:457)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java :66)
MintyDynk Guest
-
Tom Jordahl #5
Re: LDAP webservice
Minty,
No, no. Not your fault I was just hoping to get a smoking gun with the
stack trace. I didn't mean that you didn't provide me with the right thing.
Sorry about that, I was reading *all* of the forums last night and I was
getting a little punchy. :-)
Anyway, I think I verified that the web service code should treat the LDAP
result set as a query, so something else fishy is going on here. I will be
traveling for the next few days, so I may not be able to respond quickly but
I will try to get back to this Monday at the office. Any info you can post
(or even a reproducable case) would be great.
--
Tom Jordahl
Macromedia
Tom Jordahl Guest
-
MintyDynk #6
Re: LDAP webservice
Tom, Hello. I thought I had replied last week, but I don't see it in the
forum. Anyway, the solution was setting the return value to the return value of
the CFLDAP tag. It was a stupid coding error on my part. Thanks for your help.
MintyDynk Guest



Reply With Quote

