lubosdz
(Lubosdz)
1
Hi,
current implementation of (soap) web services in Yii1.x uses following URL link formats:
ENDPOINT: http://www.mysite.com/controller/action?ws=1
WSDL: http://www.mysite.com/controller/action
However, following format of URL links is more usual in practice:
ENDPOINT: http://www.mysite.com/controller/action
WSDL: http://www.mysite.com/controller/action?wsdl (or wsdl=1, case insensitive)
( in Yii1.x this change would be applicable to CWebServiceAction::run() )
Cheers
samdark
(Alexander Makarov)
2
We aren’t going to support WSDL in Yii2 core since REST nowadays is much more common. A port of 1.1 can be done in form of extension.
jeroen84
(Jeroendenhaan)
3
samdark, I assume the REST service will have a HTTP OPTIONS call that describes each service and how to interact?
(OPTIONS is basically the ‘wsdl’ of REST)
Edit: very nice blogpost about OPTIONS with restfull services: http://zacstewart.com/2012/04/14/http-options-method.html
Ben
(Benjamin Woester)
4
Best to collect ideas, requirements, etc. here: Provide web-api support