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

RpcLiteralResponseMessageBinder #114

Open
troncar opened this issue Aug 4, 2016 · 0 comments
Open

RpcLiteralResponseMessageBinder #114

troncar opened this issue Aug 4, 2016 · 0 comments

Comments

@troncar
Copy link

troncar commented Aug 4, 2016

Im new in symfony and soap, I have a problem with complextype, the service returns this:
spl_object_hash() expects parameter 1 to be object, null given'
ServiceBinding\RpcLiteralResponseMessageBinder.php', '75', array('phpType' => 'AppBundle\Entity\Cancelar', 'message' => null))

class Cancelar{

/**
 * @var float[];
 * @Soap\ComplexType("float[]",nillable=true)
 */
public $limiteDescuento;

 /**
 * @var string[]
 * @Soap\ComplexType("string[]",nillable=true)
 */
public $status;

public function getLimiteDescuento(){
return $this->limiteDescuento;
}

public function setLimiteDescuento($limite_descuento){
$this->limiteDescuento = $limite_descuento;
}

public function getStatus(){
return $this->status;
}

public function setStatus($status){
$this->status = $status;
}

}

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

No branches or pull requests

1 participant