I recently upgraded to CF8 and Iâm not able to consume webservices from my
dev edition on my personal PC.
I have tried making my own simple test webservice, but Iâm not able to
consume them using CF. (Iâm able to consume the ws using .Net or Java, but
not from CF itself).
I always get the following error:
org.apache.axis.ConfigurationException: org.xml.sax.SAXException: Fatal Error:
URI=null Line=40: The string "--" is not permitted within comments.
This is the code Iâm using:
<cfscript>
wsargs = structnew();
wsargs.proxyServer = "proxy";
wsargs.proxyPort = "8080";
ws =
createObject("webservice","http://ws.fraudlabs.com/zipcodeworldUS_webservice.asmx?wsdl",wsargs);
</cfscript>
I know that the WSDL is ok since the WS works in .Net and Java. I also know
that I can retrieve the wsdl using
<cfhttp method="get"
url="http://ws.fraudlabs.com/zipcodeworldUS_webservice.asmx?wsdl"
result="myRes" proxyserver="proxy" proxyport="8080"/>
So why do I get the âThe string "--" is not permitted within comments.â
error?
I know that
1. I get the same error for all ws I try to consume from CF, even simple
test ws made using CF.
2. The ws work, because I can consume them using .Net and Java.
3. CFINVOKE gives me the same error
Thanks,
Olav, Oslo, Norway
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337121
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm