Yii Framework Forum: Problem With Web Service - Yii Framework Forum

Jump to content

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

Problem With Web Service Rate Topic: -----

#1 User is offline   sri 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 29-March 13

Posted 29 March 2013 - 12:53 AM

I need to create a soap web service but i'm have a problem where do i need to create a new controller and where to place it. If i place it in the controllers folder i.e. in the protected folder i get an error saying that "you have no permission to access".

#2 User is offline   Abhishek Shah 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 91
  • Joined: 20-July 12
  • Location:New Jersey,USA

Posted 29 March 2013 - 04:30 AM

Exactly what you are you trying to do?
If you are making new action,add it in accessRules.
Make comments @soap,& make public in model ,which variables you are accessing.
Feel free to ask for help,
Yii Basic Gii With Export Pdf Excel

#3 User is offline   Maciej Li┼╝ewski 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 862
  • Joined: 02-July 10
  • Location:Central Poland

Posted 29 March 2013 - 10:14 AM

Start with reading this: http://www.yiiframew...pics.webservice
controllers you usually create in "controllers" directory, check access filter rules and file permissions...
also be aware that Yii webservice implementation is using only RPC encoding, which is rather old and not widely supported. See this https://github.com/y...t/yii/issues/94
(there is some movement to change that and have document/literal encoding: https://github.com/n...f241ede6b9b5705)
you can search forum for workarounds (for example: using WSDL generator from Zend Framework)

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