|
Prev: binary error / cfindex
Next: Old Pages Giving Errors
From: logic8 on 15 Apr 2008 08:35 I am trying to access a SOAP Web Service. I'm using cfinvoke but the service doesn't provide WSDL. Is there any way in ColdFusion to access a web service without WSDL ? Many thanks, Simon
From: Daverms on 15 Apr 2008 08:38 Hi, What happens when you suffix a '?wsdl' term with your webservice url?...
From: logic8 on 15 Apr 2008 09:01 Whether I type http://example.com/core.php or http://example.com/core.php?wsdl - I get the following: <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> ? <SOAP-ENV:Body> ? <SOAP-ENV:Fault> <faultcode xsi:type="xsd:string">Client</faultcode> <faultactor xsi:type="xsd:string"/> <faultstring xsi:type="xsd:string">method '' not defined in service</faultstring> <detail xsi:type="xsd:string"/> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> If I try using cfinvoke I get a "Unable to read WSDL from URL" 500 internal server error. BTW this is my first day learn CF ;) Thanks
From: "JR "Bob" Dobbs" on 15 Apr 2008 09:02 You might try using CFHTTP. http://www.jamesnetherton.com/blog/index.cfm/2007/1/14/Invoking-a-webservice-using-CFHTTP
From: "JR "Bob" Dobbs" on 15 Apr 2008 09:03
logic8, Please post your code which invokes the web service. |