Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
groovepapa #1
the saxexception on cfinvoke wsdl
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 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.
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 documentation 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$ParserErrorHandler. fatalError(XMLUtils.java:624)
at org.apache.crimson.parser.Parser2.fatal(Parser2.ja va:3185)
at org.apache.crimson.parser.Parser2.fatal(Parser2.ja va:3176)
at org.apache.crimson.parser.Parser2.whitespace(Parse r2.java:569)
at
org.apache.crimson.parser.Parser2.maybeExternalID( Parser2.java:2728)
at
org.apache.crimson.parser.Parser2.maybeDoctypeDecl (Parser2.java:1129)
at org.apache.crimson.parser.Parser2.parseInternal(Pa rser2.java:489)
at org.apache.crimson.parser.Parser2.parse(Parser2.ja va:305)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLR eaderImpl.java:442)
at
org.apache.crimson.jaxp.DocumentBuilderImpl.parse( DocumentBuilderImpl.java:185)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtil s.java:322)
at org.apache.axis.utils.XMLUtils.newDocument(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)
groovepapa Guest
-
Unable to load WSDL. If currently online, please verifythe URI and/or format of the WSDL
Hello, I'm using Flex 2.0 Beta 3 with Flash Player 9. http://mywsdlurl)"] at">http://mywsdlurl)"</a> mx.rpc.soap::WSDLParser/::dispatchFault()... -
WSDL error on Flex app running on JBoss using WSDL to Weblogic
Hello, Not sure if my last post made it so sorry if this ends up being a duplicate post. I have a Flex 1.5 app running on JBoss 4.0.2 which uses... -
cfinvoke on wsdl, saxexception
here is the WSDL : <?xml version='1.0' encoding='UTF-8'?> <wsdl:definitions name='RmOutXMLInvoice_Williams_Control'... -
wsdl.exe fails with WebMethods generated wsdl file
Using WebMethods, Inc Developer tool to create a wsdl for a flow service. Try to use .NET wsdl utility to create a C# proxy, but get the errors... -
WSDL file produces useless class when imported with WSDL.exe
I am having a problem with a WSDL file supplied by a client. When WSDL.exe is used, the WSDL file (shown later) produces the following output class....



Reply With Quote

