An employee
An employee

Reputation: 6298

using SOAP without a wsdl? php5

It appears i dont have a wsdl file but many xsd files. Can i do anything with SOAP or is a wsdl file required?

Upvotes: 0

Views: 2533

Answers (2)

Ian Clelland
Ian Clelland

Reputation: 44192

In general, you can talk SOAP without a WSDL file, or even any xsd files, if you know all of the data types and function endpoints already.

If you have the XSD files, but are missing the WSDL file, you will need to find out the message names, their parameters, return values, and possible exceptions (faults). You will also, most importantly, need to find out the service port (URL) to connect to.

If you have all of that, you should be able to talk SOAP to the web service.

Upvotes: 0

brettkelly
brettkelly

Reputation: 28245

The SoapClient class in PHP5 offers a non-wsdl mode according to this documentation, but I've never used it. It appears to be possible, though.

Upvotes: 1

Related Questions