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'.
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:223454
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54