RE: [cfaussie] Web Service strangeness

2010-06-14 Thread Steve Onnis
but its not getting that far. doing that just loads it up so nothing is
being passed anywhere. looks to me its an issue with the wsdl

  _  

From: AJ Mercer [mailto:ajmer...@gmail.com] 
Sent: Tuesday, 15 June 2010 1:11 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Web Service strangeness


some webservices do just accept strings, but a complex type containing the
strings.
Sometimes you can pass in CF structs and that works




On 15 June 2010 11:08, Steve Onnis  wrote:


what happens if you call it like
 
 
ws = createObject("WEBSERVICE",
"http://web1.ad.xyz.com.au:6026/LDAPAuthentication.asmx?wsdl";);
 
Does it still error? Just seeing if it errors without calling a method on it
and just initialising it


  _  


From: Brett Payne-Rhodes [mailto:bret...@gmail.com] 

Sent: Tuesday, 15 June 2010 1:00 PM 

To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Web Service strangeness


Hi Steve,

I've tried all kinds of variations on the code to invoke the web service,
all of which have generated the same error, but the code I am using now is:

http://web1.ad.xyz.com.au:6026/LDAPAuthentication.asmx?wsdl"; 
  method="IsAuthenticated" 
  returnVariable="ws" >





The wsdl for the service is:

   
- http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
xmlns:tns="http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
targetNamespace="http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
  http://schemas.xmlsoap.org/wsdl/";>Provides
various methods for verifying and querying Active Directory
information. 
- 
- http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,";>
- 
- 
- 
   
   
  
  
  
- 
- 
- 
   
  
  
  
- 
- 
- 
   
   
   
  
  
  
- 
- 
- 
   
  
  
  
- 
- 
- 
   
   
  

  
  
  
- 
- 
- 
   
  
  
  
- 
- 
- 
   
   
  
  
  
- 
- 
- 
   
  
  
  
  
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
If the username and password combination is correct the return value will be
true for an account that is currently active, and false for an account that
is inactive. An incorrect username/password combination will result in an
exception being raised and returned. 
   
   
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
Also accepts an application name as an argument. For a valid
username/password combination the function will return true/false depending
on whether the user is a member of the requested application's authorised
user's group or not. An incorrect username/password combination will result
in an exception being raised and returned. 
   
   
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
Also accepts an Active Directory group name as an argument. For a valid
username/password combination the function will return true/false depending
on whether the user is a member of the requested group or not. An incorrect
username/password combination will result in an exception being raised and
returned. 
   
   
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
If the username and password combination is correct, a list of groups the
user belongs to is returned in a string. The returned groups are delimited
by the '|' symbol. Eg: 'MS Users|Test_G|BHQ|D-H|'. An incorrect
username/password combination will result in an exception being raised and
returned. 
   
   
  
  
- 
  http://schemas.xmlsoap.org/soap/http"; /> 
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthent
icated" style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsApplica
tionUser" style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsMember";
style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/GetGroups
" style="document" /> 
- 
   
  
- 
   
  
  
  
- 
  http://schemas.xmlsoap.org/soap/http"; /> 
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthent
icated" style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsApplica
tionUser" style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsMember";
style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xy

Re: [cfaussie] Web Service strangeness

2010-06-14 Thread Brett Payne-Rhodes
Yes, same error. What you suggest is actually the code that I started with.

My interpretation is that CF is failing to compile the basics of the service
as the 'stub' files are being rewritten each time I try to call the service
and the service isn't showing up in CF Administrator.

At this stage I suspect a stray comma at the end of the 'targetNamespace'
parameter in the service code itself...

targetNamespace="*http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,*";
but it is asmx and I don't have access to it...

Now I just need to find the right person to ask the question of...

B)



On Tue, Jun 15, 2010 at 11:08 AM, Steve Onnis wrote:

>  what happens if you call it like
>
>
> ws = createObject("WEBSERVICE", "
> http://web1.ad.xyz.com.au:6026/LDAPAuthentication.asmx?wsdl";);
>
> Does it still error? Just seeing if it errors without calling a method on
> it and just initialising it
>
>  --
> *From:* Brett Payne-Rhodes [mailto:bret...@gmail.com]
> *Sent:* Tuesday, 15 June 2010 1:00 PM
>
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] Web Service strangeness
>
> Hi Steve,
>
> I've tried all kinds of variations on the code to invoke the web service,
> all of which have generated the same error, but the code I am using now is:
>
> http://web1.ad.xyz.com.au:6026/LDAPAuthentication.asmx?wsdl";
>   method="IsAuthenticated"
>   returnVariable="ws" >
> 
> 
> 
>
>
> The wsdl for the service is:
>
>   
> - http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; xmlns:soapenc="
> http://schemas.xmlsoap.org/soap/encoding/"; xmlns:mime="
> http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:tns="
> http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,"; xmlns:s="
> http://www.w3.org/2001/XMLSchema"; xmlns:soap12="
> http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:http="
> http://schemas.xmlsoap.org/wsdl/http/"; targetNamespace="
> http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,"; xmlns:wsdl="
> http://schemas.xmlsoap.org/wsdl/";>
>   http://schemas.xmlsoap.org/wsdl/";>Provides
> various methods for verifying and querying Active Directory
> information.
> - 
> - http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,";>
> - 
> - 
> - 
>   
>
>   
>
>   
>   
>   
> - 
> - 
> - 
>type="s:boolean" />
>   
>   
>   
> - 
> - 
> - 
>   
>
>   
>
>type="s:string" />
>   
>   
>   
> - 
> - 
> - 
>type="s:boolean" />
>   
>   
>   
> - 
> - 
> - 
>   
>
>   
>
>/>
>   
>   
>   
> - 
> - 
> - 
>type="s:boolean" />
>   
>   
>   
> - 
> - 
> - 
>   
>
>   
>
>   
>   
>   
> - 
> - 
> - 
>type="s:string" />
>   
>   
>   
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
> - 
>   http://schemas.xmlsoap.org/wsdl/";>Accepts
> a username and password combination and validates against Active Directory.
> If the username and password combination is correct the return value will be
> true for an account that is currently active, and false for an account that
> is inactive. An incorrect username/password combination will result in an
> exception being raised and returned.
>   
>   
>   
> - 
>   http://schemas.xmlsoap.org/wsdl/";>Accepts
> a username and password combination and validates against Active Directory.
> Also accepts an application name as an argument. For a valid
> username/password combination the function will return true/false depending
> on whether the user is a member of the requested application's authorised
> user's group or not. An incorrect username/password combination will result
> in an exception being raised and returned.
>   
>   
>   
> - 
>   http://schemas.xmlsoap.org/wsdl/";>Accepts
> a username and password combination and validates against Active Directory.
> Also accepts an Active Directory group name as an argument. For a valid
> username/password combination the function will return true/false depending
> on whether the user is a member of the requested group or not. An incorrect
> username/password combination will result in an exception being raised and
> returned.
>   
>   
>   
> - 
>   http://schemas.xmlsoap.org/wsdl/";>Accepts
> a username and password combination and validates against Active Directory.
> If the username and password combination is correct, a list of groups the
> user belongs to is returned in a string. The returned groups are delimited
> by the '|' symbol. Eg: 'MS Users|Test_G|BHQ|D-H|'. An incorrect
> username/password combination will result in an exception being raised and
> returned.
>   
>   
>   
>   
> -  type="tns:LDAPAuthenticationSoap">
>   http://schemas.xmlsoap.org/soap/http"; />
> - 
>   http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthenticated";
> style="document" />
> - 
>   
>   
> - 
>   
>   
>   
> - 
>   http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsApplicationUser";
> style="document" />
> - 
>   
>  

Re: [cfaussie] Web Service strangeness

2010-06-14 Thread AJ Mercer
some webservices do just accept strings, but a complex type containing the
strings.
Sometimes you can pass in CF structs and that works



On 15 June 2010 11:08, Steve Onnis  wrote:

>  what happens if you call it like
>
>
> ws = createObject("WEBSERVICE", "
> http://web1.ad.xyz.com.au:6026/LDAPAuthentication.asmx?wsdl";);
>
> Does it still error? Just seeing if it errors without calling a method on
> it and just initialising it
>
>  --
> *From:* Brett Payne-Rhodes [mailto:bret...@gmail.com]
> *Sent:* Tuesday, 15 June 2010 1:00 PM
>
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] Web Service strangeness
>
> Hi Steve,
>
> I've tried all kinds of variations on the code to invoke the web service,
> all of which have generated the same error, but the code I am using now is:
>
> http://web1.ad.xyz.com.au:6026/LDAPAuthentication.asmx?wsdl";
>   method="IsAuthenticated"
>   returnVariable="ws" >
> 
> 
> 
>
>
> The wsdl for the service is:
>
>   
> - http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; xmlns:soapenc="
> http://schemas.xmlsoap.org/soap/encoding/"; xmlns:mime="
> http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:tns="
> http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,"; xmlns:s="
> http://www.w3.org/2001/XMLSchema"; xmlns:soap12="
> http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:http="
> http://schemas.xmlsoap.org/wsdl/http/"; targetNamespace="
> http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,"; xmlns:wsdl="
> http://schemas.xmlsoap.org/wsdl/";>
>   http://schemas.xmlsoap.org/wsdl/";>Provides
> various methods for verifying and querying Active Directory
> information.
> - 
> - http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,";>
> - 
> - 
> - 
>   
>
>   
>
>   
>   
>   
> - 
> - 
> - 
>type="s:boolean" />
>   
>   
>   
> - 
> - 
> - 
>   
>
>   
>
>type="s:string" />
>   
>   
>   
> - 
> - 
> - 
>type="s:boolean" />
>   
>   
>   
> - 
> - 
> - 
>   
>
>   
>
>/>
>   
>   
>   
> - 
> - 
> - 
>type="s:boolean" />
>   
>   
>   
> - 
> - 
> - 
>   
>
>   
>
>   
>   
>   
> - 
> - 
> - 
>type="s:string" />
>   
>   
>   
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
>   
>   
> - 
> - 
>   http://schemas.xmlsoap.org/wsdl/";>Accepts
> a username and password combination and validates against Active Directory.
> If the username and password combination is correct the return value will be
> true for an account that is currently active, and false for an account that
> is inactive. An incorrect username/password combination will result in an
> exception being raised and returned.
>   
>   
>   
> - 
>   http://schemas.xmlsoap.org/wsdl/";>Accepts
> a username and password combination and validates against Active Directory.
> Also accepts an application name as an argument. For a valid
> username/password combination the function will return true/false depending
> on whether the user is a member of the requested application's authorised
> user's group or not. An incorrect username/password combination will result
> in an exception being raised and returned.
>   
>   
>   
> - 
>   http://schemas.xmlsoap.org/wsdl/";>Accepts
> a username and password combination and validates against Active Directory.
> Also accepts an Active Directory group name as an argument. For a valid
> username/password combination the function will return true/false depending
> on whether the user is a member of the requested group or not. An incorrect
> username/password combination will result in an exception being raised and
> returned.
>   
>   
>   
> - 
>   http://schemas.xmlsoap.org/wsdl/";>Accepts
> a username and password combination and validates against Active Directory.
> If the username and password combination is correct, a list of groups the
> user belongs to is returned in a string. The returned groups are delimited
> by the '|' symbol. Eg: 'MS Users|Test_G|BHQ|D-H|'. An incorrect
> username/password combination will result in an exception being raised and
> returned.
>   
>   
>   
>   
> -  type="tns:LDAPAuthenticationSoap">
>   http://schemas.xmlsoap.org/soap/http"; />
> - 
>   http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthenticated";
> style="document" />
> - 
>   
>   
> - 
>   
>   
>   
> - 
>   http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsApplicationUser";
> style="document" />
> - 
>   
>   
> - 
>   
>   
>   
> - 
>   http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsMember";
> style="document" />
> - 
>   
>   
> - 
>   
>   
>   
> - 
>   http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/GetGroups";
> style="document" />
> - 
>   
>   
> - 
>   
>   
>   
>   
> -  type="tns:LDAPAuthenticationSoap">
>   http://schemas.xmlsoap.org/soap/http"; />
> - 
>   http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthenticated";
> style="d

RE: [cfaussie] Web Service strangeness

2010-06-14 Thread Steve Onnis
what happens if you call it like
 
 
ws = createObject("WEBSERVICE",
"http://web1.ad.xyz.com.au:6026/LDAPAuthentication.asmx?wsdl";);
 
Does it still error? Just seeing if it errors without calling a method on it
and just initialising it


  _  

From: Brett Payne-Rhodes [mailto:bret...@gmail.com] 
Sent: Tuesday, 15 June 2010 1:00 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Web Service strangeness


Hi Steve,

I've tried all kinds of variations on the code to invoke the web service,
all of which have generated the same error, but the code I am using now is:

http://web1.ad.xyz.com.au:6026/LDAPAuthentication.asmx?wsdl"; 
  method="IsAuthenticated" 
  returnVariable="ws" >





The wsdl for the service is:

   
- http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
xmlns:tns="http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
targetNamespace="http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
  http://schemas.xmlsoap.org/wsdl/";>Provides
various methods for verifying and querying Active Directory
information. 
- 
- http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,";>
- 
- 
- 
   
   
  
  
  
- 
- 
- 
   
  
  
  
- 
- 
- 
   
   
   
  
  
  
- 
- 
- 
   
  
  
  
- 
- 
- 
   
   
  

  
  
  
- 
- 
- 
   
  
  
  
- 
- 
- 
   
   
  
  
  
- 
- 
- 
   
  
  
  
  
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
   
  
- 
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
If the username and password combination is correct the return value will be
true for an account that is currently active, and false for an account that
is inactive. An incorrect username/password combination will result in an
exception being raised and returned. 
   
   
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
Also accepts an application name as an argument. For a valid
username/password combination the function will return true/false depending
on whether the user is a member of the requested application's authorised
user's group or not. An incorrect username/password combination will result
in an exception being raised and returned. 
   
   
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
Also accepts an Active Directory group name as an argument. For a valid
username/password combination the function will return true/false depending
on whether the user is a member of the requested group or not. An incorrect
username/password combination will result in an exception being raised and
returned. 
   
   
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
If the username and password combination is correct, a list of groups the
user belongs to is returned in a string. The returned groups are delimited
by the '|' symbol. Eg: 'MS Users|Test_G|BHQ|D-H|'. An incorrect
username/password combination will result in an exception being raised and
returned. 
   
   
  
  
- 
  http://schemas.xmlsoap.org/soap/http"; /> 
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthent
icated" style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsApplica
tionUser" style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsMember";
style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/GetGroups
" style="document" /> 
- 
   
  
- 
   
  
  
  
- 
  http://schemas.xmlsoap.org/soap/http"; /> 
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthent
icated" style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsApplica
tionUser" style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsMember";
style="document" /> 
- 
   
  
- 
   
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/GetGroups
" style="document" /> 
- 
   
  
- 
   
  
  
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Provides
various methods for verifying and querying Active Directory
information. 
- 
  http://web1.ad.xyz.com.au:7013/LDAPAuthentication.asmx"; /> 
  
- 
  http://web1.ad.xyz.com.au:7013/LDAPAuthentication.asmx"; /> 
  
  
  


(part of) The error I am getting is:

Found 1 syntax error in
"C:/ColdFusion9/stubs/WS1/au/com/xyz/ad/intranet/LDAPAuthentication,/LDA

Re: [cfaussie] Web Service strangeness

2010-06-14 Thread Brett Payne-Rhodes
Hi Steve,

I've tried all kinds of variations on the code to invoke the web service,
all of which have generated the same error, but the code I am using now is:

http://web1.ad.xyz.com.au:6026/LDAPAuthentication.asmx?wsdl";
  method="IsAuthenticated"
  returnVariable="ws" >





The wsdl for the service is:

  
- http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/"; xmlns:mime="
http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:tns="
http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,"; xmlns:s="
http://www.w3.org/2001/XMLSchema"; xmlns:soap12="
http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:http="
http://schemas.xmlsoap.org/wsdl/http/"; targetNamespace="
http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,"; xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/";>
  http://schemas.xmlsoap.org/wsdl/";>Provides
various methods for verifying and querying Active Directory
information.
- 
- http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,";>
- 
- 
- 
  
  
  
  
  
- 
- 
- 
  
  
  
  
- 
- 
- 
  
  
  
  
  
  
- 
- 
- 
  
  
  
  
- 
- 
- 
  
  
  

  
  
  
- 
- 
- 
  
  
  
  
- 
- 
- 
  
  
  
  
  
- 
- 
- 
  
  
  
  
  
  
- 
  
  
- 
  
  
- 
  
  
- 
  
  
- 
  
  
- 
  
  
- 
  
  
- 
  
  
- 
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
If the username and password combination is correct the return value will be
true for an account that is currently active, and false for an account that
is inactive. An incorrect username/password combination will result in an
exception being raised and returned.
  
  
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
Also accepts an application name as an argument. For a valid
username/password combination the function will return true/false depending
on whether the user is a member of the requested application's authorised
user's group or not. An incorrect username/password combination will result
in an exception being raised and returned.
  
  
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
Also accepts an Active Directory group name as an argument. For a valid
username/password combination the function will return true/false depending
on whether the user is a member of the requested group or not. An incorrect
username/password combination will result in an exception being raised and
returned.
  
  
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Accepts
a username and password combination and validates against Active Directory.
If the username and password combination is correct, a list of groups the
user belongs to is returned in a string. The returned groups are delimited
by the '|' symbol. Eg: 'MS Users|Test_G|BHQ|D-H|'. An incorrect
username/password combination will result in an exception being raised and
returned.
  
  
  
  
- 
  http://schemas.xmlsoap.org/soap/http"; />
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthenticated";
style="document" />
- 
  
  
- 
  
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsApplicationUser";
style="document" />
- 
  
  
- 
  
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsMember";
style="document" />
- 
  
  
- 
  
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/GetGroups";
style="document" />
- 
  
  
- 
  
  
  
  
- 
  http://schemas.xmlsoap.org/soap/http"; />
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthenticated";
style="document" />
- 
  
  
- 
  
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsApplicationUser";
style="document" />
- 
  
  
- 
  
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsMember";
style="document" />
- 
  
  
- 
  
  
  
- 
  http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/GetGroups";
style="document" />
- 
  
  
- 
  
  
  
  
- 
  http://schemas.xmlsoap.org/wsdl/";>Provides
various methods for verifying and querying Active Directory
information.
- 
  http://web1.ad.xyz.com.au:7013/LDAPAuthentication.asmx"; />
  
- 
  http://web1.ad.xyz.com.au:7013/LDAPAuthentication.asmx"; />
  
  
  


(part of) The error I am getting is:

Found 1 syntax error in
"C:/ColdFusion9/stubs/WS1/au/com/xyz/ad/intranet/LDAPAuthentication,/LDAPAuthenticationSoap.java":

 8. package au.com.xyz.ad.intranet.LDAPAuthentication,;
   ^
*** Syntax Error: ; expected instead of this token


SO Now I am wondering about the commas that are appearing in the middle
of the paths...

http://intranet.ad.xyz.com.au:6113/LDAPAuthentication,/IsAuthenticated";
style="document" />

And I am finding commas in the directory names, under
comdfusion9/stubs/WS1/... It se

[cfaussie] Re: CF Query Timeout

2010-06-14 Thread Matthew
@Claude: I know I'm a little late to help but just thought I'd mention
experiences. Once I found the the CFQUERY timeout error was mis-
leading. I had a web-service call prior to a CFQUERY and for some
reason CF was blaming the query. I proved this by pulling the query
out and putting some other action in and it blamed that. All I'm
saying is, look at the code before the query such as you Excel/XML
read. Looks like Steve's extended timeout sort you out anyway.

Cheers
Matthew

On Jun 9, 10:43 pm,  wrote:
> Hi
>
> Is there a way that I have prevent the cfquery from timing out
>
> The sit is running on cf8 server in a shared hosting environment
>
> I am creating a complex excel spreadsheet using 
> that holds the xml for up to 20 different worksheets created on the fly.
>
> Given the volume of records in each worksheet often I generate the error
>
> Error Occurred While Processing Request
>
> The request has exceeded the allowable time limit Tag: CFQUERY
>
> I have tried to specify the timeout value in each query to a large amount of
> time however the timeout error still generates within 1 minute of the page
> starting to process the data.
>
> I have ensured that I am running queries of queries where possible to
> prevent unnecessary queries to the sql database however this seems not to
> have had any effect.
>
> If anyone has some suggestion I would be grateful.
>
> Regards
>
> Claude Raiola (B.Econ Acc; B.Hot. Mngt)
> Samaris Software
> Email:   i...@samaris.net
> Website:  www.SAMARIS.net
> Mobile: 0414 228 948

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] CF Query Timeout

2010-06-14 Thread Joris de Beer
I think cfquery has a timeout attribute too. I mainly use it to stop queries
running to long, but maybe it works the other way too.

On Wed, Jun 9, 2010 at 11:55 PM,  wrote:

>  Thanks Steve, I tried it and it worked a treat
>
>
>
> I pushed search criteria to the max to test it and it took 5 minutes to run
> the process with the resulting multi workbook spreadsheet containing several
> 100 rows of data per workbook, the excel file size ending up being 7 meg
> worked perfectly.
>
> As always we love your work
>
> Regards
>
> Claude Raiola (B.Econ Acc; B.Hot. Mngt)
> Samaris Software
> Email: i...@samaris.net 
> Website: www.SAMARIS.net 
> Mobile: 0414 228 948
>
>
>
> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On
> Behalf Of *Steve Onnis
> *Sent:* Wednesday, 9 June 2010 11:18 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* RE: [cfaussie] CF Query Timeout
>
>
>
> yes you can. i do it all the time for long request pages.  requesttimeout
> supersedes the cfadmin values
>
>
>
> as per the cfdocs for the description of requesttimeout
>
>
>
> integer; number of seconds. Time limit, after which ColdFusion processes
> the page as an unresponsive thread. Overrides the time-out set in the
> ColdFusion Administrator.
>
>
>  --
>
> *From:* AJ Mercer [mailto:ajmer...@gmail.com]
> *Sent:* Wednesday, 9 June 2010 11:07 PM
> *To:* cfaussie@googlegroups.com
> *Subject:* Re: [cfaussie] CF Query Timeout
>
> you can put a big number in for requesttimeout,
> but you will not be able to exceed the limit set in the CF administrator
>
> you may want to check with them to see what it is set at
>
> On 9 June 2010 21:00, Steve Onnis  wrote:
>
> try putting a cfsetting at the top of the page
>
>
>
> 
>
>
>  --
>
> *From:* rai...@ozemail.com.au [mailto:rai...@ozemail.com.au]
> *Sent:* Wednesday, 9 June 2010 10:44 PM
> *To:* cfaussie@googlegroups.com; coldfusion-ho...@yahoogroups.com
> *Subject:* [cfaussie] CF Query Timeout
>
> Hi
>
>
>
> Is there a way that I have prevent the cfquery from timing out
>
>
>
> The sit is running on cf8 server in a shared hosting environment
>
>
>
> I am creating a complex excel spreadsheet using http://www.TrackingCentral.com.au>
> Mobile: 0414 228 948
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
>
>
>
> --
>
> AJ Mercer
> http://webonix.net
> http://twitter.com/webonix
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to cfaus...@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.