Skip to main content
Inspiring
July 9, 2009
Question

Consuming wsdl, PLEASE HELP!!!

  • July 9, 2009
  • 1 reply
  • 5656 views

I'm on a new project and this is the first time I'm going to work with web services using wsdl. I read some tutorials from the net and books today but still don't get the point especially what next after using cfinvoke.

I used cfinvoke as suggested by the adobe live doc, tutorial and get the returnvariable, dumped this variable and I can see a structure in red color with class name and many methods.

my question is, what next?

I can't find any article that help me describe the next step.

How am I supposed to get the data or the xml file (?), sorry I'm very new with web service.

This topic has been closed for replies.

1 reply

Inspiring
July 10, 2009

I guess consuming wsdl is not the right term since I already got the object. The better term may be is how to view or get data out from the object.

Inspiring
July 10, 2009

Can you attach the XML (or a screen shot) that's produced when you dump the object? It'll probably be the easiest way for someone to help direct you in extracting nodes and values from XML objects!

Inspiring
July 13, 2009

By using getAllColumns function I thought would be able to extract values of first_name, last_name, etc., such as those shown on the wsdl? am I wrong to make this assumption?

I'm sorry but this is the first time I'm working with web service, it's a new thing for me.

Have done a lot of reading since last week but have not been able to put the pieces together.

My original understanding is, I need to get a data from the other site so I can use that data for my site. My idea of getting the data is like what described in this link: http://articles.techrepublic.com.com/5100-10878_11-5067756.html


BYJ_wntrsnt wrote:

By using getAllColumns function I thought would be able to extract values of first_name, last_name, etc., such as those shown on the wsdl? am I wrong to make this assumption?

I'm sorry but this is the first time I'm working with web service, it's a new thing for me.

Have done a lot of reading since last week but have not been able to put the pieces together.

My original understanding is, I need to get a data from the other site so I can use that data for my site. My idea of getting the data is like what described in this link: http://articles.techrepublic.com.com/5100-10878_11-5067756.html

You will use the getAllColumns function to get the data you want.  Be aware that the getAllColumns function returns an instance of the AllColumnResults object.  The AllColumnResults object has getColumn, getColumn_Info, etc. get methods for each property of the AllColumnResults object.  This is analogous to the "results.getBookData().getTitle()" call in the tech republic article you refer to.  If you are looking for values of first_name, last_name, etc. perhaps you need to invoke a different method of the web service.  Posting the WSDL would be helpful.