Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do i assign $this->method() ? #29

Open
dzpt opened this issue Mar 30, 2018 · 2 comments
Open

How do i assign $this->method() ? #29

dzpt opened this issue Mar 30, 2018 · 2 comments

Comments

@dzpt
Copy link

dzpt commented Mar 30, 2018

I declared soap_server inside a class method, and i want to bind receiver method to the one inside the class.

class Gateway extends ControllerPublic_Abstract
{
         public function messageReceiver() {
                     $this->abc();
         }
	public function actionSms()
	{
		$server = new soap_server();
		$server->configureWSDL('MOReceiver', 'urn:MOReceiver', 'http://domain.com/gateway/sms');
		// $server->wsdl->schemaTargetNamespace=$ns;
		$server->soap_defencoding = 'UTF-8';
		$server->register(
			'Gateway.messageReceiver',

PointK_ControllerPublic_GateWay.messageReceiver doesn't work

@f3l1x
Copy link
Member

f3l1x commented Apr 16, 2018

Hi, I'm not sure how. Anyone else knows?

@alexmpereira
Copy link

Hello @aaveidt ,
I know it has been a while, but if it still has not resolved it would be interesting to post the complete code to analyze better. With just that snippet of code I did not understand exactly what it was trying to do.

thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants