Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
ClintMers #1
Error invoking web service:ServiceStubDiscoveryException
I'm trying to use CFINVOKE to invoke a web service with this code:
<cfset serviceURL =
"https://swww.agencyworks.com/wsdls/highland/production/StatusSessionService.wsd
l">
<cffile action="read" file="#ExpandPath('SampleAppSearch.xml')#"
variable="xmlDoc">
<cfinvoke webservice="#serviceURL#"
method="TXLifeOperation"
returnvariable="result">
<cfinvokeargument name="TXLifeArg" value="#xmlDoc#">
</cfinvoke>
When I do this, I get the following error:
[]
coldfusion.xml.rpc.XmlRpcServiceImpl$ServiceStubDi scoveryException: Could not
locate an API in the generated service class that returned the right interface
for web service invocation.
The error occurred in
C:\employee_webreports_2_0\webroot\emwebreports\_t est\aw_test2.cfm: line 11
9 : method="TXLifeOperation"
10 : returnvariable="result">
11 : <cfinvokeargument name="TXLifeArg" value="#xmlDoc#">
12 : </cfinvoke>
13 :
I don't have any idea what that error message is complaining about. Can anyone
help?
Here is a link to the wdsl:
[url]https://swww.agencyworks.com/wsdls/highland/production/StatusSessionService.wsdl[/url]
ClintMers Guest
-
Error Invoking Web Service
Hopefully someone has seen this and has an answer. I am trying to invoke a web service which takes a string of XML as a parameter. I have attached... -
dynamically invoking web service methods, how?
Is the only known way to do this is by using... -
Invoking Web Service without creating proxy
I'm trying to invoke a web service programmatically withoutcreating a proxy (e.g. extending SoapHttpClientProtocol). (Theproblem is that at... -
Exception when invoking web service from asp .net form
When creating the instance to invoke a web service method, I always get the exception shown at the bottom. The .dll file changes randomly, although... -
404 error invoking web service
Hi, I'm having a problem with a web service that I wrote. I first wrote & tested the web service on my local (XP) machine. I used visual studio to... -
ClintMers #2
Re: Error invoking web service:ServiceStubDiscoveryException
Ok, after digging around online I figured out this was due to there being two
service descriptions in that wsdl. I saved the wsdl locally and clipped the
non-soap service and pointed my CFINVOKE at the local copy and it worked.
Thank God for [url]http://www.codenotes.com/cnp/baseAction.aspx?cnp=CG000003[/url] which
covered consuming MapPoint web services with CFMX. Although I had no use for
the specific discussion of writing Java classes to use the MapPoint service,
they explained the issue with CFMX not being able to specify which service in a
multi-service wsdl to use. They also explain the issue with multi-port
services, although it looks like CFMX7 fixes that with an additional CFINVOKE
argument.
Anyway, thought I would leave my posting here so if anybody has a similar
struggle they might find this and be able to use the info.
ClintMers Guest



Reply With Quote

