Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / April 2006



Tip: Looking for answers? Try searching our database.

ColdFusion WSDL Integration Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jhancik - 27 Apr 2006 18:02 GMT
I am trying to use a thrid-party WSDL system from a CFMX 7.01 installation on
Windows 2003.  A request to a simple (i.e. no parameters) method returns good
data:

CFML:
<cfinvoke
webservice="http://prod3.ogangi.com/contentManagerWS/services/Version?wsdl"
method="getVersion" returnvariable="results">
<cfoutput>#results#</cfoutput>

However, using a more complex method throws an error everytime:

CFML:
<cfinvoke
webservice="http://prod3.ogangi.com/contentManagerWS/services/Categories?wsdl"
method="getCategory" returnvariable="results">
    <cfinvokeargument name="categoryid" value="294"/>
    <cfinvokeargument name="seller" value="jamaica"/>
</cfinvoke>
<cfoutput>#results#</cfoutput>

ERROR MSG (click the link):
http://kryptos.thefactoryi.com/bmobilepulse/error_result.cfm

I checked the WSDL against the following validator and everything seems to be
functioning correctly:
http://www.mgateway.com/wsdlClient.htm
NOTE: Using the getCategory method use "294" for categoryid and "jamaica" for
seller.

Using DreamWeaver, the WSDL service cannot be added to the Components toolbar
(when using CF), but can be added when using any other document type (JSP, ASP
VB, ASP #).

What am I missing?  I'm not an expert w/ WSDL, but after hours of trying other
examples and tutorials I cannot figure out this problem. Any insight or help
will be deeply appreciated!

-jh
t3kn0ph34r - 28 Apr 2006 18:32 GMT
there is a problem with the webservice in the CategoriesService.class. that is
why it wont add in dreamweaver. it tries to validate the wsdl for coldfusion. i
have also had mixed results with using a wsdl file that has multiple methods
with the same name, i.e. the three getCategoryList methods in this wsdl file.
so if you do get it working, you may want to manually edit the wsdl to use only
one method and access the modified wsdl file locally on the cf server.

hth
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.