RE: Problem with using variables scope

2007-10-17 Thread Michael Nguyen
of thing all the time. If this is just 6, id say upgrade. Your right, it shouldn't happen. Regards Dale Fraser http://learncf.com -Original Message- From: Michael Nguyen [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 October 2007 2:25 PM To: CF-Talk Subject: Problem with using variables scope

Problem with using variables scope

2007-10-15 Thread Michael Nguyen
Hi People, I have encountered a very weird error with variables scope. cfset var AnnouncementBean = createObject(component,mypath.announcement).init(argumentcollection=arguments)/ and cfset var AnnouncementType =

RE: Web service error, pls help

2006-11-30 Thread Michael Nguyen
try to consume is: http://www.tracking.edi.com.au/webservice/shipmentservice.asmx?wsdl If you need, I can send you a pdf about this ws. Please, let me know if you want to know anything more... Thank you very much Michael Nguyen -Original Message- From: Robertson-Ravo, Neil (RX) [mailto

RE: Web service error, pls help

2006-11-28 Thread Michael Nguyen
I'm testing in my laptop with CFMX 7 Developer Version, Java Version 1.4.2 Besides, I found the article might related to it but it doesn't fix my problem yet as I couldn't find two webservices.jar in my machine: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19268 -Original

RE: Web service error, pls help

2006-11-27 Thread Michael Nguyen
$UpstreamMetrics.invokeRunnable(ThreadPool.java:29 5) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone had this kind of error? Any help would be greatly appreciated! -Original Message- From: Michael Nguyen [mailto:[EMAIL PROTECTED] Sent: Monday, 27 November

RE: Web service error, pls help

2006-11-26 Thread Michael Nguyen
I have done some test using WSDL2Java (as Scott and Rob said) and it works fine in java. However, when I called java wrapper class from coldfusion I've got error 500 Null with page title: JRun Servlet Error. I haven't worked it out so far. Does anyone know what problem was? Thanks, Michael

RE: Web service error, pls help

2006-11-24 Thread Michael Nguyen
... Michael Nguyen -Original Message- From: Scott Krebs [mailto:[EMAIL PROTECTED] Sent: Saturday, 25 November 2006 7:32 AM To: CF-Talk Subject: Re: Web service error, pls help Hi Michael, I recently ran into what I believe is the same problem that you are. The problem is that CF is weakly-typed

Web service error, pls help

2006-11-23 Thread Michael Nguyen
I've got the following error: Attempt to instantiate an abstract class AutoTelephoneNumber. . It means to me that CF tried to create an object from this class, however there is a C# utility demonstrates how to consume the ws works fine. I have also downloaded WTP (Web tool platform for eclipse)

web service error..

2006-11-22 Thread Michael Nguyen
, http://www.edi.com.au/EnterpriseService/;, Password, mike); /cfscript There was a demonstration utility that consumes this webservice written in cs working fine with this ws. Could anyone give me an idea what the problem is? Thanks Michael Nguyen

RE: Using CFHTTP to login

2006-11-05 Thread Michael Nguyen
No, you must check with the original login form on the .NET application. Here is how I check with the original login form on the .Net app. 1. Delete all cookies 2. Go to login form in .Net. 3. View cookie: There is a cookie ASP.NET_SessionId=4mnaix453yw12h55ox3myn45 4. DELETE that cookie 5.

RE: Using CFHTTP to login

2006-11-05 Thread Michael Nguyen
4. DELETE that cookie 5. Click Submit So you deleted the cookie before calling the login action? Then did the login succeed? Sorry that I didn't tell you before, it succeeds. The same as I did with the login form in CF. We didn't have any cookie from ..net yet when we go to login form in CF

RE: Using CFHTTP to login

2006-11-05 Thread Michael Nguyen
Yep, I see your point, you reminded me about it before. In the .Net, the login.aspx is the login form as well as login action as it submits to itself. The reason why I did not explain it that clearly as I didn't think it matter (?) and we have a lot messages just discussed on what is what and

RE: Using CFHTTP to login

2006-11-04 Thread Michael Nguyen
Thx Claude, here is what I have been trying 1- Delete all Fire fox cookies 2- Go to http://localhost/SingleLogin/login.cfm (which is the login form) 3- View Cookies: There is a cookie has been written by CF with CFID, CFTOKEN, JSESSIONID. Note: No cookie from ASP.net 4- Click Submit Result: Is

Re: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
The form posts to the login.aspx page, which tells me he is posting to the (same) form page, which is not impossible to do. Indeed, but this does not even has to be the case here. Michael never said that the sample code for the form he gave was extract from the login.aspx page. As you said, the

Re: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Hi everyone again, Sorry for getting back to you late and for the not very clear question. I think that Claude understands me right. The login.aspx is NOT form page but action page. The html form that I wrote was NOT extract from login.aspx Both html form and cfhttp is to submit to action page

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
a redirect to a different page? If so your CFHTTP call should include REDIRECT=yes or it will not follow the header instruction. -Mark -Original Message- From: Michael Nguyen [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 7:00 AM To: CF-Talk Subject: Re: Using CFHTTP to login Hi

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Claude, if I disable cookie then I couldn't login form the login form that works if cookie enabled. I think that was the point. When I submit the form (that works) if cookie turned off then it show me exactly as when I cfhttp. How can we get around of it? What I have tried is do cfhttp twice. The

Re: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Claude, if I disable cookie then I couldn't login form the login form that works if cookie enabled. I think that was the point. When I submit the form (that works) if cookie turned off then it show me exactly as when I cfhttp. How can we get around of it? What I have tried is do cfhttp twice. The

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Are you trying to let your CF app interact with the .NET app, or are you trying to log your user into .NET so that later, when that user visits the .NET app directly, that user is logged in? The latter was my task ~|

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
The way I did is use cfhttpparam type=cookie to send cookie information back to the asp.net but it doesn't seem to work. -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Saturday, 4 November 2006 2:25 AM To: CF-Talk Subject: RE: Using CFHTTP to login Michael,

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Thanks guys for all your messages. Sorry that I couldn't get back to you immediately as I got your message at 3am (Australian time) ;) Jason wrote: What I understand is that you have an aspx page that you can log into by making a direct http call from the client browser, to the aspx page.

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Thanks Claude, you always pointed out the very good point. I very appreciated your messages and suggestion. I've made a little bit of change to make sure that the cookie I got is correct from the form page but no luck. One thing I would like to mention here is the html form that works (says

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
Hi all, One thing that I've noticed and think that it may be or may not be related to the problem: After normal successful logged in into asp.net using html form, the cookie has one more name-value: ..ASPXAUTH=9857AD003ACCC01 which we didn't have before logged in.

RE: Using CFHTTP to login

2006-11-03 Thread Michael Nguyen
If the login action has been especially designed to block any robot intrusion, you're not finished with your project. I don't think so Claude. The reason is the html form (login1.cfm) is working well and I try to simulate the login process exactly as we login as that html form. One thing

Using CFHTTP to login

2006-11-02 Thread Michael Nguyen
Hi everyone, I am still struggling with using cfhttp to log in into an ASP.NET app. The weird thing is when I used the normal html form (see bellow) then I could log in successfully: form method=post action=http://www.mycompany.com/Login.aspx; name=form1 input name=CompanyCode

Using cfhttp to login

2006-11-02 Thread Michael Nguyen
Hi everyone, I am still struggling with using cfhttp to log in into an ASP.NET app. The weird thing is when I used the normal html form (see bellow) then I could log in successfully: form method=post action=http://www.mycompany.com/Login.aspx; name=form1 input name=CompanyCode type=hidden

Problem with using cfhttp to login to asp .net

2006-11-01 Thread Michael Nguyen
I'm having a problem with login to a asp.net. Firstly, I use cfhttp to make a request to the login page to get cookie info (ASP.NET_SessionId) Secondly, using cfhttp to login (passing ASP.NET_SessionId in cfhttpparam type=cookie and my login details) Finally, I use cfhttp to request the