Re: Accessing a webservice question

2010-10-15 Thread Dave Watts
> I think I figured out setting up the objects correctly.  The next issue that > I'm running into sending the Login request through the > webservice which returns > com.netsuite.webservices.platform.messages_2010_1.SessionResponse.   > Obviously, an object will not > be passed back.  The return

Re: Accessing a webservice question

2010-10-15 Thread Donnie Carvajal
I think I figured out setting up the objects correctly. The next issue that I'm running into sending the Login request through the webservice which returns com.netsuite.webservices.platform.messages_2010_1.SessionResponse. Obviously, an object will not be passed back. The return values is so

Re: Accessing a webservice question

2010-10-15 Thread Donnie Carvajal
Hi Russ, Thanks for the response. The problem that I am running into is that there is a Login() method under the NSWS that accepts a parameter of dataType com.netsuite.webservices.platform.core_2010_1.Passport. There is a class file under the stubs directory for this dataType. Do I need to

Re: Accessing a webservice question

2010-10-15 Thread Russ Michaels
Donne when you call a webservice, Apache Axis creates all the stub files to allow you to interact with with the webservice methods via CF, you do not instantiate those classes, the methods already exists in your nsws. Try downloading SoapUI and using this to create some sample requests to the web

Re: Accessing a webservice question

2010-10-15 Thread Drew Nathanson
Donnie, You need to make sure that the java class is in a directory that CF knows about. Add the path in the CF Administrator (Java/JVM - Classpath). Once you do this (and restart) then you should be able to get to the class without any problems. -Drew Nathanson Technical Synergy, Inc. > Tha

Re: Accessing a webservice question

2010-10-15 Thread Donnie Carvajal
Thanks Scott. I did dump the variable and the functions parameters are looking for things like com.netsuite.webservices.platform.core_2010_1.Passport. When I createObject("java", "com.netsuite.webservices.platform.core_2010_1.Passport"), that's when I get the "class can not be found error".

Re: Accessing a webservice question

2010-10-15 Thread Scott Stewart
Donnie, When you instantiate the webservice ie: https://webservices.netsuite.com/wsdl/v2010_1_0/netsuite.wsdl";)> you should be able to access the methods via the first thing I would do is dump the variable that you used to instantiate, that will show you what's available to you: https://webs

Accessing a webservice question

2010-10-15 Thread Donnie Carvajal
I've successfully created an object using CreateObject("webservice", "https://webservices.netsuite.com/wsdl/v2010_1_0/netsuite.wsdl";) for NetSuite. There are a ton of classes that were created in the Stubs folder. The NetSuite documentation indicates that I need some of these classes to crea

Webservice Question: Switching from CFHTTP to CFINVOKE not working out so well.

2010-09-22 Thread Michael Grant
Up until recently I hit this webservice with a simple CFHTTP and the webservice would return XML. For some reason now when I hit it with CFHTTP I get a "Connection Failure" message in the file content. I've verified that the webservice URL is stil valid and works if I hit with a regular form post.

Re: WebService question

2010-09-21 Thread Dave Watts
> I have a cfc which is used as a SOAP web service. This all works very well. > But my question has to do with the arguments. I > would like to have a argument called "theXMLData" for example ... > > >         > > But I get an error when I try to send straight XML through a web service. I > kno

WebService question

2010-09-20 Thread Tom Jones
Hello, I have a cfc which is used as a SOAP web service. This all works very well. But my question has to do with the arguments. I would like to have a argument called "theXMLData" for example ... But I get an error when I try to send straight XML through a web service. I know I can

RE: Yet Another Webservice Question

2006-10-02 Thread Ian Skinner
> http://www.siteA.com/components/remoteTEST.cfc?wsdl"; >method="getEMPLOYEES" > returnvariable="getSTAFF" > Same error Can you view the wsdl file when you put the webservice URL into a browser? Can you refresh the webservice in the CF administrator on the consuming se

Re: Yet Another Webservice Question - Fixed sorta

2006-10-02 Thread Les Mizzell
This works, after some adjustments (stupid mistakes by myself) http://www.myURL.com/components/myCFC?wsdl"; method="getEMPLOYEES" returnvariable="getSTAFF" > OK, I can get it to work from one host, but when experimenting my moving it to another host, I get the following: c

Re: Yet Another Webservice Question

2006-10-02 Thread Les Mizzell
> Try just putting the wsdl url string into the webservice > parameter. > > http://www.siteA.com/components/remoteTEST.cfc?wsdl"; >method="getEMPLOYEES" > returnvariable="getSTAFF" > Same error ~| Int

RE: Yet Another Webservice Question

2006-10-02 Thread Ian Skinner
http://www.siteA.com/components/remoteTEST.cfc?wsdl"; name="ourSTAFF"> I am not sure, but I do not think you use the webservice form of , when you have saved it to a local variable as you have with the tag. Try just putting the wsdl url string into the webservice parameter. http://www

Yet Another Webservice Question

2006-10-02 Thread Les Mizzell
Trying to get a remote connection set up to a database by using a webservice, but not having much luck yet. Suggestions please! 1. Here's the component on siteA (remoteTEST.cfc): SELECT clientNAME FROM STAFF 2. Here's the test page on siteB: http

Re: Please Help! XML Webservice Question

2004-05-20 Thread Shawn Contreras
Thanks for your assistance but I'm still having the problem.  I tried as you stated below... both with quotes and without.   I also tried the only items I'm trying to retrieve are the "Analyst' which there are only 4 at the end of the dump.  I can retrieve the first 3 but since the last one

Re: Please Help! XML Webservice Question

2004-05-17 Thread Thomas Chiverton
On Friday 14 May 2004 21:57 pm, Shawn Contreras wrote: > HOW do I write code that says: > "If there is no data, skip to the next field and so on" -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wook

Please Help! XML Webservice Question

2004-05-14 Thread Shawn Contreras
Please help!  I am attempting to consume an XML Webservice and having a slight problem. All works well with the code below except, several of the items in the loop are null therefore I get an "Element FIRSTNAME.XMLTEXT is undefined" ERROR. HOW do I write code that says: "If there is no data, s