this seems to be a pretty common error and Macromedia has yet to give a
consistent answer...

I'm trying to use cfinvoke to use a web service, and I get this error.
I know CF can reach the WSDL, because it gives a connection error if I
put a typo in the URL. I also know that the WSDL is correct, because
I've run it thru a validator, and I've also successfully consumed this
service from PHP via NuSOAP.

so, Macromedia, what is causing this very common error?

-L

Could not generate stub objects for web service invocation.
Name: [url]http://ws.strikeiron.com/WebServices/taxdata.asmx?WSDL[/url]. WSDL:
[url]http://ws.strikeiron.com/WebServices/taxdata.asmx?WSDL[/url].
org.xml.sax.SAXException: Fatal Error: URI=null Line=1: Missing
whitespace before SYSTEM literal URI. It is recommended that you use a
web browser to retrieve and examine the requested WSDL doent for
correctness. If the requested WSDL doent can't be retrieved or it is
dynamically generated, it is likely that the target web service has
programming errors.

The error occurred in
E:\Inetpub\wwwroot\developers\lukecrouch\web_servi ces\wstest.cfm: line
20

18 :
webservice="http://ws.strikeiron.com/WebServices/taxdata.asmx?WSDL"
19 : method="GetTaxRateUS"
20 : license_key = "#my_key#"
21 : zip_code="#zipCode#"
22 : returnvariable ="taxRateServiceResponse"



--------------------------------------------------------------------------------

Please try the following:
Check the ColdFusion doentation to verify that you are using the
correct syntax.
Search the Knowledge Base to find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.1.4322)
Remote Address 10.0.0.66
Referrer [url]http://webdev1/developers/lukecrouch/web_services/wstest.cfm[/url]

Date/Time 17-Jun-05 04:12 PM

Stack Trace (click to expand)
at
cfwstest2ecfm290198469.runPage(E:\Inetpub\wwwroot\ developers\lukecrouch\web_services\wstest.cfm:20)
at
cfwstest2ecfm290198469.runPage(E:\Inetpub\wwwroot\ developers\lukecrouch\web_services\wstest.cfm:20)



org.xml.sax.SAXException: Fatal Error: URI=null Line=1: Missing
whitespace before SYSTEM literal URI.
at
org.apache.axis.utils.XMLUtils$PrErrorHandler. fatalError(XMLUtils.java:624)
at org.apache.crimson.pr.Pr2.fatal(Pr2.ja va:3185)
at org.apache.crimson.pr.Pr2.fatal(Pr2.ja va:3176)
at org.apache.crimson.pr.Pr2.whitespace(P r2.java:569)
at
org.apache.crimson.pr.Pr2.maybeExternalID( Pr2.java:2728)
at
org.apache.crimson.pr.Pr2.maybeDoctypeDecl (Pr2.java:1129)
at org.apache.crimson.pr.Pr2.pInternal(Pa rser2.java:489)
at org.apache.crimson.pr.Pr2.p(Pr2.ja va:305)
at
org.apache.crimson.pr.XMLReaderImpl.p(XMLR eaderImpl.java:442)
at
org.apache.crimson.jaxp.DoentBuilderImpl.p( DoentBuilderImpl.java:185)
at org.apache.axis.utils.XMLUtils.newDoent(XMLUtil s.java:322)
at org.apache.axis.utils.XMLUtils.newDoent(XMLUtil s.java:335)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.retrieveWSDL( XmlRpcServiceImpl.java:626)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.access$000(Xm lRpcServiceImpl.java:52)
at
coldfusion.xml.rpc.XmlRpcServiceImpl$1.run(XmlRpcS erviceImpl.java:204)
at java.security.AccessController.doPrivileged(Native Method)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.registerWebSe rvice(XmlRpcServiceImpl.java:196)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService (XmlRpcServiceImpl.java:464)
at
coldfusion.xml.rpc.XmlRpcServiceImpl.getWebService Proxy(XmlRpcServiceImpl.java:408)
at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTa g.java:362)
at
cfwstest2ecfm290198469.runPage(E:\Inetpub\wwwroot\ developers\lukecrouch\web_services\wstest.cfm:20)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147)
at coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357)
at coldfusion.filter.CfincludeFilter.invoke(Cfinclude Filter.java:62)
at
coldfusion.filter.ApplicationFilter.invoke(Applica tionFilter.java:107)
at coldfusion.filter.PathFilter.invoke(PathFilter.jav a:80)
at coldfusion.filter.ExceptionFilter.invoke(Exception Filter.java:47)
at
coldfusion.filter.BrowserDebugFilter.invoke(Browse rDebugFilter.java:52)
at
coldfusion.filter.ClientScopePersistenceFilter.inv oke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilt er.java:35)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilt er.java:43)
at coldfusion.filter.DatasourceFilter.invoke(Datasour ceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at
coldfusion.bootstrap.BootstrapServlet.service(Boot strapServlet.java:89)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker. java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvok erChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequ estDispatcher.java:252)
at
jrun.servlet.ServletEngineService.dispatch(Servlet EngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable( JRunProxyService.java:192)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable(ThreadPool.java:451)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java :66)