I am having issues with the Session.Login method. I have the CFCs in a folder and have the CFObject pointing to the correct location. I have put my information into the the Session.Login method but, upon submitting the method it throws an error:
Detail
Either there are no methods with the specified method name and argument types, or the login method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
Message
The login method was not found.
I tried <cfset session = CreateObject( 'component', '_Com.Session' ).login(ACCOUNT#, "PW", "http://server.ibillingclient.org/ibilling/xmlhttps")>
but, only received a different error with no details:
Message
ibilling.client.Session
Any help would be greatly appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Use a different variable name, I know we used session in sample code, we did it for consistency with other languages and I think it creates problems in some versions of CF. Use ses or whatever other name.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I got past the first issue but am now on to another issue.
The setCode method was not found.
Either there are no methods with the specified method name and argument types, or the setCode method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
The error occurred in C:\Sites\chrrch.com\_com\ClientObject.cfc: line 16
I am clueless as to what I am doing wrong now. I used the sample code and I think I need guidance. Email: iBilling@slamkajs.otherinbox.com
If an email communication would be easier that works, I can also work over the phone. I am just lost as to what I could be doing wrong.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having issues with the Session.Login method. I have the CFCs in a folder and have the CFObject pointing to the correct location. I have put my information into the the Session.Login method but, upon submitting the method it throws an error:
Detail
Either there are no methods with the specified method name and argument types, or the login method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
Message
The login method was not found.
I tried <cfset session = CreateObject( 'component', '_Com.Session' ).login(ACCOUNT#, "PW", "http://server.ibillingclient.org/ibilling/xmlhttps")>
but, only received a different error with no details:
Message
ibilling.client.Session
Any help would be greatly appreciated.
Could you post your original code?
What merchant account do you use for tests?
<cfset session.login(2001, "PW", "http://server.ibillingclient.org/ibilling/xmlhttps")>
Is this what you are asking for? I have a merchant account and merchant account code.
Use a different variable name, I know we used session in sample code, we did it for consistency with other languages and I think it creates problems in some versions of CF. Use ses or whatever other name.
I got past the first issue but am now on to another issue.
The setCode method was not found.
Either there are no methods with the specified method name and argument types, or the setCode method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
The error occurred in C:\Sites\chrrch.com\_com\ClientObject.cfc: line 16
I am clueless as to what I am doing wrong now. I used the sample code and I think I need guidance. Email: iBilling@slamkajs.otherinbox.com
If an email communication would be easier that works, I can also work over the phone. I am just lost as to what I could be doing wrong.