Yii Framework Forum: More Standardized Url Links For Soap Webservices - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

More Standardized Url Links For Soap Webservices Just recommendation:-)

#1 User is offline   lubosdz 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 112
  • Joined: 25-July 10
  • Location:Slovakia, Bratislava

Posted 25 June 2013 - 03:18 PM

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
Yii extension: Captcha Extended

Greatest discoveries in 22nd century will be about the gravitation. | http://www.synet.sk | http://ipdf.sk
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,131
  • Joined: 17-January 09
  • Location:Russia

Posted 26 June 2013 - 04:32 AM

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.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#3 User is offline   yJeroen 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 94
  • Joined: 06-September 11
  • Location:The Netherlands

Posted 26 June 2013 - 12:55 PM

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.co...ons-method.html

This post has been edited by yJeroen: 26 June 2013 - 01:02 PM

0

#4 User is offline   Ben 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 266
  • Joined: 15-March 09

Posted 26 June 2013 - 02:03 PM

Best to collect ideas, requirements, etc. here: Provide web-api support
Don't like ads in my sig...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users