I went through tons of pains working with .net webservices and some of my info is documented on forta's forum for the wack. This may help you once you start getting data back.
http://forums.forta.com/messages.cfm?threadid=E65F59CA-3048-80A9-EFBA9FCD770B6A98 On 11/7/05, Matthew Small <[EMAIL PROTECTED]> wrote: > > I'm going to take a stab in the dark with this one... > > Is it possible that they have overloaded some of the methods in the .NET > code, which is breaking the WSDL? > > - Matt Small > > > -----Original Message----- > From: Russ [mailto:[EMAIL PROTECTED] > Sent: Monday, November 07, 2005 1:49 PM > To: CF-Talk > Subject: Consuming a .NET webservice from CF > > This is our first time using webservices, and apparently the other > vendor's > first time setting up a webservice. We've been giving a url to their wdsl > and we've been trying to consume the webservice, except we keep getting an > error when trying to contruct the webservice object. We are currently on > CFMX 6.1, but got the same error when testing on CF 7. Here is the code > that crashes. > > > > <cfset WSObj = > createObject("webservice"," > http://206.132.30.245/ngpapi/ApiService.asmx?WSDL > ")> > > > > I get the following error: > > > > > > Could not generate stub objects for web service invocation. > > > > Name: http://206.132.30.245/ngpapi/ApiService.asmx?WSDL. WSDL: > http://206.132.30.245/ngpapi/ApiService.asmx?WSDL. > java.lang.IllegalArgumentException: Duplicate operation with > name=processRequest, found in portType > '{http://tempuri.org/NGPAPIWebService/APIService}APIServiceSoap&apos > ;. > It is recommended that you use a web browser to retrieve and examine the > requested WSDL document for correctness. If the requested WSDL document > can't be retrieved or it is dynamically generated, it is likely that > the target web service has programming errors. > > > > > > Does anyone have any idea on what's going on here? Am I invoking it wrong > somehow, or is the webservice itself actually incorrect? I do notice that > they have overloaded processRequest method several times. Is this not part > of the standard? Is there a WSDL validator somewhere that can help me test > their WSDL? > > > > Russ > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223467 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

