Skip to main content
Participant
April 15, 2008
Question

Web Services without WSDL

  • April 15, 2008
  • 4 replies
  • 925 views
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
This topic has been closed for replies.

4 replies

logic8Author
Participant
April 15, 2008
Thanks so much for your quick responses!! Using that CFHTTP example - I am now getting the expected response.

Cheers.
Inspiring
April 15, 2008
logic8Author
Participant
April 15, 2008

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
Inspiring
April 15, 2008
logic8,

Please post your code which invokes the web service.
Inspiring
April 15, 2008
Hi,

What happens when you suffix a '?wsdl' term with your webservice url?...