Skip to main content
Participant
January 24, 2007
Question

Web service Invoke using Coldfusion

  • January 24, 2007
  • 1 reply
  • 477 views
I am using the CFInvoke method for calling a .NET web service.
I am using the following Command for calling the web service.
<cfinvoke
webservice=" http://localhost/CES4WS/Indexprogress.asmx?wsdl"
method = "GetSource"
strServer ="localhost"
strInstance = "default"
strImpersonate ="false"
strImpersonateUserComingFromServer =""
strImpersonateUser =""
strCollection = "demotest1">
</cfinvoke>

however, when I run this, it is giving me the following error:
Name: http://localhost/CES4WS/Indexprogress.asmx?wsdl. WSDL: http://localhost/CES4WS/Indexprogress.asmx?wsdl. org.xml.sax.SAXException: Fatal Error: URI=null Line=1: White spaces are required between publicId and systemId. 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.

I did try to run the web service in the IE directly and it is working fine.
This topic has been closed for replies.

1 reply

Fernis
Inspiring
January 25, 2007
Can you paste us the DTD declaration of the WSDL document? The one that starts: "<!DOCTYPE "....